Autopilot test failures when run on device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Weather App |
Fix Released
|
High
|
Unassigned |
Bug Description
Ran the autopilot tests on the mako device running 20130801 image.
I started the test by using "phablet-test-run -n -p ubuntu-
Tests running...
=======
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.
Database created
Settings table added, Database upgraded to v0.2
callbacks 0x403f5521 0x403f54d9
creating surface at (0, 58) with size (768, 1222)QOpenGLSha
--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.
"
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'visible'
=======
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.
Database created
Settings table added, Database upgraded to v0.2
callbacks 0x40408521 0x404084d9
creating surface at (0, 58) with size (768, 1222)QOpenGLSha
--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.
"
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'visible'
=======
FAIL: 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.
[London] returning cached data, time from last fetch: 1.484
callbacks 0x400c2521 0x400c24d9
[Hamburg] returning cached data, time from last fetch: 1.451
creating surface at (0, 58) with size (768, 1222)QOpenGLSha
--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.
"
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
MismatchError: After 10.0 seconds test on Toolbar.opened failed: True != dbus.Boolean(False, variant_level=1)
=======
FAIL: 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.
callbacks 0x40097521 0x400974d9
creating surface at (0, 58) with size (768, 1222)[London] returning cached data, time from last fetch: 0.874
[Hamburg] returning cached data, time from last fetch: 0.846
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.
"
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
MismatchError: After 10.0 seconds test on Toolbar.opened failed: True != dbus.Boolean(False, variant_level=1)
=======
FAIL: 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.
callbacks 0x401ad521 0x401ad4d9
[London] returning cached data, time from last fetch: 0.89
creating surface at (0, 58) with size (768, 1222)[Hamburg] returning cached data, time from last fetch: 0.855
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.
"
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
MismatchError: After 10.0 seconds test on Toolbar.opened failed: True != dbus.Boolean(False, variant_level=1)
Ran 6 tests in 1186.711s
FAILED (failures=5)
Related branches
- Nicholas Skaggs (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 602 lines (+98/-225)9 files modifieddebian/control (+1/-0)
tests/autopilot/ubuntu_weather_app/emulators.py (+40/-0)
tests/autopilot/ubuntu_weather_app/emulators/__init__.py (+0/-17)
tests/autopilot/ubuntu_weather_app/emulators/ubuntusdk.py (+0/-157)
tests/autopilot/ubuntu_weather_app/tests/__init__.py (+15/-7)
tests/autopilot/ubuntu_weather_app/tests/test_locationmanager.py (+21/-28)
tests/autopilot/ubuntu_weather_app/tests/test_mainview.py (+5/-3)
tests/autopilot/ubuntu_weather_app/tests/test_settings.py (+13/-9)
tests/autopilot/ubuntu_weather_app/tests/weatherdata.py (+3/-4)
Changed in ubuntu-weather-app: | |
status: | Fix Committed → Triaged |
importance: | Undecided → High |
status: | Triaged → Fix Released |
Hmm, I'm trying to get the autopilot tests to run on the device (GNex), but for all apps autopilot is failing with:
_StringException: Traceback (most recent call last): python2. 7/dist- packages/ ubuntu_ weather_ app/tests/ test_locationma nager.py" , line 21, in setUp TestLocationMan ager, self).setUp() python2. 7/dist- packages/ ubuntu_ weather_ app/tests/ __init_ _.py", line 34, in setUp pointing_ device = Pointer( self.input_ device_ class.create( )) python2. 7/dist- packages/ autopilot/ input/_ _init__ .py", line 354, in create backends, preferred_backend) python2. 7/dist- packages/ autopilot/ utilities. py", line 56, in _pick_backend failure_ reasons) ) '"/dev/ uinput" cannot be opened for writing',)
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
return _pick_backend(
File "/usr/lib/
"Unable to instantiate any backends\n%s" % '\n'.join(
RuntimeError: Unable to instantiate any backends
UInput: UInputError(