Testcase: test_switch_to_tab_by_object_name(deprecated TabBar)

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(deprecated TabBar)
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:04:54 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:04:54 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:04:54 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:04:54 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:04:54 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:04:54 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:04:54 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:04:54 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:04:56 ubuntu-phablet kernel: [ 1716.974301] send sigkill to 18677 (unity8-dash), adj 50, size 14784
Jul 23 10:04:58 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 3770f39c-7ab6-44d8-8b5d-8485b605a2af
Jul 23 10:04:58 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:04:58 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:04:58 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:04:58 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:04:58 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:04:58 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:04:58 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:04:58 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".
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_tabs.TabsTestCase.deprecated_TabBar.qml:55:21: 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.
QObject::startTimer: Timers cannot be started from another thread
UbuntuWindow::handleSurfaceFocusChange(focused=false)
}}}

test-log: {{{
10:04:54.405 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:04:54.411 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.deprecated_TabBar.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmpjs7wh87u.desktop' as a normal process
10:04:54.440 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.deprecated_TabBar.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmpjs7wh87u.desktop']
10:04:58.520 INFO logging:45 - MainView: Open a tab. Arguments ('tab3',). Keyword arguments: {}.
10:04:58.558 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:04:58.765 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
10:04:58.830 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:04:58.934 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:04:59.120 DEBUG _mainview:145 - Current tab index: 0.
10:04:59.121 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
10:04:59.122 DEBUG _mainview:114 - Switch to next tab.
10:04:59.283 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
10:04:59.371 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
10:04:59.398 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:04:59.425 DEBUG _tabbar:42 - Already in selection mode.
10:04:59.426 DEBUG _tabbar:34 - Click the next tab bar button.
10:04:59.500 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
10:04:59.655 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
10:05:00.055 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:05:00.057 DEBUG _uinput:485 - Tapping at: 286,125
10:05:00.343 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:05:00.573 DEBUG _mainview:145 - Current tab index: 0.
10:05:00.574 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
10:05:00.575 DEBUG _mainview:114 - Switch to next tab.
10:05:00.741 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
10:05:00.842 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
10:05:00.870 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:05:00.900 DEBUG _tabbar:42 - Already in selection mode.
10:05:00.901 DEBUG _tabbar:34 - Click the next tab bar button.
10:05:00.971 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
10:05:01.123 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
10:05:01.495 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:05:01.496 DEBUG _uinput:485 - Tapping at: 286,125
10:05:01.779 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
10:05:02.036 DEBUG _mainview:145 - Current tab index: 0.
10:05:02.692 INFO _launcher:544 - waiting for process to exit.
10:05:02.694 INFO _launcher:567 - Killing process 18788
}}}

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 131, in switch_to_tab_by_index
    return self._switch_to_tab_in_deprecated_tabbar_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 150, in _switch_to_tab_in_deprecated_tabbar_by_index
    'The tab with index {0} was not selected.'.format(index))
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: The tab with index 2 was not selected.

command_type
testcase_test

Artifacts ›   Console Log ›