Testcase: test_hint_switch(with touch)

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

/var/log/syslog: {{{
Jul 30 10:54:13 ubuntu-phablet powerd[908]: handle_requestSysState from :1.60 (active) - ACTIVE (1)
Jul 30 10:54:13 ubuntu-phablet powerd[908]: name_watch_add: looking for :1.60
Jul 30 10:54:13 ubuntu-phablet powerd[908]: watching :1.60 to see when it disappears on dbus
Jul 30 10:54:13 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:13 ubuntu-phablet powerd[908]: handle_requestSysState - SUCCESS
Jul 30 10:54:13 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:13 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:13 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:21 ubuntu-phablet powerd[908]: handle_requestSysState from :1.24 (usensord) - ACTIVE (1)
Jul 30 10:54:21 ubuntu-phablet powerd[908]: name_watch_add: looking for :1.24
Jul 30 10:54:21 ubuntu-phablet powerd[908]: watching :1.24 to see when it disappears on dbus
Jul 30 10:54:21 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:21 ubuntu-phablet powerd[908]: handle_requestSysState - SUCCESS
Jul 30 10:54:21 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:21 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:21 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:23 ubuntu-phablet powerd[908]: handle_clearSysState from :1.24, cookie: 08aedf71-43f5-4a02-8834-77dcca396fdc
Jul 30 10:54:23 ubuntu-phablet powerd[908]: clear_sys_request: usensord - :1.24
Jul 30 10:54:23 ubuntu-phablet powerd[908]: name_watch_remove: looking for :1.24
Jul 30 10:54:23 ubuntu-phablet powerd[908]: name_watch: ref_count for :1.24 is now 0
Jul 30 10:54:23 ubuntu-phablet powerd[908]: no longer watching :1.24, there are no more requests
Jul 30 10:54:23 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:23 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:23 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:23 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:24 ubuntu-phablet powerd[908]: handle_requestSysState from :1.24 (usensord) - ACTIVE (1)
Jul 30 10:54:24 ubuntu-phablet powerd[908]: name_watch_add: looking for :1.24
Jul 30 10:54:24 ubuntu-phablet powerd[908]: watching :1.24 to see when it disappears on dbus
Jul 30 10:54:24 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:24 ubuntu-phablet powerd[908]: handle_requestSysState - SUCCESS
Jul 30 10:54:24 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:24 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:24 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:25 ubuntu-phablet powerd[908]: handle_clearSysState from :1.24, cookie: 00a862ce-8ea8-444f-b7c6-04570717da11
Jul 30 10:54:25 ubuntu-phablet powerd[908]: clear_sys_request: usensord - :1.24
Jul 30 10:54:25 ubuntu-phablet powerd[908]: name_watch_remove: looking for :1.24
Jul 30 10:54:25 ubuntu-phablet powerd[908]: name_watch: ref_count for :1.24 is now 0
Jul 30 10:54:25 ubuntu-phablet powerd[908]: no longer watching :1.24, there are no more requests
Jul 30 10:54:25 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:25 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:25 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:25 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:40 ubuntu-phablet powerd[908]: handle_clearSysState from :1.60, cookie: 9ac47607-5ab4-490d-a273-22a6e07a5b74
Jul 30 10:54:40 ubuntu-phablet powerd[908]: clear_sys_request: active - :1.60
Jul 30 10:54:40 ubuntu-phablet powerd[908]: name_watch_remove: looking for :1.60
Jul 30 10:54:40 ubuntu-phablet powerd[908]: name_watch: ref_count for :1.60 is now 0
Jul 30 10:54:40 ubuntu-phablet powerd[908]: no longer watching :1.60, there are no more requests
Jul 30 10:54:40 ubuntu-phablet powerd[908]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 30 10:54:40 ubuntu-phablet powerd[908]: Enqueue state change to ACTIVE
Jul 30 10:54:40 ubuntu-phablet powerd[908]: queue empty && state == current, discarding
Jul 30 10:54:40 ubuntu-phablet powerd[908]: libsuspend: release_wake_lock: powerd_power_request
Jul 30 10:54:40 ubuntu-phablet dbus[851]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 30 10:54:41 ubuntu-phablet dbus[851]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.sudoku_sudoku_1.1.370): {{{
libust[4020/4024]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4020/4024]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4020/4025]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4020/4025]: 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=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///custom/click/com.ubuntu.sudoku/1.1.370/components/AddProfileDialog.qml:38:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4020: 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 4020: 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 4020: 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 4020: 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 4020: 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 4020: 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 4020: 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 4020: 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[4190/4194]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4190/4194]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4190/4195]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4190/4195]: 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=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4190: 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 4190: 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 4190: 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 4190: 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 4190: 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 4190: 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 4190: 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 4190: 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[4585/4596]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4585/4595]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4585/4595]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4585/4596]: 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=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4585: 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 4585: 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 4585: 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 4585: 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 4585: 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 4585: 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 4585: 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 4585: 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: {{{
10:54:12.216 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled.
10:54:12.217 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.sudoku' and URIs ''
10:54:13.333 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.sudoku_sudoku_1.1.370' with URIs '' via upstart-app-launch
10:54:19.300 INFO logging:45 - MainView: Open a tab. Arguments ('settingsTab',). Keyword arguments: {}.
10:54:19.771 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
10:54:21.109 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 297, in test_hint_switch
    self.assertThat(hintsSwitch.checked, Eventually(Equals(True)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 433, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on CheckBox.checked failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test