Testcase: test_locationmanager.TestLocationManager.test_del_add_bug

Build #:158:20140202: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/tmpLSDMvT/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
07:49:15.004 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

07:49:15.397 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:49:15.750 INFO globals:56 - ************************************************************
07:49:15.753 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug (with touch)
07:49:15.756 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:49:15.909 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:49:15.910 DEBUG __init__:66 - Running via click package
07:49:18.713 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4221
07:49:20.665 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:49:20.820 DEBUG test_locationmanager:34 - Closing app
07:49:20.825 INFO _launcher:251 - waiting for process to exit.
07:49:20.829 INFO _launcher:267 - Killing process 4221
07:49:21.862 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:49:21.863 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:49:21.866 DEBUG __init__:172 - Creating locations and settings tables
07:49:21.867 DEBUG __init__:142 - Executing sql
07:49:21.868 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:49:21.870 DEBUG __init__:142 - Executing sql
07:49:21.870 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:49:21.871 DEBUG test_locationmanager:39 - Adding fake data to new database
07:49:21.872 DEBUG __init__:182 - Adding locations to database
07:49:22.114 DEBUG test_locationmanager:41 - Re-Launching app to introspect
07:49:22.116 INFO globals:56 - ************************************************************
07:49:22.117 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug (with touch)
07:49:22.117 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:49:22.128 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:49:22.129 DEBUG __init__:66 - Running via click package
07:49:25.039 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4326
07:49:26.668 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:49:26.727 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:26.806 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:26.808 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:49:26.893 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:26.991 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('EditButton',). Keyword arguments: {}.
07:49:26.993 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'EditButton'}
07:49:27.131 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:27.133 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:27.236 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:27.237 DEBUG _uinput:332 - Tapping at: 579,1208
07:49:27.339 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'existingLocationItem0'}
07:49:28.501 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:49:28.540 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:49:28.637 DEBUG _uinput:366 - Dragging from 109,572 to 658,572
07:49:28.864 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:49:28.908 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:49:30.011 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {}
07:49:30.098 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
07:49:30.176 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:30.241 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:49:31.008 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:31.009 DEBUG _uinput:332 - Tapping at: 642,130
07:49:31.111 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:31.413 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:31.414 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:49:31.445 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:31.509 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('EditButton',). Keyword arguments: {}.
07:49:31.518 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'EditButton'}
07:49:31.645 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:31.646 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:49:31.706 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:31.707 DEBUG _uinput:332 - Tapping at: 579,1208
07:49:31.809 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:32.033 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'AddCityListItem'}
07:49:32.602 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:32.603 DEBUG _uinput:332 - Tapping at: 384,684
07:49:32.709 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:33.116 DEBUG dbus:431 - Selecting objects of type DefaultSheet with attributes: {'objectName': 'AddLocationSheet'}
07:49:34.130 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:34.189 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'SearchField'}
07:49:35.113 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:35.114 DEBUG _uinput:332 - Tapping at: 384,265
07:49:36.302 DEBUG _uinput:135 - Typing text 'Cairo'
07:49:36.303 DEBUG _uinput:80 - Pressing C (42)
07:49:36.406 DEBUG _uinput:80 - Pressing C (46)
07:49:36.514 DEBUG _uinput:103 - Releasing C (42)
07:49:36.616 DEBUG _uinput:103 - Releasing C (46)
07:49:36.717 DEBUG _uinput:80 - Pressing a (30)
07:49:36.818 DEBUG _uinput:103 - Releasing a (30)
07:49:36.921 DEBUG _uinput:80 - Pressing i (23)
07:49:37.030 DEBUG _uinput:103 - Releasing i (23)
07:49:37.131 DEBUG _uinput:80 - Pressing r (19)
07:49:37.233 DEBUG _uinput:103 - Releasing r (19)
07:49:37.335 DEBUG _uinput:80 - Pressing o (24)
07:49:37.439 DEBUG _uinput:103 - Releasing o (24)
07:49:37.748 DEBUG _uinput:122 - Pressing and Releasing: Enter
07:49:37.749 DEBUG _uinput:80 - Pressing Enter (28)
07:49:37.861 DEBUG _uinput:103 - Releasing Enter (28)
07:49:37.962 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:38.041 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'SearchingSpinner'}
07:49:40.772 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:40.825 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'SearchResultList'}
07:49:41.816 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:41.876 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'searchResult0'}
07:49:42.809 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:42.810 DEBUG _uinput:332 - Tapping at: 125,416
07:49:42.914 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:43.035 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'text': 'Cairo'}
07:49:43.722 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:43.808 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:49:44.368 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:49:44.370 DEBUG _uinput:332 - Tapping at: 642,130
07:49:44.473 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:44.595 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:49:45.284 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:45.364 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:49:45.877 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:45.935 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'objectName': 'LocationTab'}
07:49:46.420 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:49:46.521 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'index': 1}
07:49:47.073 INFO _launcher:251 - waiting for process to exit.
07:49:47.074 INFO _launcher:267 - Killing process 4326
07:49:48.150 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_del_add_bug(with touch)
ADB_RC=0
command_type
testcase_test