Testcase: test_change_state_from_unchecked(switch)

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

/var/log/syslog: {{{
Jul 11 06:09:56 ubuntu-phablet powerd[920]: handle_requestSysState from :1.115 (active) - ACTIVE (1)
Jul 11 06:09:56 ubuntu-phablet powerd[920]: name_watch_add: looking for :1.115
Jul 11 06:09:56 ubuntu-phablet powerd[920]: watching :1.115 to see when it disappears on dbus
Jul 11 06:09:56 ubuntu-phablet powerd[920]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 06:09:56 ubuntu-phablet powerd[920]: handle_requestSysState - SUCCESS
Jul 11 06:09:56 ubuntu-phablet powerd[920]: Enqueue state change to ACTIVE
Jul 11 06:09:56 ubuntu-phablet powerd[920]: queue empty && state == current, discarding
Jul 11 06:09:56 ubuntu-phablet powerd[920]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 06:10:14 ubuntu-phablet powerd[920]: handle_clearSysState from :1.115, cookie: bb9d82e8-8313-4c3e-aaee-b8bb81ede067
Jul 11 06:10:14 ubuntu-phablet powerd[920]: clear_sys_request: active - :1.115
Jul 11 06:10:14 ubuntu-phablet powerd[920]: name_watch_remove: looking for :1.115
Jul 11 06:10:14 ubuntu-phablet powerd[920]: name_watch: ref_count for :1.115 is now 0
Jul 11 06:10:14 ubuntu-phablet powerd[920]: no longer watching :1.115, there are no more requests
Jul 11 06:10:14 ubuntu-phablet powerd[920]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 06:10:14 ubuntu-phablet powerd[920]: Enqueue state change to ACTIVE
Jul 11 06:10:14 ubuntu-phablet powerd[920]: queue empty && state == current, discarding
Jul 11 06:10:14 ubuntu-phablet powerd[920]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 06:10:14 ubuntu-phablet dbus[774]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 11 06:10:15 ubuntu-phablet dbus[774]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpt8f56851): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///tmp/tmpq3glms1j.qml:11:9: QML CheckBox: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
06:09:55.928 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:09:55.934 INFO _launcher:120 - Attempting to launch application 'tmpt8f56851' with URIs '' via upstart-app-launch
06:09:59.864 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (). Keyword arguments: {}.
06:09:59.918 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:09:59.920 DEBUG _uinput:485 - Tapping at: 54,85
}}}

traceback-1: {{{
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 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on CheckBox.checked failed: True != dbus.Boolean(False, variant_level=1)
}}}

command_type
testcase_test