Testcase: test_switch_to_tab_by_index(new header)

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(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  5 07:33:33 ubuntu-phablet kernel: [ 3158.404180] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul  5 07:33:34 ubuntu-phablet kernel: [ 3158.646970] mmc0: mmc_start_bkops: Starting bkops
Jul  5 07:33:35 ubuntu-phablet kernel: [ 3159.984251] send sigkill to 26035 (unity8-dash), adj 50, size 10960
Jul  5 07:33:35 ubuntu-phablet kernel: [ 3160.071264] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul  5 07:33:37 ubuntu-phablet kernel: [ 3161.999206] send sigkill to 26130 (unity8-dash), adj 50, size 6341
Jul  5 07:33:38 ubuntu-phablet kernel: [ 3162.617884] send sigkill to 26160 (unity8-dash), adj 50, size 3539
}}}

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

test-log: {{{
07:33:30.592 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
07:33:30.598 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/tmp2ii45a9a.desktop' as a normal process
07:33:30.633 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/tmp2ii45a9a.desktop']
07:33:34.912 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
07:33:34.973 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:33:35.186 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (2,). Keyword arguments: {}.
07:33:35.524 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:33:35.526 DEBUG _uinput:485 - Tapping at: 63,121
07:33:38.279 INFO _launcher:544 - waiting for process to exit.
07:33:38.281 INFO _launcher:567 - Killing process 26049
}}}

traceback-1: {{{
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 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 191, 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 217, 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 ›