Flaky autopkgtests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network UPS Tools |
Fix Released
|
Unknown
|
|||
nut (Debian) |
Fix Released
|
Unknown
|
|||
nut (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
Nut 2.8 introduced changes to its systemd services. Namely, they no longer use PID files, which are heavily used in the package dep8 test suite. As a consequence, the Debian package had to fallback to running tests using the sysV init scripts instead (which rely on such PID files).
As it has been reported in the past (LP: #1291378), there are some race conditions in the tests, which are being dealt with through sleep calls.
Lately, these sleeps calls have not been enough to allow the tests to succeed consistently.
On an attempt to change the tests to use systemd, The race conditions started to happen more often.
This should be fixed when https:/
Related branches
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 48 lines (+10/-1)3 files modifieddebian/changelog (+6/-0)
debian/control (+2/-1)
debian/tests/test-nut.py (+2/-0)
Changed in nut (Ubuntu): | |
status: | New → Triaged |
Changed in nut: | |
status: | Unknown → New |
Changed in nut (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
Changed in nut (Debian): | |
status: | Unknown → Fix Released |
Changed in nut (Debian): | |
status: | Fix Released → New |
Changed in nut (Debian): | |
status: | New → Fix Released |
Changed in nut: | |
status: | New → Fix Released |
This patch should be a first step towards using the systemd service to run the autopkgtest suite after the sd_notify is supported.