Testcase: test_click_header_action_button(actions)

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_click_header_action_button(actions)
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 23 09:52:05 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 09:52:05 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 09:52:05 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 09:52:05 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:05 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 09:52:05 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:05 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:05 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:52:06 ubuntu-phablet powerd[973]: worker thread finished waiting for hw alarm
Jul 23 09:52:06 ubuntu-phablet powerd[973]: Emitting wakeup signal
Jul 23 09:52:06 ubuntu-phablet powerd[973]: worker thread is finished working; calling join()
Jul 23 09:52:06 ubuntu-phablet powerd[973]: worker thread is destroyed.
Jul 23 09:52:06 ubuntu-phablet powerd[973]: handle_requestSysState from :1.76 (ubuntu push client) - ACTIVE (1)
Jul 23 09:52:06 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.76
Jul 23 09:52:06 ubuntu-phablet powerd[973]: watching :1.76 to see when it disappears on dbus
Jul 23 09:52:06 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:06 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 09:52:06 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:06 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:06 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:52:11 ubuntu-phablet powerd[973]: handle_requestWakeup from :1.76 - ubuntu push client, 1437645431
Jul 23 09:52:11 ubuntu-phablet powerd[973]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 23 09:52:11 ubuntu-phablet powerd[973]: setting hardware wakeup time to 2015-07-23 09:57:11 for ubuntu push client
Jul 23 09:52:11 ubuntu-phablet powerd[973]: starting hardware alarm worker thread
Jul 23 09:52:11 ubuntu-phablet powerd[973]: calling wait_for_next_alarm
Jul 23 09:52:11 ubuntu-phablet powerd[973]: handle_clearSysState from :1.76, cookie: 668f8c9f-32a6-4d93-8a6a-08f77d34b32c
Jul 23 09:52:11 ubuntu-phablet powerd[973]: clear_sys_request: ubuntu push client - :1.76
Jul 23 09:52:11 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.76
Jul 23 09:52:11 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.76 is now 0
Jul 23 09:52:11 ubuntu-phablet powerd[973]: no longer watching :1.76, there are no more requests
Jul 23 09:52:11 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:11 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:11 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:11 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:52:13 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: f6138aec-c1e7-4ede-8b59-ba3bfdba38f2
Jul 23 09:52:13 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 09:52:13 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 09:52:13 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 09:52:13 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 09:52:13 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:13 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:13 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:13 ubuntu-phablet powerd[973]: 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.3.0.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: {{{
09:52:05.231 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
09:52:05.235 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.ActionsTestCase.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmphd3j53ca.desktop' as a normal process
09:52:05.260 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.ActionsTestCase.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmphd3j53ca.desktop']
09:52:09.352 INFO logging:45 - ActionBar: Click an action button of the action bar. Arguments ('action0',). Keyword arguments: {}.
09:52:09.454 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:52:09.455 DEBUG _uinput:485 - Tapping at: 837,112
09:52:13.667 INFO _launcher:544 - waiting for process to exit.
09:52:13.669 INFO _launcher:567 - Killing process 10963
}}}

traceback-1: {{{
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 348, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 433, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'No button clicked.' != 'Button 0 clicked.'
}}}

command_type
testcase_test

Artifacts ›   Console Log ›