Testcase: test_location_lookup(with touch)

Build #:216:20140302: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  2 06:42:53 ubuntu-phablet kernel: [  172.316067] iio-buffer, current state requested again
Mar  2 06:42:53 ubuntu-phablet kernel: [  172.936389] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2297/2300]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2297/2300]: 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 0xb3d8aead 0xb3d8ae59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2348/2351]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2348/2351]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2348/2350]: 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 0xb3d47ead 0xb3d47e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2402/2405]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2402/2405]: 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 0xb3d86ead 0xb3d86e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.287
[London] returning cached data, time from last fetch: 2.262
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[2452/2455]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2452/2455]: 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 0xb3d97ead 0xb3d97e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.155
[London] returning cached data, time from last fetch: 2.114
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":2,"hours":7,"minutes":41}
[London] {"year":2014,"month":2,"date":2,"hours":6,"minutes":41}
libust[2556/2559]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2556/2559]: 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 0xb3db9ead 0xb3db9e59
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":2,"hours":8,"minutes":41}
libust[2610/2613]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2610/2613]: 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 0xb3dd9ead 0xb3dd9e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.26
[London] returning cached data, time from last fetch: 2.23
Detectable autorepeat not supported. 
libust[2673/2676]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2673/2676]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2673/2675]: 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 0xb3db7ead 0xb3db7e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2721/2724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2721/2724]: 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 0xb3e22ead 0xb3e22e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2769/2772]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2769/2772]: 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 0xb3e32ead 0xb3e32e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.306
[London] returning cached data, time from last fetch: 2.277
Detectable autorepeat not supported. 
[London] returning cached data, time from last fetch: 10.074
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.374
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":2,"hours":8,"minutes":42}
libust[2825/2828]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2825/2828]: 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 0xb3dc5ead 0xb3dc5e59
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":2,"hours":7,"minutes":42}
libust[2878/2881]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2878/2881]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2878/2880]: 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'
}}}

test-log: {{{
06:42:51.222 INFO globals:57 - ************************************************************
06:42:51.222 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_location_lookup (with touch)
06:42:51.223 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:42:51.227 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:42:51.228 DEBUG __init__:66 - Running via click package
06:42:52.820 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2878
06:43:04.505 ERROR proxies:410 - Introspect error on :1.136:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
06:43:04.505 DEBUG proxies:413 - Executing introspect queue due to error
06:43:04.521 INFO __init__:387 - dbus.DBusException while attempting to get PID for :1.135: DBusException("Could not get PID of name ':1.135': no such
name",)
06:43:05.552 INFO _launcher:258 - waiting for process to exit.
06:43:05.552 INFO _launcher:273 - Killing process 2878
06:43:05.553 INFO _launcher:276 - Appears process has already exited.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 29, in setUp
    super(TestLocationManager, self).setUp()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 50, in setUp
    self.launch_app()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 67, in launch_app
    self.launch_test_click()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 86, in launch_test_click
    emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 291, in launch_click_package
    app_uris)
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 314, in _launch_test_application
    application_name=application_name,
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 154, in get_proxy_object_for_existing_process
    process
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 283, in _get_dbus_addresses_from_search_parameters
    object_path
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 309, in _search_for_valid_connections
    object_path
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 321, in _get_valid_connections
    valid_connections = filter(filter_fn, connections)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 367, in _match_connection
    success = _connection_matches_pid(bus, connection_name, pid)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 389, in _connection_matches_pid
    eligible_pids = [pid] + _get_child_pids(pid)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 437, in __call__
    p.pid for p in psutil.Process(pid).get_children(recursive=True)
  File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 232, in __init__
    raise NoSuchProcess(pid, None, 'no process found with pid %s' % pid)
NoSuchProcess: no process found with pid 2878

command_type
testcase_test