race condition in dep8 test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-utils |
Fix Released
|
Medium
|
Unassigned | ||
cloud-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Disco |
Fix Released
|
Low
|
Rafael David Tinoco |
Bug Description
[Impact]
* As can be seen in dep8 tests on published results [1], there seems to be a race condition on tear down of at least one of the growpart tests. We seem to see it most on ppc64el [2]. I'm attaching cloud-utils-
[Test Case]
* It seems that the test that fails (at least in the 2 cases I saw) is 'growpart-loop'.
The relevant output in the log is this:
unmount /tmp/test-
clearing parts [1] from /dev/loop0
delpart /dev/loop0 1
delpart: failed to remove partition: Device or resource busy
FAIL: ./test/
I've copied the relevant portion of the log to attached 'short.log'.
[Regression Potential]
* Minor potential as the only changes being added are "udevadm settle". This will likely add a bit of more time to execution but won't change the logic of what was already being done (just serialize udev events).
[Other Info]
[1] https:/
[2] https:/
[3] https:/
--
Related branches
- Scott Moser (community): Approve
- Canonical Server: Pending requested
-
Diff: 200 lines (+168/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/lp1810857-fix-spelling-error-in-ec2metadata-reservation-id.patch (+33/-0)
debian/patches/lp1835124-growpart-fix-bug-when-file-image-ends-in-a-digit.patch (+53/-0)
debian/patches/lp1836593-fix-race-condition-in-test-growpart.patch (+71/-0)
debian/patches/series (+3/-0)
Changed in cloud-utils: | |
status: | Confirmed → Fix Committed |
Changed in cloud-utils: | |
importance: | Undecided → Medium |
Changed in cloud-utils (Ubuntu Disco): | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
description: | updated |
Changed in cloud-utils: | |
status: | Fix Committed → Fix Released |
Hello Scott, or anyone else affected,
Accepted cloud-utils into disco-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ cloud-utils/ 0.31-0ubuntu1. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- disco to verification- done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- disco. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.