Testcase: test_locationmanager.TestLocationManager.test_cancel_adding_location

Build #:49:20131205:20131203
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_locationmanager.TestLocationManager.test_cancel_adding_location
testsuite
/tmp/tmp_o0dnZ/testsuites/ubuntu-weather-app-autopilot
returncode
1
command
autopilot-run ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_cancel_adding_location
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

17:27:54.823 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu1
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
17:27:57.772 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 3109
17:28:00.165 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:28:00.238 INFO testcase:540 - waiting for process to exit.
17:28:00.238 INFO testcase:542 - Killing process 3109
17:28:01.250 INFO globals:56 - ************************************************************
17:28:01.254 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_cancel_adding_location (with
touch)
17:28:01.258 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:28:01.452 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
17:28:04.323 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 3201
17:28:07.091 INFO testcase:540 - waiting for process to exit.
17:28:07.092 INFO testcase:542 - Killing process 3201
17:28:07.092 INFO testcase:545 - Appears process has already exited.
17:28:07.096 ERROR testresult:37 - ERROR: ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_cancel_adding_location(with touch)
17:28:07.097 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 25, in setUp
super(TestLocationManager, self).setUp()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 43, in setUp
self.launch_app()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 57, in launch_app
self.launch_test_click()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 78, in launch_test_click
emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 358, in launch_click_package
emulator_base=emulator_base
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 269, in get_proxy_object_for_existing_process
process
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 308, in _get_dbus_addresses_from_search_parameters
object_path
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 336, in _search_for_valid_connections
object_path
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 348, in _get_valid_connections
valid_connections = filter(filter_fn, connections)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 394, in _match_connection
success = _connection_matches_pid(bus, connection_name, pid)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 416, in _connection_matches_pid
eligible_pids = [pid] + _get_child_pids(pid)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 464, 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 228, in __init__
raise NoSuchProcess(pid, None, 'no process found with pid %s' % pid)
NoSuchProcess: no process found with pid 3201
}}}
ADB_RC=1
command_type
testcase_test