ZTS: rsend_007_pos failures
The rsend_007_pos test reliably fails on Linux in the cleanup function. This is caused by an unmount error when attempting to recursively destroy the newly received datasets. Invoking `df` prior to the `zfs destroy` interestingly avoids the unmont error. Why this should matter is unclear and should be investigated. However, this minor tweak may allow us to remove the ZTS rsend exceptions. The subsequent rsend_010_pos and rsend_011_pos failures were a result of this initial failure. The other "maybe" failures I was unable to reproduce and have not been recently observed in the master branch. Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #5665 Closes #6086 Closes #6087 Closes #6446 Closes #12876
This commit is contained in:
parent
20f5c5b912
commit
7b5d783a46
|
@ -250,12 +250,6 @@ maybe = {
|
||||||
'removal/removal_condense_export': ['FAIL', known_reason],
|
'removal/removal_condense_export': ['FAIL', known_reason],
|
||||||
'reservation/reservation_008_pos': ['FAIL', '7741'],
|
'reservation/reservation_008_pos': ['FAIL', '7741'],
|
||||||
'reservation/reservation_018_pos': ['FAIL', '5642'],
|
'reservation/reservation_018_pos': ['FAIL', '5642'],
|
||||||
'rsend/rsend_019_pos': ['FAIL', '6086'],
|
|
||||||
'rsend/rsend_020_pos': ['FAIL', '6446'],
|
|
||||||
'rsend/rsend_021_pos': ['FAIL', '6446'],
|
|
||||||
'rsend/rsend_024_pos': ['FAIL', '5665'],
|
|
||||||
'rsend/send-c_volume': ['FAIL', '6087'],
|
|
||||||
'rsend/send_partial_dataset': ['FAIL', known_reason],
|
|
||||||
'snapshot/clone_001_pos': ['FAIL', known_reason],
|
'snapshot/clone_001_pos': ['FAIL', known_reason],
|
||||||
'snapshot/snapshot_009_pos': ['FAIL', '7961'],
|
'snapshot/snapshot_009_pos': ['FAIL', '7961'],
|
||||||
'snapshot/snapshot_010_pos': ['FAIL', '7961'],
|
'snapshot/snapshot_010_pos': ['FAIL', '7961'],
|
||||||
|
@ -301,9 +295,6 @@ elif sys.platform.startswith('linux'):
|
||||||
'mmp/mmp_exported_import': ['FAIL', known_reason],
|
'mmp/mmp_exported_import': ['FAIL', known_reason],
|
||||||
'mmp/mmp_inactive_import': ['FAIL', known_reason],
|
'mmp/mmp_inactive_import': ['FAIL', known_reason],
|
||||||
'refreserv/refreserv_raidz': ['FAIL', known_reason],
|
'refreserv/refreserv_raidz': ['FAIL', known_reason],
|
||||||
'rsend/rsend_007_pos': ['FAIL', known_reason],
|
|
||||||
'rsend/rsend_010_pos': ['FAIL', known_reason],
|
|
||||||
'rsend/rsend_011_pos': ['FAIL', known_reason],
|
|
||||||
'snapshot/rollback_003_pos': ['FAIL', known_reason],
|
'snapshot/rollback_003_pos': ['FAIL', known_reason],
|
||||||
'zvol/zvol_misc/zvol_misc_snapdev': ['FAIL', '12621'],
|
'zvol/zvol_misc/zvol_misc_snapdev': ['FAIL', '12621'],
|
||||||
'zvol/zvol_misc/zvol_misc_volmode': ['FAIL', known_reason],
|
'zvol/zvol_misc/zvol_misc_volmode': ['FAIL', known_reason],
|
||||||
|
|
|
@ -121,6 +121,7 @@ function cleanup_pool
|
||||||
log_must rm -rf $BACKDIR/*
|
log_must rm -rf $BACKDIR/*
|
||||||
|
|
||||||
if is_global_zone ; then
|
if is_global_zone ; then
|
||||||
|
log_must df >/dev/null
|
||||||
log_must_busy zfs destroy -Rf $pool
|
log_must_busy zfs destroy -Rf $pool
|
||||||
else
|
else
|
||||||
typeset list=$(zfs list -H -r -t all -o name $pool)
|
typeset list=$(zfs list -H -r -t all -o name $pool)
|
||||||
|
|
Loading…
Reference in New Issue