adt failure: '/cdrom not ext4 with todisk'
Bug #1938325 reported by
Dan Bungert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Autopkgtest will sometimes fail in the todisk test with the following error at the end:
++ echo '/cdrom not ext4 with todisk'
Earlier in the log file, you can also see this log message from casper:
Begin: Copying live_media to /dev/disk/
In addition to the test flakiness, it makes one wonder if there is some sort of race here between casper and other components that may be user visible.
Example log:
https:/
tags: | added: update-excuse |
To post a comment you must log in.
Yes I guess this is a race where the symlink is not in place by the time the copy runs. It's a bit hard to be believe but it looks like this case threads its way through the casper code without hitting a udevadm settle, so presumably adding one somewhere would make it work. OTOH it can take a surprisingly long time for devices to show up at all (this is why there is a loop around the calls to find_livefs) so maybe we should have a loop waiting for ${live_dest} to appear too.