autopilot failures when closing the toolbar at startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Won't Fix
|
High
|
Leo Arias | ||
notes-app |
Won't Fix
|
High
|
Unassigned |
Bug Description
We’re seeing autopilot test failures on notes-app from time to time. It seems they happen most frequently (only?) on mako.
Here’s an instance of one such failure: http://
It seems to affect tests randomly, not a specific test. The failure happens in the setUp method of NotesAppTestCase, after the application window has appeared, the first thing that is done is to close the toolbar. The request is correctly forwarded to the UITK emulator for the toolbar, the swipe gesture is issued, but the tests fail on self.animating.
Traceback (most recent call last):
File "/home/
super(BaseForTe
File "/home/
self.main_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
self.get_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
self.animating.
File "/usr/lib/
failure_msg))
AssertionError: After 10.0 seconds test on Toolbar.animating failed: False != dbus.Boolean(True, variant_level=1)
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 15 lines (+4/-1)1 file modifiedtests/autopilot/notes_app/tests/__init__.py (+4/-1)
Changed in notes-app: | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in notes-app: | |
assignee: | Tim Peeters (tpeeters) → Olivier Tilloy (osomon) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in notes-app: | |
status: | In Progress → Triaged |
Changed in notes-app: | |
assignee: | Olivier Tilloy (osomon) → nobody |
Changed in ubuntu-ui-toolkit: | |
status: | Incomplete → Won't Fix |
Changed in notes-app: | |
status: | Incomplete → Won't Fix |
Here is the full autopilot log (without the traceback):
14:28:24.237 INFO globals:57 - Starting test notes_app. tests.test_ images. TestImageLargeW ide.test_ no_crash (with touch) autopilot- trace package! notes_notes_ 1.4.242 notes_notes_ 1.4.242 has been launched with PID 7501 tests.test_ images. TestImageLargeW ide.test_ no_crash( with touch)
14:28:24.241 WARNING testcase:117 - No tracing available - install the python-
14:28:24.404 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.
14:28:27.252 INFO testcase:352 - Click package com.ubuntu.
127.0.0.1 - - [20/Jan/2014 14:28:28] "GET /large_wide.png HTTP/1.1" 200 -
127.0.0.1 - - [20/Jan/2014 14:28:28] "GET /large_wide.png HTTP/1.1" 200 -
14:28:29.271 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:28:29.380 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:28:29.429 INFO logging:45 - NotesApp: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
14:28:29.429 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
14:28:29.460 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
14:28:29.609 DEBUG _uinput:366 - Dragging from 384,1136 to 384,1279
14:28:40.409 INFO testcase:540 - waiting for process to exit.
14:28:40.410 INFO testcase:542 - Killing process 7501
14:28:41.863 ERROR testresult:37 - FAIL: notes_app.