Testcase: test_location_lookup(with touch)

Build #:218:20140303.1: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 17:36:08 ubuntu-phablet kernel: [  163.515063] iio-buffer, current state requested again
Mar  3 17:36:09 ubuntu-phablet kernel: [  164.170698] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2249/2251]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2249/2251]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2249/2250]: 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".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d94ead 0xb3d94e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2299/2302]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2299/2302]: 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 0xb3dd3ead 0xb3dd3e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2360/2362]: Error: Error opening shm /lttng-ust-wait-5 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2360/2362]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2360/2363]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2360/2363]: 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".
[Hamburg] returning cached data, time from last fetch: 2.601
[London] returning cached data, time from last fetch: 2.582
callbacks 0xb3e21ead 0xb3e21e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene:
weather'file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of
undefined
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
libust[2411/2414]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2411/2414]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2411/2413]: 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 0xb3e3eead 0xb3e3ee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.103
[London] returning cached data, time from last fetch: 2.083
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":18,"minutes":34}
[London] {"year":2014,"month":2,"date":3,"hours":17,"minutes":35}
libust[2519/2522]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2519/2522]: 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 0xb3de6ead 0xb3de6e59
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":19,"minutes":35}
libust[2575/2577]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2575/2577]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2575/2578]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2575/2578]: 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 0xb3e35ead 0xb3e35e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.424
[London] returning cached data, time from last fetch: 2.392
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
libust[2623/2626]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2623/2626]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2623/2625]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2623/2625]: 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".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d55ead 0xb3d55e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2672/2675]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2672/2675]: 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 0xb3e2cead 0xb3e2ce59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2720/2722]: Error: Error opening shm /lttng-ust-wait-5 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2720/2722]: 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 0xb3e38ead 0xb3e38e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.347
[London] returning cached data, time from last fetch: 2.324
Detectable autorepeat not supported. 
[London] returning cached data, time from last fetch: 9.892
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: 20.373
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":19,"minutes":35}
libust[2927/2930]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2927/2930]: 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 0xb3ddbead 0xb3ddbe59
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":18,"minutes":36}
libust[2987/2990]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2987/2990]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2987/2989]: 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".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d95ead 0xb3d95e59
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":12,"minutes":36}
}}}

test-log: {{{
17:36:06.847 INFO globals:57 - ************************************************************
17:36:06.848 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_location_lookup (with touch)
17:36:06.849 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
17:36:06.852 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
17:36:06.853 DEBUG __init__:66 - Running via click package
17:36:08.412 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2987
17:36:09.879 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:36:09.919 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:09.940 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'LocationLookupItem'}
17:36:10.082 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:36:10.083 DEBUG _uinput:475 - Tapping at: 1280,408
17:36:10.185 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:10.271 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LookupIndicator'}
17:36:11.504 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:11.542 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'CurrentLocationLabel'}
17:36:11.703 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:11.720 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'LookupItemAddButton'}
17:36:11.819 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:36:11.820 DEBUG _uinput:475 - Tapping at: 2400,408
17:36:11.923 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:11.992 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'existingLocation0'}
17:36:12.227 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:12.257 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:36:12.423 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:36:12.424 DEBUG _uinput:475 - Tapping at: 2420,144
17:36:12.526 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:36:12.614 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:36:28.695 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)
17:36:28.696 DEBUG proxies:413 - Executing introspect queue due to error
17:36:28.708 INFO _launcher:258 - waiting for process to exit.
17:36:28.709 INFO _launcher:273 - Killing process 2987
}}}

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