Testcase: test_enter_and_cancel(with touch)

Build #:265:20150722.2:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_enter_and_cancel(with touch)
testsuite
sudoku_app.tests.test_sudoku.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 22 21:01:31 ubuntu-phablet powerd[886]: handle_requestSysState from :1.62 (active) - ACTIVE (1)
Jul 22 21:01:31 ubuntu-phablet powerd[886]: name_watch_add: looking for :1.62
Jul 22 21:01:31 ubuntu-phablet powerd[886]: watching :1.62 to see when it disappears on dbus
Jul 22 21:01:31 ubuntu-phablet powerd[886]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 22 21:01:31 ubuntu-phablet powerd[886]: handle_requestSysState - SUCCESS
Jul 22 21:01:31 ubuntu-phablet powerd[886]: Enqueue state change to ACTIVE
Jul 22 21:01:31 ubuntu-phablet powerd[886]: queue empty && state == current, discarding
Jul 22 21:01:31 ubuntu-phablet powerd[886]: libsuspend: release_wake_lock: powerd_power_request
Jul 22 21:02:01 ubuntu-phablet powerd[886]: handle_clearSysState from :1.62, cookie: cf4c8de4-53a0-418c-9e84-66dd850db87b
Jul 22 21:02:01 ubuntu-phablet powerd[886]: clear_sys_request: active - :1.62
Jul 22 21:02:01 ubuntu-phablet powerd[886]: name_watch_remove: looking for :1.62
Jul 22 21:02:01 ubuntu-phablet powerd[886]: name_watch: ref_count for :1.62 is now 0
Jul 22 21:02:01 ubuntu-phablet powerd[886]: no longer watching :1.62, there are no more requests
Jul 22 21:02:01 ubuntu-phablet powerd[886]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 22 21:02:01 ubuntu-phablet powerd[886]: Enqueue state change to ACTIVE
Jul 22 21:02:01 ubuntu-phablet powerd[886]: queue empty && state == current, discarding
Jul 22 21:02:01 ubuntu-phablet powerd[886]: libsuspend: release_wake_lock: powerd_power_request
Jul 22 21:02:01 ubuntu-phablet dbus[786]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 22 21:02:02 ubuntu-phablet dbus[786]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.sudoku_sudoku_1.1.370): {{{
libust[4030/4033]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4033]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4032]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4032]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1233:17: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1148:38: QML CheckBox: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/components/HighscoresTab.qml:47:9: QML ActionItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/js/localStorage.js:77: Error: no such table: settings Unable to execute statement
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4030: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1695.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
libust[4210/4224]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4210/4224]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4210/4223]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4210/4223]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1233:17: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1148:38: QML CheckBox: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/components/HighscoresTab.qml:47:9: QML ActionItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/js/localStorage.js:77: Error: no such table: settings Unable to execute statement
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4210: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1695.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4210: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
libust[4327/4334]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4327/4334]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1233:17: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1148:38: QML CheckBox: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/components/HighscoresTab.qml:47:9: QML ActionItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/js/localStorage.js:77: Error: no such table: settings Unable to execute statement
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4327: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1695.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4327: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
}}}

test-log: {{{
21:01:30.706 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
21:01:30.707 DEBUG __init__:110 - Backed up database
21:01:30.708 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.sudoku' and URIs ''
21:01:31.825 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.sudoku_sudoku_1.1.370' with URIs '' via upstart-app-launch
21:01:38.027 DEBUG dbus:352 - Selecting objects of type QQuickText with attributes: {'enabled': True}
21:01:38.936 WARNING backends:229 - Your query
'Query(b'/comubuntusudoku/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Tabs/QQuickItem/Tab/Page11/SudokuBlocksGrid[id=3]//QQuickText[enabled=True]')'
returned a lot of data (47 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
21:01:39.980 DEBUG _common:45 - Moving to object's globalRect coordinates.
21:01:39.982 DEBUG _uinput:485 - Tapping at: 446,300
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 108, in test_enter_and_cancel
    self.app.main_view.get_number_dialog()
  File "/home/phablet/autopilot/sudoku_app/__init__.py", line 60, in get_number_dialog
    return self.wait_select_single(objectName='picknumberscreen')
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name '*' and properties {'objectName': 'picknumberscreen'}.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test