Testcase: test_locationmanager.TestLocationManager.test_del_add_bug

Build #:148:20140126:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

07:21:19.364 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:21:19.388 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:21:19.743 INFO globals:56 - ************************************************************
07:21:19.745 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug (with touch)
07:21:19.747 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:21:19.931 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:21:19.931 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:21:23.780 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5407
07:21:24.706 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:21:24.762 DEBUG test_locationmanager:34 - Closing app
07:21:24.763 INFO testcase:540 - waiting for process to exit.
07:21:24.764 INFO testcase:542 - Killing process 5407
07:21:25.769 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:21:25.777 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:21:25.793 DEBUG __init__:172 - Creating locations and settings tables
07:21:25.798 DEBUG __init__:142 - Executing sql
07:21:25.800 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:21:25.809 DEBUG __init__:142 - Executing sql
07:21:25.811 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:21:25.817 DEBUG test_locationmanager:39 - Adding fake data to new database
07:21:25.826 DEBUG __init__:182 - Adding locations to database
07:21:25.891 DEBUG test_locationmanager:41 - Re-Launching app to introspect
07:21:25.893 INFO globals:56 - ************************************************************
07:21:25.894 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug (with touch)
07:21:25.895 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:21:25.899 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:21:25.900 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:21:29.733 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5500
07:21:30.050 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.68: DBusException("Could not get PID of name ':1.68': no such
name",)
07:21:30.065 INFO __init__:414 - dbus.DBusException while attempting to get PID for com.canonical.applications.Downloader: DBusException("Could not
get PID of name 'com.canonical.applications.Downloader': no such name",)
07:21:30.139 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.67: DBusException("Could not get PID of name ':1.67': no such
name",)
07:21:31.154 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:21:31.232 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:31.287 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:31.288 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:21:31.325 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:31.366 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('EditButton',). Keyword arguments: {}.
07:21:31.367 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'EditButton'}
07:21:31.474 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:31.475 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:31.557 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:31.558 DEBUG _uinput:332 - Tapping at: 579,1208
07:21:31.660 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'existingLocationItem0'}
07:21:32.645 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:21:32.701 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:21:32.813 DEBUG _uinput:366 - Dragging from 109,572 to 658,572
07:21:33.039 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:21:33.090 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:21:34.172 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:21:34.258 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:21:34.341 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:34.399 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:21:35.064 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:35.065 DEBUG _uinput:332 - Tapping at: 642,130
07:21:35.168 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:35.294 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:35.295 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:21:35.488 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:35.538 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('EditButton',). Keyword arguments: {}.
07:21:35.539 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'EditButton'}
07:21:35.638 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:35.640 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:21:35.716 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:35.722 DEBUG _uinput:332 - Tapping at: 579,1208
07:21:35.824 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:36.031 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'AddCityListItem'}
07:21:36.627 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:36.628 DEBUG _uinput:332 - Tapping at: 384,684
07:21:36.731 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:37.141 DEBUG dbus:431 - Selecting objects of type DefaultSheet with attributes: {'objectName': 'AddLocationSheet'}
07:21:38.039 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:38.092 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'SearchField'}
07:21:38.946 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:38.947 DEBUG _uinput:332 - Tapping at: 384,265
07:21:40.096 DEBUG _uinput:135 - Typing text 'Cairo'
07:21:40.097 DEBUG _uinput:80 - Pressing C (42)
07:21:40.200 DEBUG _uinput:80 - Pressing C (46)
07:21:40.314 DEBUG _uinput:103 - Releasing C (42)
07:21:40.415 DEBUG _uinput:103 - Releasing C (46)
07:21:40.516 DEBUG _uinput:80 - Pressing a (30)
07:21:40.617 DEBUG _uinput:103 - Releasing a (30)
07:21:40.718 DEBUG _uinput:80 - Pressing i (23)
07:21:40.819 DEBUG _uinput:103 - Releasing i (23)
07:21:40.921 DEBUG _uinput:80 - Pressing r (19)
07:21:41.028 DEBUG _uinput:103 - Releasing r (19)
07:21:41.129 DEBUG _uinput:80 - Pressing o (24)
07:21:41.230 DEBUG _uinput:103 - Releasing o (24)
07:21:41.416 DEBUG _uinput:122 - Pressing and Releasing: Enter
07:21:41.417 DEBUG _uinput:80 - Pressing Enter (28)
07:21:41.518 DEBUG _uinput:103 - Releasing Enter (28)
07:21:41.619 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:41.685 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'SearchingSpinner'}
07:21:43.389 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:43.442 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'SearchResultList'}
07:21:44.507 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:44.630 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'searchResult0'}
07:21:45.559 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:45.560 DEBUG _uinput:332 - Tapping at: 125,416
07:21:45.662 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:45.778 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'text': 'Cairo'}
07:21:46.523 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:46.568 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:21:47.140 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:21:47.141 DEBUG _uinput:332 - Tapping at: 642,130
07:21:47.242 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:47.368 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:21:49.028 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:49.125 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:21:49.696 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:49.750 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'objectName': 'LocationTab'}
07:21:50.226 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:21:50.307 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'index': 1}
07:21:50.893 INFO testcase:540 - waiting for process to exit.
07:21:50.895 INFO testcase:542 - Killing process 5500
07:21:51.907 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug(with touch)
ADB_RC=0
command_type
testcase_test