Testcase: test_new_game_button(with touch)

Build #:261:20150720: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_new_game_button(with touch)
testsuite
sudoku_app.tests.test_sudoku.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 20 06:05:24 ubuntu-phablet powerd[980]: handle_requestSysState from :1.66 (active) - ACTIVE (1)
Jul 20 06:05:24 ubuntu-phablet powerd[980]: name_watch_add: looking for :1.66
Jul 20 06:05:24 ubuntu-phablet powerd[980]: watching :1.66 to see when it disappears on dbus
Jul 20 06:05:24 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:24 ubuntu-phablet powerd[980]: handle_requestSysState - SUCCESS
Jul 20 06:05:24 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:24 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:24 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:32 ubuntu-phablet powerd[980]: handle_requestSysState from :1.20 (usensord) - ACTIVE (1)
Jul 20 06:05:32 ubuntu-phablet powerd[980]: name_watch_add: looking for :1.20
Jul 20 06:05:32 ubuntu-phablet powerd[980]: watching :1.20 to see when it disappears on dbus
Jul 20 06:05:32 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:32 ubuntu-phablet powerd[980]: handle_requestSysState - SUCCESS
Jul 20 06:05:32 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:32 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:32 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:34 ubuntu-phablet powerd[980]: handle_clearSysState from :1.20, cookie: e58708f3-5808-468b-92ca-51a314f2c902
Jul 20 06:05:34 ubuntu-phablet powerd[980]: clear_sys_request: usensord - :1.20
Jul 20 06:05:34 ubuntu-phablet powerd[980]: name_watch_remove: looking for :1.20
Jul 20 06:05:34 ubuntu-phablet powerd[980]: name_watch: ref_count for :1.20 is now 0
Jul 20 06:05:34 ubuntu-phablet powerd[980]: no longer watching :1.20, there are no more requests
Jul 20 06:05:34 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:34 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:34 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:34 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:35 ubuntu-phablet powerd[980]: handle_requestSysState from :1.20 (usensord) - ACTIVE (1)
Jul 20 06:05:35 ubuntu-phablet powerd[980]: name_watch_add: looking for :1.20
Jul 20 06:05:35 ubuntu-phablet powerd[980]: watching :1.20 to see when it disappears on dbus
Jul 20 06:05:35 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:35 ubuntu-phablet powerd[980]: handle_requestSysState - SUCCESS
Jul 20 06:05:35 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:35 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:35 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:36 ubuntu-phablet powerd[980]: handle_clearSysState from :1.20, cookie: e47d48bd-8e7b-4322-a37c-405a8a34fb16
Jul 20 06:05:36 ubuntu-phablet powerd[980]: clear_sys_request: usensord - :1.20
Jul 20 06:05:36 ubuntu-phablet powerd[980]: name_watch_remove: looking for :1.20
Jul 20 06:05:36 ubuntu-phablet powerd[980]: name_watch: ref_count for :1.20 is now 0
Jul 20 06:05:36 ubuntu-phablet powerd[980]: no longer watching :1.20, there are no more requests
Jul 20 06:05:36 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:36 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:36 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:36 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:38 ubuntu-phablet powerd[980]: handle_requestSysState from :1.20 (usensord) - ACTIVE (1)
Jul 20 06:05:38 ubuntu-phablet powerd[980]: name_watch_add: looking for :1.20
Jul 20 06:05:38 ubuntu-phablet powerd[980]: watching :1.20 to see when it disappears on dbus
Jul 20 06:05:38 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:38 ubuntu-phablet powerd[980]: handle_requestSysState - SUCCESS
Jul 20 06:05:38 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:38 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:38 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:39 ubuntu-phablet powerd[980]: handle_clearSysState from :1.20, cookie: b501574f-4fbf-4b13-b74d-87fb60174273
Jul 20 06:05:39 ubuntu-phablet powerd[980]: clear_sys_request: usensord - :1.20
Jul 20 06:05:39 ubuntu-phablet powerd[980]: name_watch_remove: looking for :1.20
Jul 20 06:05:39 ubuntu-phablet powerd[980]: name_watch: ref_count for :1.20 is now 0
Jul 20 06:05:39 ubuntu-phablet powerd[980]: no longer watching :1.20, there are no more requests
Jul 20 06:05:39 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:39 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:39 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:39 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:51 ubuntu-phablet powerd[980]: handle_clearSysState from :1.66, cookie: 3b9a62df-11e9-4f6d-9c72-ec6a0ae0d6ac
Jul 20 06:05:51 ubuntu-phablet powerd[980]: clear_sys_request: active - :1.66
Jul 20 06:05:51 ubuntu-phablet powerd[980]: name_watch_remove: looking for :1.66
Jul 20 06:05:51 ubuntu-phablet powerd[980]: name_watch: ref_count for :1.66 is now 0
Jul 20 06:05:51 ubuntu-phablet powerd[980]: no longer watching :1.66, there are no more requests
Jul 20 06:05:51 ubuntu-phablet powerd[980]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 20 06:05:51 ubuntu-phablet powerd[980]: Enqueue state change to ACTIVE
Jul 20 06:05:51 ubuntu-phablet powerd[980]: queue empty && state == current, discarding
Jul 20 06:05:51 ubuntu-phablet powerd[980]: libsuspend: release_wake_lock: powerd_power_request
Jul 20 06:05:51 ubuntu-phablet dbus[858]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 20 06:05:52 ubuntu-phablet dbus[858]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.sudoku_sudoku_1.1.370): {{{
libust[4519/4523]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4519/4523]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4519/4522]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4519/4522]: 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 4519: 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 4519: 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 4519: 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 4519: 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 4519: 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 4519: 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 4519: 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 4519: 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[4975/4978]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4975/4978]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4975/4977]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4975/4977]: 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 4975: 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 4975: 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 4975: 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 4975: 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 4975: 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 4975: 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 4975: 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 4975: 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[5857/5866]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[5857/5865]: 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)
[ubuntumirclient QPA] UbuntuWindow::handleSurfaceResize current buffer already has the target size
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 5857: 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 5857: 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 5857: 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 5857: 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 5857: 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 5857: 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 5857: 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 5857: 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: {{{
06:05:23.116 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:05:23.118 DEBUG __init__:110 - Backed up database
06:05:23.119 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.sudoku' and URIs ''
06:05:24.234 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.sudoku_sudoku_1.1.370' with URIs '' via upstart-app-launch
06:05:30.076 INFO logging:45 - MainView: Open a tab. Arguments ('settingsTab',). Keyword arguments: {}.
06:05:30.140 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
06:05:30.569 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:05:30.728 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
06:05:32.044 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
06:05:32.414 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:05:32.415 DEBUG _uinput:485 - Tapping at: 63,121
06:05:35.000 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:05:35.001 DEBUG _uinput:485 - Tapping at: 180,469
06:05:35.436 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
06:05:38.263 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:05:38.264 DEBUG _uinput:485 - Tapping at: 70,431
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 132, in test_new_game_button
    self._set_difficulty(2, "Moderate")
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 307, in _set_difficulty
    difficulty.select_option('Label', text=label)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py", line 103, in select_option
    self._expand()
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py", line 61, in _expand
    self.currentlyExpanded.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on OptionSelector.currentlyExpanded failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test