[LU-10755] sanity test 409 fails with 'Fail to cleanup the env!' Created: 02/Mar/18  Updated: 10/Oct/19

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.11.0, Lustre 2.13.0, Lustre 2.12.2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: dne, zfs

Issue Links:
Related
is related to LU-9883 sanity test 407 rm: cannot remove '/m... Open
is related to LU-11681 sanity test 65i fails with 'find /mn... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity test_409 fail to clean up the tes directory because the “Directory is not empty”. From the suite_log, we see

== sanity test 409: Large amount of cross-MDTs hard links on the same file =========================== 08:11:58 (1511338318)
rm: cannot remove '/mnt/lustre/d162c.sanity.remote/0/1/2': Directory not empty
 sanity test_409: @@@@@@ FAIL: Fail to cleanup the env!

The test suite also fails to clean up the test directory for the same reason

== sanity test complete, duration 9662 sec =========================================================== 08:15:06 (1511338506)
sanity: FAIL: test_409 Fail to cleanup the env!
rm: cannot remove '/mnt/lustre/d162c.sanity.remote/0/1/2': Directory not empty
 sanity : @@@@@@ FAIL: remove sub-test dirs failed 

In some of these failures, we see files from a different sanity test that cannot be removed

== sanity test 409: Large amount of cross-MDTs hard links on the same file =========================== 13:58:42 (1518875922)
rm: cannot remove '/mnt/lustre/d140.sanity/1/2/3/4': Directory not empty
 sanity test_409: @@@@@@ FAIL: Fail to cleanup the env! 

In all of these cases, the test that left a directory and files that cannot be removed did not fail … at least, they did not fail with a call to error().

Test suites after sanity will also fail trying to remove the contents of the mount point with this error

sanity test 409 started failing with this error starting on 2017-11-22.

Some logs for these failures are at
https://testing.hpdd.intel.com/test_sets/458fbce6-d05a-11e7-a066-52540065bddc
https://testing.hpdd.intel.com/test_sets/3e035a3c-f828-11e7-bd00-52540065bddc
https://testing.hpdd.intel.com/test_sets/5cfd75f4-13ed-11e8-a7cd-52540065bddc



 Comments   
Comment by Andreas Dilger [ 19/Sep/18 ]

Should this be closed as a duplicate of LU-9883?

Comment by James Nunez (Inactive) [ 09/Nov/18 ]

I think that this ticket should be kept open because LU-9883 documents that sanity test 407 does not clean up after itself.

This ticket documents that sanity test 409 is failing because it cannot remove directories from previous sanity tests; tests 162c and 140. This issue is separate from LU-9883 because sanity test 407 is on the ALWAYS_EXCEPT list and is not run for the test failures listed above.

Comment by Alex Zhuravlev [ 30/Jan/19 ]

can be a dup of LU-11330

Generated at Sat Feb 10 02:37:54 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.