Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
Currently, conf-sanity.sh takes about 4h to finish for review-zfs, 5.75h for review-dne-part-3, and 6.75h for review-dne-zfs-part-3, which is too long.
Test 106 in regular conf-sanity takes about 40 minutes, and should be disabled for SLOW=no. It could possibly be shortened by running fewer loops.
Test 32 is also taking a relatively long time (each one about 100s), but it is prudent to continue running upgrades from multiple test images to ensure compatibility.
One area I think that can be improved significantly is to avoid formatting and reformatting the filesystem for each test. Some of the conf-sanity tests assume that a filesystem is available, but many of the tests want to format a filesystem to their own specifications, then reformat the filesystem back to the "default" configuration and remount it at the end of the test, only to unmount and format again for the next test. I think it would make sense for conf-sanity tests to assume the filesystem is not mounted at the beginning (or maybe tests after a certain number), and skip the "reformat back to default and remount" step at the end. This should only be done once at the end of conf-sanity to return the filesystem back to a known state. This would save a couple minutes for each subtest, maybe as much as 2h for each test run.
Attachments
Issue Links
- is related to
-
LU-14772 split conf-sanity into 2 or 3 parts
- In Progress