Testcase: test_locationmanager.TestLocationManagerWithLocation.test_remove_location

Build #:12:20131105:20131031.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

00:07:57.705 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu2
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.148
00:08:00.543 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.148 has been launched with PID 6131
00:08:02.849 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
00:08:02.972 INFO testcase:530 - waiting for process to exit.
00:08:02.975 INFO testcase:532 - Killing process 6131
00:08:04.260 INFO globals:49 - ************************************************************
00:08:04.261 INFO globals:50 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManagerWithLocation.test_remove_location (with
touch)
00:08:04.262 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
00:08:04.332 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.148
00:08:07.169 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.148 has been launched with PID 6210
00:08:08.990 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
00:08:09.057 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
00:08:09.114 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {'objectName': 'rootTabs'}
00:08:09.638 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
00:08:09.683 DEBUG dbus:415 - Selecting objects of type LocationTab with attributes: {'objectName': 'LocationTab'}
00:08:10.055 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
00:08:10.108 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
00:08:10.422 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
00:08:11.794 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'EditButton'}
00:08:11.850 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:08:11.851 DEBUG _uinput:331 - Tapping at: 579,1208
00:08:11.964 DEBUG dbus:415 - Selecting objects of type ComposerSheet with attributes: {}
00:08:12.272 DEBUG dbus:415 - Selecting objects of type QQuickListView with attributes: {}
00:08:12.331 DEBUG dbus:415 - Selecting objects of type Standard with attributes: {'objectName': 'existingLocationItem0'}
00:08:12.904 DEBUG dbus:415 - Selecting objects of type Standard with attributes: {'objectName': 'existingLocationItem0'}
00:08:13.478 DEBUG _uinput:365 - Dragging from 109,572 to 658,572
00:08:13.728 DEBUG dbus:415 - Selecting objects of type Label with attributes: {}
00:08:13.875 DEBUG dbus:415 - Selecting objects of type Label with attributes: {}
00:08:13.934 DEBUG dbus:415 - Selecting objects of type Label with attributes: {}
00:08:14.029 DEBUG dbus:415 - Selecting objects of type Standard with attributes: {'objectName': 'existingLocationItem0'}
00:08:14.652 INFO testcase:530 - waiting for process to exit.
00:08:14.653 INFO testcase:532 - Killing process 6210
00:08:15.675 ERROR testresult:35 - ERROR: ubuntu_weather_app.tests.test_locationmanager.TestLocationManagerWithLocation.test_remove_location(with
touch)
00:08:15.679 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 291, in test_remove_location
self._swipe_location_to_remove()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 270, in _swipe_location_to_remove
self.pointing_device.click_object(trashcanLabel)
File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 613, in click_object
self.move_to_object(object_proxy)
File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 630, in move_to_object
x, y = get_center_point(object_proxy)
File "/usr/lib/python2.7/dist-packages/autopilot/input/_common.py", line 34, in get_center_point
x, y, w, h = object_proxy.globalRect
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 493, in __getattr__
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 447, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 537, in get_new_state
raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: State not found for class 'Label' and filters {'id': dbus.Int64(30L, variant_level=1)}.
}}}
ADB_RC=1
command_type
testcase_test