Testcase: test_switch_to_tab_by_index(deprecated TabBar)

Build #:246:20150705:20150529.1
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_index(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  5 07:33:23 ubuntu-phablet kernel: [ 3148.039187] send sigkill to 25864 (unity8-dash), adj 50, size 8082
Jul  5 07:33:27 ubuntu-phablet kernel: [ 3152.344544] send sigkill to 25940 (unity8-dash), adj 50, size 7988
Jul  5 07:33:29 ubuntu-phablet kernel: [ 3154.063085] send sigkill to 26006 (unity8-dash), adj 50, size 6200
Jul  5 07:33:29 ubuntu-phablet kernel: [ 3154.407477] mmc0: mmc_start_bkops: Starting bkops
}}}

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.2.9.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.
QObject::startTimer: Timers cannot be started from another thread
}}}

test-log: {{{
07:33:21.578 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
07:33:21.585 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/tmprkqsqh8m.desktop' as a normal process
07:33:21.617 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/tmprkqsqh8m.desktop']
07:33:25.656 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
07:33:25.720 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:33:25.824 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:33:26.015 DEBUG _mainview:145 - Current tab index: 0.
07:33:26.017 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:26.017 DEBUG _mainview:114 - Switch to next tab.
07:33:26.205 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:26.291 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:26.328 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:33:26.355 DEBUG _tabbar:42 - Already in selection mode.
07:33:26.356 DEBUG _tabbar:34 - Click the next tab bar button.
07:33:26.429 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
07:33:26.578 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
07:33:26.958 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:33:26.959 DEBUG _uinput:485 - Tapping at: 286,125
07:33:27.228 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:33:27.455 DEBUG _mainview:145 - Current tab index: 0.
07:33:27.456 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:27.457 DEBUG _mainview:114 - Switch to next tab.
07:33:27.657 INFO logging:45 - AppHeader: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:27.770 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
07:33:27.797 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:33:27.826 DEBUG _tabbar:42 - Already in selection mode.
07:33:27.827 DEBUG _tabbar:34 - Click the next tab bar button.
07:33:27.922 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
07:33:28.085 DEBUG dbus:352 - Selecting objects of type AbstractButton with attributes: {}
07:33:28.471 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:33:28.472 DEBUG _uinput:485 - Tapping at: 286,125
07:33:28.874 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:33:29.166 DEBUG _mainview:145 - Current tab index: 0.
07:33:30.369 INFO _launcher:544 - waiting for process to exit.
07:33:30.370 INFO _launcher:567 - Killing process 25908
}}}

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