Testcase: test_click_header_action_button(deprecated tools)

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_click_header_action_button(deprecated tools)
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_header.ActionsTestCase
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:26:14 ubuntu-phablet powerd[967]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  5 13:26:14 ubuntu-phablet powerd[967]: name_watch_add: looking for :1.83
Jul  5 13:26:14 ubuntu-phablet powerd[967]: watching :1.83 to see when it disappears on dbus
Jul  5 13:26:14 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:26:14 ubuntu-phablet powerd[967]: handle_requestSysState - SUCCESS
Jul  5 13:26:14 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:26:14 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:26:14 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:26:20 ubuntu-phablet powerd[967]: handle_clearSysState from :1.83, cookie: 74f217a1-1934-43c4-874b-e8892624a9e4
Jul  5 13:26:20 ubuntu-phablet powerd[967]: clear_sys_request: active - :1.83
Jul  5 13:26:20 ubuntu-phablet powerd[967]: name_watch_remove: looking for :1.83
Jul  5 13:26:20 ubuntu-phablet powerd[967]: name_watch: ref_count for :1.83 is now 0
Jul  5 13:26:20 ubuntu-phablet powerd[967]: no longer watching :1.83, there are no more requests
Jul  5 13:26:20 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:26:20 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:26:20 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:26:20 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".
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.ToolsTestCase.qml:44:13: QML Button:
Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.ToolsTestCase.qml:72:19: QML ActionItem:
Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
13:26:13.786 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:26:13.791 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
/home/modules /home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.ToolsTestCase.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmp7d99j2ga.desktop' as a normal process
13:26:13.815 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I',
'/home/modules', '/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.ToolsTestCase.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmp7d99j2ga.desktop']
13:26:18.153 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:26:18.154 DEBUG _uinput:485 - Tapping at: 927,121
13:26:20.407 INFO _launcher:544 - waiting for process to exit.
13:26:20.409 INFO _launcher:567 - Killing process 21560
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.py", line 86, in test_click_header_action_button
    self.assertEqual(self.label.text, 'Button 0 clicked.')
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 338, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'No button clicked.' != 'Button 0 clicked.'

command_type
testcase_test

Artifacts ›   Console Log ›