Testcase: test_uncheck_with_timeout(switch)

Build #:247:20150706:20150529.1
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_uncheck_with_timeout(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  7 03:13:53 ubuntu-phablet powerd[921]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  7 03:13:53 ubuntu-phablet powerd[921]: name_watch_add: looking for :1.83
Jul  7 03:13:53 ubuntu-phablet powerd[921]: watching :1.83 to see when it disappears on dbus
Jul  7 03:13:53 ubuntu-phablet powerd[921]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 03:13:53 ubuntu-phablet powerd[921]: handle_requestSysState - SUCCESS
Jul  7 03:13:53 ubuntu-phablet powerd[921]: Enqueue state change to ACTIVE
Jul  7 03:13:53 ubuntu-phablet powerd[921]: queue empty && state == current, discarding
Jul  7 03:13:53 ubuntu-phablet powerd[921]: libsuspend: release_wake_lock: powerd_power_request
Jul  7 03:14:00 ubuntu-phablet kernel: [  563.360933] mmc0: mmc_start_bkops: Starting bkops
Jul  7 03:14:11 ubuntu-phablet powerd[921]: handle_clearSysState from :1.83, cookie: d5c892e4-965b-4d8c-833c-2a913c85dbb1
Jul  7 03:14:11 ubuntu-phablet powerd[921]: clear_sys_request: active - :1.83
Jul  7 03:14:11 ubuntu-phablet powerd[921]: name_watch_remove: looking for :1.83
Jul  7 03:14:11 ubuntu-phablet powerd[921]: name_watch: ref_count for :1.83 is now 0
Jul  7 03:14:11 ubuntu-phablet powerd[921]: no longer watching :1.83, there are no more requests
Jul  7 03:14:11 ubuntu-phablet powerd[921]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 03:14:11 ubuntu-phablet powerd[921]: Enqueue state change to ACTIVE
Jul  7 03:14:11 ubuntu-phablet powerd[921]: queue empty && state == current, discarding
Jul  7 03:14:11 ubuntu-phablet powerd[921]: libsuspend: release_wake_lock: powerd_power_request
Jul  7 03:14:11 ubuntu-phablet kernel: [  574.328429] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul  7 03:14:11 ubuntu-phablet kernel: [  574.534838] mmc0: mmc_start_bkops: Starting bkops
Jul  7 03:14:12 ubuntu-phablet dbus[850]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul  7 03:14:12 ubuntu-phablet dbus[850]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmp5wgwxl1l): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.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/tmp9p9s8gda.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: {{{
03:13:53.094 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
03:13:53.100 INFO _launcher:120 - Attempting to launch application 'tmp5wgwxl1l' with URIs '' via upstart-app-launch
03:13:57.100 INFO logging:45 - CheckBox: Check a CheckBox, if its not already checked. Arguments (). Keyword arguments: {}.
03:13:57.130 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (10,). Keyword arguments: {}.
03:13:57.196 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:13:57.198 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 120, in test_uncheck_with_timeout
    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 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

Artifacts ›   Console Log ›