Open dereckson opened 5 years ago
Please post the full log + manifest for this run. Something is not adding up. How can self.mount_dir
not exist on the exact same object where it existed just a few milliseconds ago?
The relevant lines are here: https://github.com/andsens/bootstrap-vz/blob/32e8bbcf49114a675d721698549265f986be1dcd/bootstrapvz/base/fs/partitions/mount.py#L38-L40
del self.mount_dir
is only run when the unmount is successful and no other part of the code removes that attribute.
For an unidentified reason, it wasn't possible to unmount the bootstrap volume (lsof / fuser didn't show anything using the disk).
In such scenario, the code logic tries to read a non existing mount_dir attribute. The issue was reproductible.
Tested with current master code.
Here a log from our CI/CD environment to with the relevant stacktrace.