Testcase: test_cancel_adding_location(with touch)

Build #:225:20140307.1:20140304
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_cancel_adding_location(with touch)
testsuite
ubuntu_weather_app.tests.test_locationmanager.TestLocationManager
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  7 09:47:41 ubuntu-phablet kernel: [  155.787550] iio-buffer, current state requested again
Mar  7 09:47:41 ubuntu-phablet kernel: [  156.428089] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2113/2116]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2113/2116]: 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 0xb3dceead 0xb3dcee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2164/2167]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2164/2167]: 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 0xb3dc4ead 0xb3dc4e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2212/2215]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2212/2215]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2212/2214]: 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 0xb3db6ead 0xb3db6e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.334
[London] returning cached data, time from last fetch: 2.306
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[2268/2271]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2268/2271]: 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 0xb3e14ead 0xb3e14e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.405
[London] returning cached data, time from last fetch: 2.386
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
[London] {"year":2014,"month":2,"date":7,"hours":9,"minutes":47}
[Hamburg] {"year":2014,"month":2,"date":7,"hours":10,"minutes":47}
libust[2474/2476]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2474/2476]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2474/2475]: 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 0xb3e2bead 0xb3e2be59
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":7,"hours":11,"minutes":47}
libust[2526/2529]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2526/2529]: 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 0xb3debead 0xb3debe59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.272
[London] returning cached data, time from last fetch: 2.248
Detectable autorepeat not supported. 
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".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d83ead 0xb3d83e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'
}}}

test-log: {{{
09:47:39.368 INFO globals:57 - ************************************************************
09:47:39.369 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_cancel_adding_location (with
touch)
09:47:39.370 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:47:39.373 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
09:47:39.374 DEBUG __init__:66 - Running via click package
09:47:41.013 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2575
09:47:53.704 ERROR proxies:410 - Introspect error on :1.106:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
09:47:53.704 DEBUG proxies:413 - Executing introspect queue due to error
09:47:53.824 ERROR proxies:410 - Introspect error on :1.107:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
09:47:53.825 DEBUG proxies:413 - Executing introspect queue due to error
09:47:54.866 INFO _launcher:258 - waiting for process to exit.
09:47:54.867 INFO _launcher:273 - Killing process 2575
09:47:54.868 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 2575

command_type
testcase_test