Testcase: test_cancel_remove_location(with touch)

Build #:62:20140928:20140923
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_cancel_remove_location(with touch)
testsuite
ubuntu_weather_app.tests.test_locationmanager.TestLocationManagerWithPreloadDatabase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.782237] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -73, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.783061] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
1, rssi = -72, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.783824] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -64, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.784556] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dc chan=
161, rssi = -63, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.785655] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -63, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.787211] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -62, countryCode US
Sep 28 07:47:49 ubuntu-phablet kernel: [  145.788158] wlan: [1405:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -61, countryCode US
}}}

test-log: {{{
07:47:36.159 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:47:36.166 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:47:36.168 DEBUG __init__:207 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:47:36.170 DEBUG __init__:221 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:47:36.173 DEBUG __init__:230 - Creating locations and settings tables
07:47:36.174 DEBUG __init__:200 - Executing sql
07:47:36.175 DEBUG __init__:201 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:47:36.177 DEBUG __init__:200 - Executing sql
07:47:36.177 DEBUG __init__:201 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:47:36.179 DEBUG test_locationmanager:259 - Adding fake data to new database
07:47:36.181 DEBUG __init__:251 - Adding locations to database
07:47:36.254 DEBUG test_locationmanager:261 - Re-Launching app to introspect
07:47:36.255 DEBUG __init__:95 - Running via click package
07:47:36.256 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
07:47:37.073 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 251, in setUp
    self.launch_app()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 96, in launch_app
    self.launch_test_click()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 115, in launch_test_click
    emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 310, in launch_click_package
    return launcher.launch(package_id, app_name, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 283, in launch
    return super().launch(app_id, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 140, in launch
    state.get('message', '')
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 233, in _check_status_error
    raise RuntimeError(': '.join(message_parts))
RuntimeError: Timed out while waiting for application to launch

command_type
testcase_test