Some GTK UI tests are flaky due to timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Low
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
Medium
|
Brian Murray | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The autopkgtests are sometimes passing, sometimes stuck for more than 2h:
http://
It's blocking randomly on different tests.
All tests that are stucked, implements closing a request via a timeout (and then, executing "run"). The bet is that the timeout is short enough (1s) so that, when autopkgtests infra is busy, time to execute the bash subcommand is taking more than a second, and so "dismissing" is ran before execution happens and the whole testsuite hangs.
There are few instances of setting this timeout function:
$ grep eout_add_sec test/*
test/test_
test/test_
test/test_
test/test_
test/test_
Short term solution could be to increase the timeout. Long term would be to eliminate this potential race implementing cancelling differently. The short term workaround to increase the timeout increases the test execution time by five minutes.
[Test Plan]
Check that the autopkgtest succeed on all architectures (except for i386).
[Where problems could occur]
The test cases are only part of the apport source package and are not copied in any binary packages. Changes to the test will only affect the package build and test execution.
Related branches
tags: | added: rls-cc-incoming |
Changed in apport (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → High |
Changed in apport (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in apport: | |
status: | New → Fix Released |
importance: | Undecided → Low |
milestone: | none → 2.21.0 |
description: | updated |
This bug was fixed in the package apport - 2.20.10-0ubuntu7
---------------
apport (2.20.10-0ubuntu7) cosmic; urgency=medium
* tests/test_ ui_gtk. py: Increase the timeout so that when the autopkgtest
infrastructure is busy the tests should not fail. (LP: #1780767)
-- Brian Murray <email address hidden> Tue, 24 Jul 2018 08:03:49 -0700