Testcase: test_switch_scale(with touch)

Build #:73:20141008.1:20140929.1
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_scale(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.040069] bq27541_get_psp voltage_now= 4172000 uV
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.041625] bq27541_get_psp status: Charging ret= 0x0101
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.043182] bq27541_get_psp current = 22 mA
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.043823] bq27541_get_psp voltage_now= 4172000 uV
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.044525] bq27541_get_capacity = 92% ret= 91
Oct  8 14:01:14 ubuntu-phablet kernel: [  215.045166] bq27541_get_psp temperature= 260 (0.1¢XC)
}}}

Application Log (com.ubuntu.weather_weather_1.1.374): {{{
libust[4164/4166]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4164/4166]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4164/4167]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4164/4167]: 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:4164): 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.246
qml: [London] returning cached data, time from last fetch: 3.21
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)
libust[4267/4269]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4267/4269]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4267): 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: 2.759
qml: [London] returning cached data, time from last fetch: 2.715
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)
libust[4322/4324]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4322/4324]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4322): 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: 2.788
qml: [London] returning cached data, time from last fetch: 2.732
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)
libust[4627/4630]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4627/4630]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4627/4629]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4627/4629]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4627): 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: 2.936
qml: [London] returning cached data, time from last fetch: 2.883
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)
libust[4699/4701]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4699/4701]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4699/4702]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4699/4702]: 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:4699): 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: 2.769
qml: [London] returning cached data, time from last fetch: 2.715
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)
libust[4782/4785]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4782/4785]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4782/4784]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4782/4784]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4782): 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: 2.728
qml: [London] returning cached data, time from last fetch: 2.676
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)
libust[4841/4844]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4841/4844]: 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:4841): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed
The schema com.canonical.Unity.Thumbnailer is missing
qml: Database created
qml: Settings table added, Database upgraded to v0.2
qml: Removed old locations, Database upgraded to v0.3
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon10.qml:34:5: QML Image: Failed to get image from provider: image://theme/back
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
libust[4962/4965]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4962/4965]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4962/4964]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4962/4964]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4962): 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: 2.738
qml: [London] returning cached data, time from last fetch: 2.684
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)
libust[5017/5019]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5017/5019]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5017/5020]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5017/5020]: 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:5017): 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: 2.797
qml: [London] returning cached data, time from last fetch: 2.747
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)
libust[5069/5072]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5069/5072]: 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:5069): 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: 2.734
qml: [London] returning cached data, time from last fetch: 2.684
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)
libust[5122/5124]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5122/5124]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5122/5125]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5122/5125]: 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:5122): 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: 2.903
qml: [London] returning cached data, time from last fetch: 2.869
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)
libust[5199/5202]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5199/5202]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5199/5201]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5199/5201]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:5199): 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: 2.859
qml: [London] returning cached data, time from last fetch: 2.81
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: {{{
14:01:06.078 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
14:01:06.086 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
14:01:06.088 DEBUG __init__:95 - Running via click package
14:01:06.089 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
14:01:06.841 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
14:01:11.082 DEBUG dbus:352 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
14:01:13.457 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:01:13.458 DEBUG _uinput:470 - Tapping at: 1137,121
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 150, in test_switch_scale
    self._open_settings_page()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 34, in _open_settings_page
    self.main_view.get_header().click_action_button("SettingsButton")
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 141, in click_action_button
    button = self._get_action_button(action_object_name)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 232, in _get_action_button
    'Button not found in header or overflow')
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Button not found in header or overflow

command_type
testcase_test