Testcase: test_switch_to_tab_by_object_name(new header)

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_switch_to_tab_by_object_name(new header)
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_tabs.TabsTestCase
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 10:05:03 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:05:03 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:05:03 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:05:03 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:05:03 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:05:03 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:05:03 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:05:03 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:05:07 ubuntu-phablet kernel: [ 1728.323973] send sigkill to 18832 (unity8-dash), adj 50, size 14503
Jul 23 10:05:09 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 436d4943-7e25-4904-a314-1ec29af7fe05
Jul 23 10:05:09 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:05:09 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:05:09 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:05:09 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:05:09 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:05:09 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:05:09 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:05:09 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.
QObject::startTimer: Timers cannot be started from another thread
UbuntuWindow::handleSurfaceFocusChange(focused=false)
}}}

test-log: {{{
10:05:02.952 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:05:02.960 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_tabs.TabsTestCase.new_header.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmpz91lj72y.desktop' as a normal process
10:05:03.000 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_tabs.TabsTestCase.new_header.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmpz91lj72y.desktop']
10:05:07.003 INFO logging:45 - MainView: Open a tab. Arguments ('tab3',). Keyword arguments: {}.
10:05:07.040 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:05:07.228 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
10:05:07.294 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:05:07.565 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
10:05:07.894 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:05:07.896 DEBUG _uinput:485 - Tapping at: 63,121
10:05:09.733 INFO _launcher:544 - waiting for process to exit.
10:05:09.735 INFO _launcher:567 - Killing process 18887
}}}

traceback-1: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_tabs.py", line 103, in test_switch_to_tab_by_object_name
    current_tab = self.main_view.switch_to_tab('tab3')
  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/_mainview.py", line 193, in switch_to_tab
    return self.switch_to_tab_by_index(tab.index)
  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/_mainview.py", line 133, in switch_to_tab_by_index
    return self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 162, in _switch_to_tab_in_drawer_by_index
    self.get_header().switch_to_tab_by_index(index)
  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/_header.py", line 205, in switch_to_tab_by_index
    self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 231, in _switch_to_tab_in_drawer_by_index
    "Tab button {0} not found.".format(index))
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Tab button 2 not found.
}}}

command_type
testcase_test

Artifacts ›   Console Log ›