Autopkgtest failure on latest version of initramfs-tools - lack of partprobe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Guilherme G. Piccoli | ||
Focal |
Fix Released
|
Medium
|
Guilherme G. Piccoli | ||
Groovy |
Fix Released
|
Medium
|
Guilherme G. Piccoli |
Bug Description
[Impact]
* Currently the initramfs-tools autopkgtest fails for at least AMD64, with the following signature:
"mount: /tmp/autopkgtes
* The reason for that is the test trying immediately to use that partition on the loop device, but kernel may not have a partition re-read ioctl issued, so the test may fail as observing a nonexistent partition.
* The fix proposed here is just to manually run "partprobe" before using the new to-be-discovered loop partition in the net autopkgtest.
[Test Case]
* Run the autopkgtest suite in the initramfs-tools package and observe the failure aforementioned.
[Regression Potential]
* Extremely low potential, we are just introducing a partition re-read/probe operation during autopkgtest phase, in order to keep the partition table of loop devices consistent before the test uses it.
* The only potential issue I see with that is if for some reason we don't have partprobe in the autopkgtest environment, but that shouldn't happen since parted package is on ubuntu-standard.
* Notice that this test is not executed in Debian CI given that CI has no support for VMs, and this test requires that. [See the Rectification below]
Rectification of my statement in the description: the net test is not present in Debian, only in Ubuntu (Focal and subsequent releases), added in order to perform network parsing test, especially for netplan.