Testcase: test_switch_to_previous_tab_from_first(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_previous_tab_from_first(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 09:59:45 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 09:59:45 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 09:59:45 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 09:59:45 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:59:45 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 09:59:45 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:59:45 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:59:45 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:59:46 ubuntu-phablet kernel: [ 1407.884571] send sigkill to 14957 (unity8-dash), adj 50, size 22378
Jul 23 09:59:49 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: ca548b7d-e120-43c3-a1b7-e1a4c46209b2
Jul 23 09:59:49 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 09:59:49 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 09:59:49 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 09:59:49 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 09:59:49 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:59:49 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:59:49 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:59:49 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: {{{
09:59:45.497 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
09:59:45.502 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/tmprubu0vup.desktop' as a normal process
09:59:45.527 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/tmprubu0vup.desktop']
09:59:49.511 INFO logging:45 - MainView: Open the previous tab. Arguments (). Keyword arguments: {}.
09:59:49.572 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:59:49.662 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
09:59:49.728 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:59:49.831 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:59:50.031 DEBUG _mainview:145 - Current tab index: 0.
09:59:50.033 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:50.034 DEBUG _mainview:114 - Switch to next tab.
09:59:50.197 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:50.287 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:50.315 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:59:50.343 DEBUG _tabbar:42 - Already in selection mode.
09:59:50.344 DEBUG _tabbar:34 - Click the next tab bar button.
09:59:50.416 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
09:59:50.567 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
09:59:50.920 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:59:50.921 DEBUG _uinput:485 - Tapping at: 286,125
09:59:51.223 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:59:51.431 DEBUG _mainview:145 - Current tab index: 0.
09:59:51.432 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:51.433 DEBUG _mainview:114 - Switch to next tab.
09:59:51.617 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:51.705 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
09:59:51.735 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:59:51.764 DEBUG _tabbar:42 - Already in selection mode.
09:59:51.765 DEBUG _tabbar:34 - Click the next tab bar button.
09:59:51.836 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
09:59:51.990 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
09:59:52.355 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:59:52.356 DEBUG _uinput:485 - Tapping at: 286,125
09:59:52.656 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
09:59:52.895 DEBUG _mainview:145 - Current tab index: 0.
09:59:53.581 INFO _launcher:544 - waiting for process to exit.
09:59:53.583 INFO _launcher:567 - Killing process 15506
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_tabs.py", line 94, in test_switch_to_previous_tab_from_first
    current_tab = self.main_view.switch_to_previous_tab()
  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 178, in switch_to_previous_tab
    return self.switch_to_tab_by_index(previous_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 ›