Testcase: test_change_toggles_state(Nexus 4,checkbox unchecked)

Build #:246:20150705: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_change_toggles_state(Nexus 4,checkbox unchecked)
testsuite
ubuntuuitoolkit.tests.gallery.test_toggles.EnabledTogglesTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher)

/var/log/syslog: {{{
Jul  5 13:17:18 ubuntu-phablet powerd[967]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  5 13:17:18 ubuntu-phablet powerd[967]: name_watch_add: looking for :1.83
Jul  5 13:17:18 ubuntu-phablet powerd[967]: watching :1.83 to see when it disappears on dbus
Jul  5 13:17:18 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:17:18 ubuntu-phablet powerd[967]: handle_requestSysState - SUCCESS
Jul  5 13:17:18 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:17:18 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:17:18 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:17:31 ubuntu-phablet powerd[967]: handle_clearSysState from :1.83, cookie: da136272-4957-4008-8a63-0f9f2060a21b
Jul  5 13:17:31 ubuntu-phablet powerd[967]: clear_sys_request: active - :1.83
Jul  5 13:17:31 ubuntu-phablet powerd[967]: name_watch_remove: looking for :1.83
Jul  5 13:17:31 ubuntu-phablet powerd[967]: name_watch: ref_count for :1.83 is now 0
Jul  5 13:17:31 ubuntu-phablet powerd[967]: no longer watching :1.83, there are no more requests
Jul  5 13:17:31 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:17:31 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:17:31 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:17:31 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
}}}

process-return-code (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{-15}}}
process-stderr (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'e'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 's'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'a'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'b'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'l'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'y'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'I'
Testability driver loaded. Wire protocol version is "1.4".
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
13:17:18.515 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:17:18.518 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
/home/modules /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml
--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop' as a normal process
13:17:18.537 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I',
'/home/modules', '/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml',
'--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop']
13:17:23.708 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('togglesElement',). Keyword arguments: {}.
13:17:23.993 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit._custom_proxy_objects.listitems.Standard object at
0xb46bf890>,). Keyword arguments: {}.
13:17:25.007 DEBUG _flickable:122 - The element is already visible.
13:17:25.041 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:17:25.043 DEBUG _uinput:485 - Tapping at: 540,612
13:17:27.965 INFO logging:45 - CheckBox: Change the state of a CheckBox. Arguments (). Keyword arguments: {'timeout': 1}.
13:17:28.018 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:17:28.019 DEBUG _uinput:485 - Tapping at: 279,384
13:17:31.166 INFO _launcher:544 - waiting for process to exit.
13:17:31.168 INFO _launcher:567 - Killing process 12922
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/test_toggles.py", line 52, in test_change_toggles_state
    toggle.change_state(timeout=1)
  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 1.0 seconds test on CheckBox.checked failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test

Artifacts ›   Console Log ›