Testcase: test_location_lookup(with touch)

Build #:217:20140303:20140301.1
Arch:manta (Nexus 10)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_location_lookup(with touch)
testsuite
ubuntu_weather_app.tests.test_locationmanager.TestLocationManager
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  3 06:44:26 ubuntu-phablet kernel: [  165.992435] iio-buffer, current state requested again
Mar  3 06:44:27 ubuntu-phablet kernel: [  166.466549] mali mali.0: state restore latency exceeded, new value 3412125 ns
Mar  3 06:44:27 ubuntu-phablet kernel: [  166.707617] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2223/2225]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2225]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2226]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2226]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d84ead 0xb3d84e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2277/2280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2277/2280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d4eead 0xb3d4ee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2332/2335]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2332/2335]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3d5bead 0xb3d5be59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.305
[London] returning cached data, time from last fetch: 2.281
Detectable autorepeat not supported. 
libust[2390/2393]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2390/2393]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e36ead 0xb3e36e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.38
[London] returning cached data, time from last fetch: 2.342
Detectable autorepeat not supported. 
Sent request URL: http://wxdata.weather.com/wxdata/mobile/mobagg/GMXX0049.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48
Sent request URL: http://wxdata.weather.com/wxdata/mobile/mobagg/UKXX0085.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48
[Hamburg] {"year":2014,"month":2,"date":3,"hours":7,"minutes":43}
[London] {"year":2014,"month":2,"date":3,"hours":6,"minutes":43}
libust[2485/2488]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2485/2488]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d5cead 0xb3d5ce59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=30.06263&lng=31.24967
[Cairo] {"year":2014,"month":2,"date":3,"hours":8,"minutes":43}
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3ddeead 0xb3ddee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.452
[London] returning cached data, time from last fetch: 2.425
Detectable autorepeat not supported. 
libust[2601/2604]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2601/2604]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3e0bead 0xb3e0be59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2650/2653]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2650/2653]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d73ead 0xb3d73e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2698/2701]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2698/2701]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e2cead 0xb3e2ce59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.173
[London] returning cached data, time from last fetch: 2.148
Detectable autorepeat not supported. 
[London] returning cached data, time from last fetch: 9.736
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Cairo&maxRows=25&featureClass=P
[London] returning cached data, time from last fetch: 21.471
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=30.06263&lng=31.24967
[Cairo] {"year":2014,"month":2,"date":3,"hours":8,"minutes":44}
libust[2913/2916]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2913/2916]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3de0ead 0xb3de0e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Paris&maxRows=25&featureClass=P
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=48.85341&lng=2.3488
[Paris] {"year":2014,"month":2,"date":3,"hours":7,"minutes":44}
libust[2966/2969]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2966/2969]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d59ead 0xb3d59e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Sent request URL: http://geoip.ubuntu.com/lookup
Geolookup: {"lat":"42.3584","lon":"-71.0598"}
Sent request URL: http://api.geonames.org/findNearbyPlaceNameJSON?style=full&username=uweatherdev&lat=42.3584&lng=-71.0598&maxRows=25&featureClass=P
Detectable autorepeat not supported. 
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=42.35843&lng=-71.05977
[Boston] {"year":2014,"month":2,"date":3,"hours":1,"minutes":44}
}}}

test-log: {{{
06:44:24.781 INFO globals:57 - ************************************************************
06:44:24.782 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_location_lookup (with touch)
06:44:24.785 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:44:24.791 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:44:24.792 DEBUG __init__:66 - Running via click package
06:44:26.367 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2966
06:44:27.797 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:44:27.845 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:27.866 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'LocationLookupItem'}
06:44:28.022 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:44:28.023 DEBUG _uinput:475 - Tapping at: 1280,408
06:44:28.125 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:28.176 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LookupIndicator'}
06:44:31.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:31.515 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'CurrentLocationLabel'}
06:44:31.688 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:31.706 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'LookupItemAddButton'}
06:44:31.811 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:44:31.811 DEBUG _uinput:475 - Tapping at: 2400,408
06:44:31.914 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:31.986 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'existingLocation0'}
06:44:32.168 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:32.196 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:44:32.339 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:44:32.340 DEBUG _uinput:475 - Tapping at: 2420,144
06:44:32.441 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:32.511 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:44:45.823 ERROR proxies:410 - Introspect error on :1.135:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
06:44:45.824 DEBUG proxies:413 - Executing introspect queue due to error
06:44:45.832 INFO _launcher:258 - waiting for process to exit.
06:44:45.833 INFO _launcher:273 - Killing process 2966
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 228, in test_location_lookup
    self.assertThat(load_indicator.running, Eventually(Equals(False), timeout=120))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 404, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 454, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 113, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/types.py", line 158, in wait_for
    _, new_state = self.parent.get_new_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 560, in get_new_state
    return self.get_state_by_path(self.get_class_query_string())[0]
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.135 was not provided by any .service files

command_type
testcase_test