Bug #51266
test cleanup failure
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This test's cleanup failed due to being unable to remove the mountpoint directory after the test:
https://pulpito.ceph.com/yuriw-2021-06-14_16:21:07-fs-wip-yuri2-testing-2021-06-14-0717-pacific-distro-basic-smithi/6171987
It looks sort of like the fuse mount got unmounted but there was already some preexisting junk in the mountpoint. Either that or the unmount didn't actually succeed.
The problem we have now is that we don't have a way to tell what happened when this occurs. I think we need to:
- change the test to dump out the mount table when this scenario occurs so we can tell whether the files are on the still mounted fs, or in the underlying mountpoint directory
- validate that the directory is empty before mounting on it