Testcase: test_uncheck_with_timeout(switch)

Build #:266:20150723: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_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 23 09:40:39 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 09:40:39 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 09:40:39 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 09:40:39 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:40:39 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 09:40:39 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:40:39 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:40:39 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:40:53 ubuntu-phablet dhclient: DHCPREQUEST of 10.99.248.113 on wlan0 to 10.99.248.1 port 67 (xid=0x4b7f8349)
Jul 23 09:40:53 ubuntu-phablet dhclient: DHCPACK of 10.99.248.113 from 10.99.248.1
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info> (wlan0): DHCPv4 state changed reboot -> renew
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   address 10.99.248.113
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   plen 22 (255.255.252.0)
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   gateway 10.99.248.1
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   server identifier 10.99.248.1
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   lease time 600
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   nameserver '10.99.248.1'
Jul 23 09:40:53 ubuntu-phablet NetworkManager[1753]: <info>   domain name 'example.org'
Jul 23 09:40:53 ubuntu-phablet dhclient: bound to 10.99.248.113 -- renewal in 240 seconds.
Jul 23 09:40:53 ubuntu-phablet dbus[847]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jul 23 09:40:53 ubuntu-phablet dbus[847]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 23 09:40:53 ubuntu-phablet nm-dispatcher: Dispatching action 'dhcp4-change' for wlan0
Jul 23 09:40:58 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 8cb86db0-fdaf-48ac-a7c2-9e38fecc95ca
Jul 23 09:40:58 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 09:40:58 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 09:40:58 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 09:40:58 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 09:40:58 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:40:58 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:40:58 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:40:58 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:40:58 ubuntu-phablet dbus[847]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 23 09:40:59 ubuntu-phablet dbus[847]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpjn1j1lne): {{{
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/tmpdyvugw2m.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: {{{
09:40:39.454 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
09:40:39.459 INFO _launcher:120 - Attempting to launch application 'tmpjn1j1lne' with URIs '' via upstart-app-launch
09:40:43.892 INFO logging:45 - CheckBox: Check a CheckBox, if its not already checked. Arguments (). Keyword arguments: {}.
09:40:43.918 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (10,). Keyword arguments: {}.
09:40:43.966 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:40:43.967 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 ›