Testcase: test_theme_change(with touch)

Build #:157:20140729.2:20140728.1
Arch:manta (Nexus 10)
Release:devel
Variant:touch
Artifacts
Console Log

Result History

Failure explanation

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

Test case data

testcase
test_theme_change(with touch)
testsuite
sudoku_app.tests.test_sudoku.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Jul 29 08:24:08 ubuntu-phablet kernel: [   97.952062] iio-buffer, current state requested again
Jul 29 08:24:09 ubuntu-phablet kernel: [   99.272014] pd-g3d: Power-on latency exceeded, new value 9832875 ns
Jul 29 08:24:09 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:09 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:10 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:10 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:10 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:10 ubuntu-phablet dbus[1385]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.70" mask="receive" pid=3094 profile="com.ubuntu.sudoku_sudoku_1.1.230"
peer_pid=2911 peer_profile="unconfined"
Jul 29 08:24:11 ubuntu-phablet kernel: [  100.722610] iio-buffer, current state requested again
}}}

Application Log (com.ubuntu.sudoku_sudoku_1.1.230): {{{
libust[2946/2950]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[2946/2950]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[2946/2949]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[2946/2949]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3c02445 0xb3c0233d
creating surface at (1760, 64) with size (800, 1536) with title 'qmlscene: sudoku'process 2946: arguments to dbus_connection_close() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 2946: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
libust[3094/3096]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3094/3096]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3094/3097]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3094/3097]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3b5e445 0xb3b5e33d
creating surface at (1760, 64) with size (800, 1536) with title 'qmlscene: sudoku'process 3094: arguments to dbus_connection_close() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2890.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1617.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
process 3094: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2777.
This is normally a bug in some application using the D-Bus library.
}}}

test-log: {{{
08:24:07.334 WARNING testcase:112 - No tracing available - install the python-autopilot-trace package!
08:24:07.339 WARNING testcase:159 - Process manager backend unavailable, application snapshot support disabled.
08:24:07.339 DEBUG __init__:91 - Backed up database
08:24:07.340 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.sudoku' and URIs ''
08:24:07.869 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.sudoku_sudoku_1.1.230' with URIs '' via upstart-app-launch
08:24:09.679 ERROR proxies:410 - Introspect error on :1.80:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules;
type="method_call", sender=":1.70" (uid=32011 pid=2911 comm="/usr/bin/python3 -m autopilot.run run -v -o /tmp/t")
interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.80" (uid=32011 pid=3094
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ./su")
08:24:09.680 DEBUG proxies:413 - Executing introspect queue due to error
08:24:10.756 ERROR proxies:410 - Introspect error on :1.82:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules;
type="method_call", sender=":1.70" (uid=32011 pid=2911 comm="/usr/bin/python3 -m autopilot.run run -v -o /tmp/t")
interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.82" (uid=32011 pid=3094
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ./su")
08:24:10.758 DEBUG proxies:413 - Executing introspect queue due to error
08:24:10.767 ERROR proxies:410 - Introspect error on :1.81:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules;
type="method_call", sender=":1.70" (uid=32011 pid=2911 comm="/usr/bin/python3 -m autopilot.run run -v -o /tmp/t")
interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.81" (uid=32011 pid=3094
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ./su")
08:24:10.767 DEBUG proxies:413 - Executing introspect queue due to error
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 19, in setUp
    super(TestMainWindow, self).setUp()
  File "/home/phablet/autopilot/sudoku_app/tests/__init__.py", line 56, in setUp
    self.launch_test_click()
  File "/home/phablet/autopilot/sudoku_app/tests/__init__.py", line 76, in launch_test_click
    emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 305, in launch_click_package
    return launcher.launch(package_id, app_name, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 283, in launch
    return super().launch(app_id, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 146, in launch
    pid=pid
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 175, in get_proxy_object_for_existing_process
    _get_search_criteria_string_representation(**kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 374, in _raise_if_not_single_result
    (criteria_string)
autopilot.exceptions.ProcessSearchError: Search criteria (pid = 3094, object path = '/com/canonical/Autopilot/Introspection') returned no results

command_type
testcase_test