Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:31:20131126.1:20131126
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

15:14:57.283 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
15:15:00.170 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 7343
15:15:02.405 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
15:15:02.513 INFO testcase:540 - waiting for process to exit.
15:15:02.514 INFO testcase:542 - Killing process 7343
15:15:03.835 INFO globals:56 - ************************************************************
15:15:03.837 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
15:15:03.838 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
15:15:03.992 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.158
15:15:06.894 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.158 has been launched with PID 7441
15:15:08.854 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
15:15:08.969 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:09.031 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
15:15:09.614 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:09.662 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
15:15:10.127 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
15:15:10.305 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
15:15:10.504 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
15:15:10.762 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:10.867 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
15:15:11.396 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:11.443 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
15:15:11.887 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
15:15:12.107 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
15:15:12.228 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
15:15:12.266 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
15:15:12.302 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
15:15:12.343 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
15:15:12.728 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:12.832 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:15:12.836 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
15:15:12.952 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:15:13.022 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
15:15:13.023 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
15:15:13.150 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:15:13.151 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:15:13.299 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:15:13.301 DEBUG _uinput:332 - Tapping at: 687,1208
15:15:13.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:15:13.465 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
15:15:13.925 INFO testcase:540 - waiting for process to exit.
15:15:13.928 INFO testcase:542 - Killing process 7441
15:15:14.946 ERROR testresult:37 - ERROR: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
15:15:14.951 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 160, in test_switch_scale_cancel
self.assertThat(lambda: self.main_window.select_single('OptionSelector', objectName='TemperatureUnitsSelector'), Eventually(Not(Is(None))))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 110, in match
wait_fun(self.matcher, self.timeout)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 126, in _callable_wait_for
new_value = refresh_fn()
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 160, in <lambda>
self.assertThat(lambda: self.main_window.select_single('OptionSelector', objectName='TemperatureUnitsSelector'), Eventually(Not(Is(None))))
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 322, in select_single
raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class 'OptionSelector' and filters {'objectName': 'TemperatureUnitsSelector'}.
}}}
ADB_RC=1
command_type
testcase_test