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

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

    XMLWordPrintable

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

          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: