[LU-9883] sanity test 407 rm: cannot remove '/mnt/lustre/d407.sanity.1': Directory not empty Created: 15/Aug/17  Updated: 29/Aug/19

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

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

Issue Links:
Related
is related to LU-10755 sanity test 409 fails with 'Fail to c... Open
is related to LU-12700 sanity test_407 added to ALWAYS_EXCEP... Open
is related to LU-11517 sanity: rm: cannot remove '/mnt/lustr... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The patch for LU-8411, https://review.whamcloud.com/#/c/21398/, contains the comment

This patch causes sanity test 407 to fail or has brought out an
existing bug in Lustre. sanity test 407 is added to the
ALWAYS_EXCPET list.

Yet, I can’t find any JIRA ticket opened to capture this failure. So, here it is.

sanity test 407 does not fail, but any test that follows it that tries to clean out the test directory will fail. For example, test_409 fails when test 407 is removed from the ALWAYS_EXCEPT list; logs at https://testing.hpdd.intel.com/test_sets/01353734-7efb-11e7-bbc6-5254006e85c2. Test 409 fails with

== sanity test 409: Large amount of cross-MDTs hard links on the same file =========================== 20:11:29 (1502482289)
rm: cannot remove '/mnt/lustre/d407.sanity.1': Directory not empty
 sanity test_409: @@@@@@ FAIL: Fail to cleanup the env! 

when it calls check_mount_and_prep().

In another case, the test suite fails when it tries to clean up the contents of the mount point:

== sanity test complete, duration 6743 sec =========================================================== 01:13:50 (1480986830)
rm: cannot remove '/mnt/lustre/d407.sanity.1': Directory not empty
 sanity : @@@@@@ FAIL: remove sub-test dirs failed 

Logs for this case are at
https://testing.hpdd.intel.com/test_sets/e0c59984-bb7e-11e6-9f9f-5254006e85c2



 Comments   
Comment by Gerrit Updater [ 14/Jun/18 ]

Andriy Skulysh (c17819@cray.com) uploaded a new patch: https://review.whamcloud.com/32714
Subject: LU-9883 tests: restore sanity_407
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 24b955e8a135b62bea2719b3972ab2a2861fa923

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