Constant failure of test_swipe_out_application_started_by_url_dispatcher on smoketesting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Test Cases |
Fix Released
|
Undecided
|
Łukasz Zemczak | ||
unity8 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Since a longer time, smoketesting CI infrastructure shows a reproducible failure in the test_swipe_
The failure [1]:
Traceback (most recent call last):
File "/home/
test_swipe_
Eventually(
File "/usr/lib/
raise mismatch_error
MismatchError: After 10.0 seconds test failed: 'tmpjLnQ24' != u''
We thought that the recent re-factoring of the test helped, but it sadly doesn't seem to be the case.
Quote from a status update e-mail regarding this issue:
"We might need to have some view on what's seen on the screen during the test-run in the lab... Right now it seems that url-dispatcher works correctly, starts the test-app correctly but autopilot cannot detect it as running. Debugging continues."
[1] http://
Related branches
- Para Siva (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedjenkins/testconfig.py (+1/-1)
Changed in unity8: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-test-cases: | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
affects: | unity8 → unity8 (Ubuntu) |
So, it seems that the root cause was completely somewhere else. Thanks Leo for finding this out!
The problem was in how the test has been ran on CI. It seems that there IS a difference between how we run it and how it's ran in smoketesting - smoketesting doesn't install unity8-autopilot but configure it as if it was a click package. Therefore, since unity8-autopilot was not installed, all the required dependencies were not pulled in. And the url-dispatcher test requires url-dispatcher- tools to be installed.
We fixed this in the infra, so that now the dependency is installed as well.