Testcase: test_click_action_button

Build #:260:20150719: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_action_button
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_actionbar.ActionBarTestCase
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 19 05:40:31 ubuntu-phablet powerd[945]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 19 05:40:31 ubuntu-phablet powerd[945]: name_watch_add: looking for :1.64
Jul 19 05:40:31 ubuntu-phablet powerd[945]: watching :1.64 to see when it disappears on dbus
Jul 19 05:40:31 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:40:31 ubuntu-phablet powerd[945]: handle_requestSysState - SUCCESS
Jul 19 05:40:31 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:40:31 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:40:31 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:40:32 ubuntu-phablet powerd[945]: handle_clearSysState from :1.28, cookie: e8a10bb9-2e2a-4965-9e71-4cf6f94941ae
Jul 19 05:40:32 ubuntu-phablet powerd[945]: clear_sys_request: usensord - :1.28
Jul 19 05:40:32 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.28
Jul 19 05:40:32 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.28 is now 0
Jul 19 05:40:32 ubuntu-phablet powerd[945]: no longer watching :1.28, there are no more requests
Jul 19 05:40:32 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:40:32 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:40:32 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:40:32 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:40:37 ubuntu-phablet powerd[945]: handle_clearSysState from :1.64, cookie: 40d3f5da-f495-4617-a40c-e2013cc6333c
Jul 19 05:40:37 ubuntu-phablet powerd[945]: clear_sys_request: active - :1.64
Jul 19 05:40:37 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.64
Jul 19 05:40:37 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.64 is now 0
Jul 19 05:40:37 ubuntu-phablet powerd[945]: no longer watching :1.64, there are no more requests
Jul 19 05:40:37 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:40:37 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:40:37 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:40:37 ubuntu-phablet powerd[945]: 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: {{{
05:40:31.277 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
05:40:31.282 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_actionbar.ActionBarTestCase.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmpubaqin4s.desktop' as a normal process
05:40:31.321 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_actionbar.ActionBarTestCase.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmpubaqin4s.desktop']
05:40:35.233 INFO logging:45 - ActionBar: Click an action button of the action bar. Arguments ('Action1',). Keyword arguments: {}.
05:40:35.303 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:40:35.304 DEBUG _uinput:485 - Tapping at: 495,536
05:40:37.364 INFO _launcher:544 - waiting for process to exit.
05:40:37.366 INFO _launcher:567 - Killing process 7126
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_actionbar.py", line 43, in test_click_action_button
    self.assertEqual(self.label.text, 'Action 1 triggered.')
  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 action triggered.' != 'Action 1 triggered.'

command_type
testcase_test