Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:109:20140103.1:20131223.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_scale_cancel
testsuite
/tmp/tmpidDWal/testsuites/ubuntu-weather-app-autopilot
returncode
1
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

18:57:49.334 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
18:57:49.356 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
18:57:49.357 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
18:57:49.361 DEBUG __init__:172 - Creating locations and settings tables
18:57:49.362 DEBUG __init__:142 - Executing sql
18:57:49.362 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
18:57:49.364 DEBUG __init__:142 - Executing sql
18:57:49.365 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
18:57:49.366 DEBUG test_settings:25 - Adding fake data to new database
18:57:49.367 DEBUG __init__:182 - Adding locations to database
18:57:49.421 DEBUG __init__:191 - Adding units to database
18:57:49.422 DEBUG __init__:142 - Executing sql
18:57:49.422 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
18:57:49.779 INFO globals:56 - ************************************************************
18:57:49.780 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
18:57:49.782 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
18:57:49.916 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
18:57:49.917 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
18:57:52.707 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5444
18:57:54.403 INFO testcase:540 - waiting for process to exit.
18:57:54.403 INFO testcase:542 - Killing process 5444
18:57:54.404 INFO testcase:545 - Appears process has already exited.
18:57:54.407 ERROR testresult:37 - ERROR: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
18:57:54.408 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 28, in setUp
super(TestSettings, 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 88, 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 5444
}}}
ADB_RC=1
command_type
testcase_test