Testcase: test_switch_tabs(with touch)

Build #:20141012 ?
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_switch_tabs(with touch)
testsuite
ubuntu_weather_app.tests.test_mainview.TestMainView
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{Oct  8 23:04:43 ubuntu-phablet kernel: [  147.513580] input: autopilot-finger as /devices/virtual/input/input6}}}
Application Log (com.ubuntu.weather_weather_1.1.374): {{{
libust[4569/4572]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4569/4572]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4569): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed
The schema com.canonical.Unity.Thumbnailer is missing
qml: [Hamburg] returning cached data, time from last fetch: 3.271
qml: [London] returning cached data, time from last fetch: 3.234
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon10.qml:34:5: QML Image: Failed to get image from provider:
image://theme/navigation-menu
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon10.qml:34:5: QML Image: Failed to get image from provider:
image://theme/contextual-menu
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon10.qml:34:5: QML Image: Failed to get image from provider: image://theme/reload
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon10.qml:34:5: QML Image: Failed to get image from provider: image://theme/reload
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
}}}

test-log: {{{
23:04:43.061 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
23:04:43.320 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
23:04:43.324 DEBUG __init__:95 - Running via click package
23:04:43.326 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
23:04:44.092 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
23:04:49.909 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
23:04:49.980 DEBUG dbus:352 - Selecting objects of type LocationTab with attributes: {}
23:04:50.471 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (1,). Keyword arguments: {}.
23:04:50.600 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:04:50.601 DEBUG _uinput:470 - Tapping at: 63,121
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_mainview.py", line 73, in test_switch_tabs
    self._switch_tabs()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_mainview.py", line 61, in _switch_tabs
    self.main_view.switch_to_tab_by_index(1)
  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 103, 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 132, 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 180, 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 201, in _switch_to_tab_in_drawer_by_index
    "Tab button {0} not found.".format(index))
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Tab button 1 not found.

command_type
testcase_test