Autopilot test `test_switch_precipitation_scale` is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Weather App |
Fix Released
|
Critical
|
Martin Borho |
Bug Description
Autopilot tests are currently failing in trunk.
failing test:
- test_settings.
autopilot command to run test:
- $ autopilot-run ubuntu_
more details:
- http://
CI console output and stacktrace:
--------
Loading tests from: /usr/lib/
19:47:31.089 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.
Tests running...
19:47:31.133 INFO __init__:156 - Launching process: ['/usr/
'/usr/share/
__pthread_gettid -2
19:47:33.349 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
19:47:33.433 INFO testcase:552 - waiting for process to exit.
19:47:33.434 INFO testcase:554 - Killing process 3430
19:47:33.512 INFO globals:49 - *******
19:47:33.513 INFO globals:50 - Starting test ubuntu_
19:47:33.515 WARNING testcase:118 - No tracing available - install the python-
19:47:33.575 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
19:47:33.614 INFO __init__:156 - Launching process: ['/usr/
'/usr/share/
19:47:35.399 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
19:47:35.462 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
19:47:35.528 DEBUG dbus:415 - Selecting objects of type WeatherDetailCo
19:47:36.039 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
19:47:36.113 DEBUG dbus:415 - Selecting objects of type WeatherDetailCo
19:47:36.546 INFO testcase:552 - waiting for process to exit.
19:47:36.547 INFO testcase:554 - Killing process 3464
19:47:36.714 ERROR testresult:35 - ERROR: ubuntu_
19:47:36.719 ERROR testresult:35 - process-
-15}}}
19:47:36.721 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/
self._check_
File "/usr/lib/
self.assertThat
File "/usr/lib/
mismatch = matcher.
File "/usr/lib/
wait_fun(
File "/usr/lib/
new_value = refresh_fn()
File "/usr/lib/
self.assertThat
File "/usr/lib/
(self._
AttributeError: Class 'WeatherDetailC
}}}
19:47:36.724 ERROR testresult:35 - process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
Loading testability driver.
unity::
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
file://
[Hamburg] returning cached data, time from last fetch: 1.112
[London] returning cached data, time from last fetch: 1.081
callbacks 0x4042198d 0x40421939
creating surface at (0, 58) with size (768, 1222) with title 'qmlscene: weather'
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
}}}
19:47:36.729 ERROR testresult:35 - process-stdout: {{{
}}}
=======
ERROR: ubuntu_
-------
_StringException: Empty attachments:
process-stdout
process-
process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
Loading testability driver.
unity::
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
file://
[Hamburg] returning cached data, time from last fetch: 1.112
[London] returning cached data, time from last fetch: 1.081
callbacks 0x4042198d 0x40421939
creating surface at (0, 58) with size (768, 1222) with title 'qmlscene: weather'
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader:
--From Vertex Shader:
Link was successful.
"
}}}
test-log: {{{
19:47:33.512 INFO globals:49 - *******
19:47:33.513 INFO globals:50 - Starting test ubuntu_
19:47:33.515 WARNING testcase:118 - No tracing available - install the python-
19:47:33.575 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
19:47:33.614 INFO __init__:156 - Launching process: ['/usr/
'/usr/share/
19:47:35.399 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
19:47:35.462 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
19:47:35.528 DEBUG dbus:415 - Selecting objects of type WeatherDetailCo
19:47:36.039 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
19:47:36.113 DEBUG dbus:415 - Selecting objects of type WeatherDetailCo
19:47:36.546 INFO testcase:552 - waiting for process to exit.
19:47:36.547 INFO testcase:554 - Killing process 3464
}}}
Traceback (most recent call last):
File "/usr/lib/
self._check_
File "/usr/lib/
self.assertThat
File "/usr/lib/
mismatch = matcher.
File "/usr/lib/
wait_fun(
File "/usr/lib/
new_value = refresh_fn()
File "/usr/lib/
self.assertThat
File "/usr/lib/
(self._
AttributeError: Class 'WeatherDetailC
Ran 1 test in 5.638s
FAILED (failures=1)
ADB_RC=1
Related branches
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Nicholas Skaggs (community): Approve
-
Diff: 631 lines (+212/-134)7 files modifiedcomponents/LocationManagerSheet.qml (+67/-15)
components/SplashComponent.qml (+3/-1)
components/SwipeDelete.qml (+0/-65)
components/WeatherApi.js (+49/-7)
tests/autopilot/ubuntu_weather_app/tests/__init__.py (+1/-1)
tests/autopilot/ubuntu_weather_app/tests/test_locationmanager.py (+54/-7)
tests/autopilot/ubuntu_weather_app/tests/test_settings.py (+38/-38)
Changed in ubuntu-weather-app: | |
assignee: | nobody → Corey Goldberg (coreygoldberg) |
Changed in ubuntu-weather-app: | |
assignee: | Corey Goldberg (coreygoldberg) → nobody |
Changed in ubuntu-weather-app: | |
status: | Fix Committed → Fix Released |
There's already a fix, which would have landed yesterday, but a jenkins issue was against it...
Will try today again...