Testcase: test_change_state_from_unchecked(checkbox)

Build #:255:20150714: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_unchecked(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 14 06:01:26 ubuntu-phablet powerd[978]: handle_requestSysState from :1.76 (active) - ACTIVE (1)
Jul 14 06:01:26 ubuntu-phablet powerd[978]: name_watch_add: looking for :1.76
Jul 14 06:01:26 ubuntu-phablet powerd[978]: watching :1.76 to see when it disappears on dbus
Jul 14 06:01:26 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:01:26 ubuntu-phablet powerd[978]: handle_requestSysState - SUCCESS
Jul 14 06:01:26 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:01:26 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:01:26 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:01:30 ubuntu-phablet powerd[978]: worker thread finished waiting for hw alarm
Jul 14 06:01:30 ubuntu-phablet powerd[978]: Emitting wakeup signal
Jul 14 06:01:30 ubuntu-phablet powerd[978]: worker thread is finished working; calling join()
Jul 14 06:01:30 ubuntu-phablet powerd[978]: worker thread is destroyed.
Jul 14 06:01:30 ubuntu-phablet powerd[978]: handle_requestSysState from :1.81 (ubuntu push client) - ACTIVE (1)
Jul 14 06:01:30 ubuntu-phablet powerd[978]: name_watch_add: looking for :1.81
Jul 14 06:01:30 ubuntu-phablet powerd[978]: watching :1.81 to see when it disappears on dbus
Jul 14 06:01:30 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:01:30 ubuntu-phablet powerd[978]: handle_requestSysState - SUCCESS
Jul 14 06:01:30 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:01:30 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:01:30 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:01:30 ubuntu-phablet powerd[978]: handle_clearSysState from :1.76, cookie: 671b43e5-05f5-492a-8549-65ef36ef1d09
Jul 14 06:01:30 ubuntu-phablet powerd[978]: clear_sys_request: active - :1.76
Jul 14 06:01:30 ubuntu-phablet powerd[978]: name_watch_remove: looking for :1.76
Jul 14 06:01:30 ubuntu-phablet powerd[978]: name_watch: ref_count for :1.76 is now 0
Jul 14 06:01:30 ubuntu-phablet powerd[978]: no longer watching :1.76, there are no more requests
Jul 14 06:01:30 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:01:30 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:01:30 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:01:30 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:01:35 ubuntu-phablet powerd[978]: handle_requestWakeup from :1.81 - ubuntu push client, 1436853995
Jul 14 06:01:35 ubuntu-phablet powerd[978]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 14 06:01:35 ubuntu-phablet powerd[978]: setting hardware wakeup time to 2015-07-14 06:06:35 for ubuntu push client
Jul 14 06:01:35 ubuntu-phablet powerd[978]: starting hardware alarm worker thread
Jul 14 06:01:35 ubuntu-phablet powerd[978]: handle_clearSysState from :1.81, cookie: 1289e7a1-4933-4b59-8269-cc891a067f40
Jul 14 06:01:35 ubuntu-phablet powerd[978]: clear_sys_request: ubuntu push client - :1.81
Jul 14 06:01:35 ubuntu-phablet powerd[978]: name_watch_remove: looking for :1.81
Jul 14 06:01:35 ubuntu-phablet powerd[978]: name_watch: ref_count for :1.81 is now 0
Jul 14 06:01:35 ubuntu-phablet powerd[978]: no longer watching :1.81, there are no more requests
Jul 14 06:01:35 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:01:35 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:01:35 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:01:35 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:01:35 ubuntu-phablet powerd[978]: calling wait_for_next_alarm
}}}

test-log: {{{
06:01:26.173 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:01:26.179 INFO _launcher:120 - Attempting to launch application 'tmpd39pn429' with URIs '' via upstart-app-launch
06:01:30.115 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (). Keyword arguments: {}.
06:01:30.170 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:01:30.171 DEBUG _uinput:485 - Tapping at: 27,85
06:01:43.518 ERROR _launcher:206 - Timed out waiting for Application with app_id 'tmpd39pn429' to stop.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_checkbox.py", line 109, in test_change_state_from_unchecked
    self.toggle.change_state()
  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