Testcase: test_remove_location(with touch)

Build #:20141011 ?
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_remove_location(with touch)
testsuite
ubuntu_weather_app.tests.test_locationmanager.TestLocationManagerWithPreloadDatabase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog

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)
libust[4651/4654]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4651/4654]: 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:4651): 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: 1.994
qml: [London] returning cached data, time from last fetch: 1.936
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[4703/4706]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4703/4706]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4703/4705]: 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:4703): 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.036
qml: [London] returning cached data, time from last fetch: 1.989
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[4750/4752]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4750/4752]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4750/4753]: 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:4750): 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: 1.948
qml: [London] returning cached data, time from last fetch: 1.902
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[4803/4805]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4803/4805]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4803/4806]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4803/4806]: 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:4803): 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: 1.991
qml: [London] returning cached data, time from last fetch: 1.944
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:05:05.619 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
23:05:05.645 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
23:05:05.651 DEBUG __init__:207 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
23:05:05.653 DEBUG __init__:221 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
23:05:05.656 DEBUG __init__:230 - Creating locations and settings tables
23:05:05.658 DEBUG __init__:200 - Executing sql
23:05:05.658 DEBUG __init__:201 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
23:05:05.660 DEBUG __init__:200 - Executing sql
23:05:05.661 DEBUG __init__:201 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
23:05:05.662 DEBUG test_locationmanager:259 - Adding fake data to new database
23:05:05.666 DEBUG __init__:251 - Adding locations to database
23:05:05.737 DEBUG test_locationmanager:261 - Re-Launching app to introspect
23:05:05.738 DEBUG __init__:95 - Running via click package
23:05:05.739 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
23:05:06.489 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
23:05:09.478 DEBUG dbus:352 - Selecting objects of type LocationTab with attributes: {}
23:05:10.196 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:05:10.197 DEBUG _uinput:470 - Tapping at: 1137,121
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 283, in test_remove_location
    self._remove_location()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 264, in _remove_location
    self._open_location_manager()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 40, in _open_location_manager
    self.main_view.get_header().click_action_button("EditButton")
  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