Testcase: test_change_state_from_checked(checkbox)

Build #:254:20150713: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_change_state_from_checked(checkbox)
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_checkbox.ToggleTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 13 05:58:30 ubuntu-phablet powerd[919]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 13 05:58:30 ubuntu-phablet powerd[919]: name_watch_add: looking for :1.64
Jul 13 05:58:30 ubuntu-phablet powerd[919]: watching :1.64 to see when it disappears on dbus
Jul 13 05:58:30 ubuntu-phablet powerd[919]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 05:58:30 ubuntu-phablet powerd[919]: handle_requestSysState - SUCCESS
Jul 13 05:58:30 ubuntu-phablet powerd[919]: Enqueue state change to ACTIVE
Jul 13 05:58:30 ubuntu-phablet powerd[919]: queue empty && state == current, discarding
Jul 13 05:58:30 ubuntu-phablet powerd[919]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 05:58:31 ubuntu-phablet kernel: [  598.666107] mmc0: mmc_start_bkops: Starting bkops
Jul 13 05:58:32 ubuntu-phablet kernel: [  600.389653] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul 13 05:58:32 ubuntu-phablet kernel: [  600.624080] mmc0: mmc_start_bkops: Starting bkops
Jul 13 05:58:34 ubuntu-phablet powerd[919]: handle_clearSysState from :1.64, cookie: 23fe44e1-37da-434d-860e-80ed669889c0
Jul 13 05:58:34 ubuntu-phablet powerd[919]: clear_sys_request: active - :1.64
Jul 13 05:58:34 ubuntu-phablet powerd[919]: name_watch_remove: looking for :1.64
Jul 13 05:58:34 ubuntu-phablet powerd[919]: name_watch: ref_count for :1.64 is now 0
Jul 13 05:58:34 ubuntu-phablet powerd[919]: no longer watching :1.64, there are no more requests
Jul 13 05:58:34 ubuntu-phablet powerd[919]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 05:58:34 ubuntu-phablet powerd[919]: Enqueue state change to ACTIVE
Jul 13 05:58:34 ubuntu-phablet powerd[919]: queue empty && state == current, discarding
Jul 13 05:58:34 ubuntu-phablet powerd[919]: libsuspend: release_wake_lock: powerd_power_request
}}}

test-log: {{{
05:58:30.196 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
05:58:30.201 INFO _launcher:120 - Attempting to launch application 'tmpqm0tcmta' with URIs '' via upstart-app-launch
05:58:34.209 INFO logging:45 - CheckBox: Check a CheckBox, if its not already checked. Arguments (). Keyword arguments: {}.
05:58:34.234 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (10,). Keyword arguments: {}.
05:58:34.282 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:58:34.283 DEBUG _uinput:485 - Tapping at: 27,85
05:58:47.563 ERROR _launcher:206 - Timed out waiting for Application with app_id 'tmpqm0tcmta' to stop.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_checkbox.py", line 104, in test_change_state_from_checked
    self.toggle.check()
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_checkbox.py", line 39, in check
    self.change_state(timeout)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_checkbox.py", line 65, in change_state
    self.checked.wait_for(not original_state, timeout)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 157, in wait_for
    _, new_state = self.parent._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 427, in _get_new_state
    return self._backend.execute_query_get_data(self._query)[0]
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 220, in execute_query_get_data
    data = self.ipc_address.introspection_iface.GetState(
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 118, in introspection_iface
    "Application under test exited before the test finished!"
RuntimeError: Application under test exited before the test finished!

command_type
testcase_test