Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10755

sanity test 409 fails with 'Fail to cleanup the env!'

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.11.0, Lustre 2.13.0, Lustre 2.12.2
    • 3
    • 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

      Attachments

        Issue Links

          Activity

            [LU-10755] sanity test 409 fails with 'Fail to cleanup the env!'

            can be a dup of LU-11330

            bzzz Alex Zhuravlev added a comment - can be a dup of LU-11330

            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.

            jamesanunez James Nunez (Inactive) added a comment - 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.

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

            adilger Andreas Dilger added a comment - Should this be closed as a duplicate of LU-9883 ?

            People

              wc-triage WC Triage
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: