Testcase: test_select_sections

Build #:255:20150714: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_select_sections
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_header.SectionsTestCase
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 14 06:07:41 ubuntu-phablet powerd[978]: handle_requestSysState from :1.76 (active) - ACTIVE (1)
Jul 14 06:07:41 ubuntu-phablet powerd[978]: name_watch_add: looking for :1.76
Jul 14 06:07:41 ubuntu-phablet powerd[978]: watching :1.76 to see when it disappears on dbus
Jul 14 06:07:41 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:07:41 ubuntu-phablet powerd[978]: handle_requestSysState - SUCCESS
Jul 14 06:07:41 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:07:41 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:07:41 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:07:48 ubuntu-phablet powerd[978]: handle_clearSysState from :1.76, cookie: b0fa7598-3d71-4d02-b7eb-897a870f6448
Jul 14 06:07:48 ubuntu-phablet powerd[978]: clear_sys_request: active - :1.76
Jul 14 06:07:48 ubuntu-phablet powerd[978]: name_watch_remove: looking for :1.76
Jul 14 06:07:48 ubuntu-phablet powerd[978]: name_watch: ref_count for :1.76 is now 0
Jul 14 06:07:48 ubuntu-phablet powerd[978]: no longer watching :1.76, there are no more requests
Jul 14 06:07:48 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:07:48 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:07:48 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:07:48 ubuntu-phablet powerd[978]: 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: {{{
06:07:41.172 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:07:41.177 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.SectionsTestCase.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmp8e9ozexm.desktop' as a normal process
06:07:41.211 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.SectionsTestCase.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmp8e9ozexm.desktop']
06:07:45.489 INFO logging:45 - AppHeader: Select a section in the header divider. Arguments (1,). Keyword arguments: {}.
06:07:45.827 INFO logging:45 - Sections: Click a section button of the Sections. Arguments (1,). Keyword arguments: {}.
06:07:45.904 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:07:45.905 DEBUG _uinput:485 - Tapping at: 221,202
06:07:48.326 INFO _launcher:544 - waiting for process to exit.
06:07:48.327 INFO _launcher:567 - Killing process 26675
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.py", line 145, in test_select_sections
    self.assertEqual(self.header.get_selected_section_index(), index)
  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: 0 != 1

command_type
testcase_test