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

split conf-sanity into 2 or 3 parts

    XMLWordPrintable

Details

    • 9223372036854775807

    Description

      The current conf-sanity test (the entire review-dne-part-3 test session) completes in about 10h45m, compared to the other test sessions that finish in 4h or less according to Maloo statistics.

      It would be useful to split conf-sanity into two or three separate test scripts, or at least separate test runs, so that they can be tested in parallel, and retested independently to reduce the impact of a subtest failure. I think it would be prudent to keep the existing subtest numbers, to facilitate mapping test results/failures between the old and new scripts.

      A large fraction of the test time of conf-sanity is reformatting and remounting the filesystem. This is often done unnecessarily - at the start of a test to change configuration parameters for that test, and then again at the end to "restore" the configuration to the default. It makes sense to split subtests into (at least) two categories - those that expect the filesystem to be unmounted at the start and do their own custom formatting (leaving the filesystem unmounted at the end and in an unk), and those that expect the filesystem to be mounted and can work with the existing filesystem configuration.

      Avoiding spurious reformat/remount itself could itself reduce the test duration significantly, since the average conf-sanity subtest time is 220 seconds, while the average sanity subtest time is 24 seconds (many only 6 seconds long).

      A third category of subtests would be the "old version upgrade" test_32[abcde], which themselves take 2700s, and will continue to grow as upgrade images for new releases are added (LU-11643, LU-14853).

      A fourth category of subtests could be those that "need a separate MGS", since these are always skipped in our regular testing. While this is only 8 of 184 subtests, having it as a separate test session would allow it to run with a different configuration and improve test coverage.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: