Testcase: test_operation_after_clear

Build #:167:20140802:20140728.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_operation_after_clear
testsuite
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Aug  2 04:55:45 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:45 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:46 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:46 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:48 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="org.freedesktop.DBus.Introspectable" member="Introspect" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:48 ubuntu-phablet dbus[1429]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/Autopilot/Introspection"
interface="com.canonical.Autopilot.Introspection" member="GetVersion" name=":1.75" mask="receive" pid=4266
profile="com.ubuntu.calculator_calculator_1.3.291" peer_pid=3496 peer_profile="unconfined"
Aug  2 04:55:51 ubuntu-phablet kernel: [  343.110544] healthd: battery l=100 v=4315 t=27.1 h=2 st=5 c=0 chg=u
}}}

Application Log (com.ubuntu.calculator_calculator_1.3.291): {{{
libust[3513/3515]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3513/3515]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3513/3516]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3513/3516]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3618/3622]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3618/3622]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3702/3705]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3702/3705]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3702/3704]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3702/3704]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3793/3795]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3793/3795]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3793/3796]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3793/3796]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3881/3885]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3881/3885]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3955/3958]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3955/3958]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4032/4035]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4032/4035]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4032/4034]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4032/4034]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4107/4111]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4107/4111]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4196/4200]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4196/4200]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4266/4270]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4266/4270]: 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".
qml: Database upgraded to 0.1
qml: Database upgraded to 0.2
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
}}}

test-log: {{{
04:55:42.386 WARNING testcase:112 - No tracing available - install the python-autopilot-trace package!
04:55:42.394 WARNING testcase:159 - Process manager backend unavailable, application snapshot support disabled.
04:55:42.395 DEBUG __init__:84 - Backed up database
04:55:42.396 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.calculator' and URIs ''
04:55:43.195 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.calculator_calculator_1.3.291' with URIs '' via upstart-app-launch
04:55:45.604 ERROR proxies:410 - Introspect error on :1.140:/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.75" (uid=32011 pid=3496 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.140" (uid=32011 pid=4266
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ubun")
04:55:45.607 DEBUG proxies:413 - Executing introspect queue due to error
04:55:46.810 ERROR proxies:410 - Introspect error on :1.141:/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.75" (uid=32011 pid=3496 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.141" (uid=32011 pid=4266
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ubun")
04:55:46.813 DEBUG proxies:413 - Executing introspect queue due to error
04:55:48.016 ERROR proxies:410 - Introspect error on :1.142:/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.75" (uid=32011 pid=3496 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.142" (uid=32011 pid=4266
comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ubun")
04:55:48.016 DEBUG proxies:413 - Executing introspect queue due to error
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/test_simple_page.py", line 32, in setUp
    super(TestSimplePage, self).setUp()
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/__init__.py", line 50, in setUp
    self.launch_test_click()
  File "/home/phablet/autopilot/ubuntu_calculator_app/tests/__init__.py", line 69, 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 (object path = '/com/canonical/Autopilot/Introspection', pid = 4266) returned no results

command_type
testcase_test