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

conf-sanity test 99 needs to clean up at the end of the test

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • Lustre 2.11.0
    • 9223372036854775807

    Description

      conf-sanity test_99 formats OST 1 with the “^resize_inode” and “meta_bg” options and does not reformat at the end of the test. This can cause tests that run after test 99 to fail. For example, running test 103 after test 99 causes the test to fail; see https://testing.hpdd.intel.com/test_sets/12bfb528-b4ad-11e7-9eee-5254006e85c2.

      From the test log, we can see that OST 1 cannot be formatted

      CMD: trevis-22vm3 mkdir -p /mnt/lustre-ost1
      CMD: trevis-22vm3 test -b /dev/lvm-Role_OSS/P1
      CMD: trevis-22vm3 e2label /dev/lvm-Role_OSS/P1
      Starting ost1:   /dev/lvm-Role_OSS/P1 /mnt/lustre-ost1
      CMD: trevis-22vm3 mkdir -p /mnt/lustre-ost1; mount -t lustre   		                   /dev/lvm-Role_OSS/P1 /mnt/lustre-ost1
      trevis-22vm3: mount.lustre: mount /dev/mapper/lvm--Role_OSS-P1 at /mnt/lustre-ost1 failed: Address already in use
      trevis-22vm3: The target service's index is already in use. (/dev/mapper/lvm--Role_OSS-P1)
      Start of /dev/lvm-Role_OSS/P1 on ost1 failed 98
      

      Although it seems excessive, calling reformat() at the end of the test will fix this issue.

      Attachments

        Activity

          [LU-10152] conf-sanity test 99 needs to clean up at the end of the test
          pjones Peter Jones added a comment -

          Landed for 2.11

          pjones Peter Jones added a comment - Landed for 2.11

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29717/
          Subject: LU-10152 tests: reformat after conf-sanity test 99
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: c14e6d47b216e6dab4b8c6ed4f491e700ce19367

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29717/ Subject: LU-10152 tests: reformat after conf-sanity test 99 Project: fs/lustre-release Branch: master Current Patch Set: Commit: c14e6d47b216e6dab4b8c6ed4f491e700ce19367

          James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29717
          Subject: LU-10152 tests: reformat after conf-sanity test 99
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: c6d9f0bdf5ac39a8e4ccc1c68d865310c02f043c

          gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29717 Subject: LU-10152 tests: reformat after conf-sanity test 99 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c6d9f0bdf5ac39a8e4ccc1c68d865310c02f043c

          People

            jamesanunez James Nunez (Inactive)
            jamesanunez James Nunez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: