Testcase: test_settings.TestSettings.test_switch_scale

Build #:48:20131204.1:20131203
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

07:40:26.615 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu1
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
07:40:30.571 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 5056
07:40:31.800 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:40:31.892 INFO testcase:540 - waiting for process to exit.
07:40:31.892 INFO testcase:542 - Killing process 5056
07:40:32.975 INFO globals:56 - ************************************************************
07:40:32.976 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:40:32.977 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:40:33.096 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
07:40:36.043 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 5152
07:40:38.000 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:40:38.108 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:38.238 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:38.747 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:38.823 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:40:39.278 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:40:39.450 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:39.618 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:39.908 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:40.023 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:40:40.529 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:40.579 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:40:41.052 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:40:41.264 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:40:41.384 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:40:41.494 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:40:41.541 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:40:41.614 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:40:42.013 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:42.072 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:40:42.073 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:40:42.128 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:40:42.182 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:40:42.183 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:40:42.375 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:42.376 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:40:42.431 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:42.432 DEBUG _uinput:332 - Tapping at: 687,1208
07:40:42.535 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:42.935 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:40:43.717 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:43.813 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:40:44.698 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:44.739 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:44.802 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:44.803 DEBUG _uinput:332 - Tapping at: 384,347
07:40:44.906 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:44.995 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:40:45.767 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:45.825 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:40:46.619 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:46.620 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:46.675 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:46.742 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:46.743 DEBUG _uinput:332 - Tapping at: 99,455
07:40:46.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:46.992 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:40:47.801 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:47.865 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:40:48.665 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:48.666 DEBUG _uinput:332 - Tapping at: 384,491
07:40:48.769 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:48.884 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:40:49.619 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:49.697 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:40:50.485 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:50.486 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:50.535 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:40:50.613 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:50.614 DEBUG _uinput:332 - Tapping at: 99,636
07:40:50.794 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:50.861 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:40:51.612 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:40:51.613 DEBUG _uinput:332 - Tapping at: 126,130
07:40:51.715 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:51.781 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:52.568 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:52.657 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:40:53.129 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:40:53.312 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:53.541 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:40:53.883 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:53.981 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:40:54.494 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:40:54.546 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:40:55.036 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:40:55.233 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:40:55.366 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:40:55.413 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:40:55.475 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:40:55.534 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:40:55.826 INFO testcase:540 - waiting for process to exit.
07:40:55.827 INFO testcase:542 - Killing process 5152
07:40:56.842 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
07:40:59.804 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 5254
07:41:02.565 INFO testcase:540 - waiting for process to exit.
07:41:02.569 INFO testcase:542 - Killing process 5254
07:41:02.576 INFO testcase:545 - Appears process has already exited.
07:41:02.578 ERROR testresult:37 - ERROR: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
07:41:02.578 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 21, in setUp
self.launch_and_quit_app()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 81, in launch_and_quit_app
self.launch_app()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 57, in launch_app
self.launch_test_click()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/__init__.py", line 78, 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 5254
}}}
ADB_RC=1
command_type
testcase_test