Whamcloud - gitweb
LU-14533 tests: skip sanity-pfl 0d for older servers
authorJames Nunez <jnunez@whamcloud.com>
Thu, 10 Jun 2021 21:05:18 +0000 (15:05 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Jul 2021 03:25:29 +0000 (03:25 +0000)
sanity-pfl test 0d was added in commit v2_14_0-39-gd645373541.
When we run version interop testing with servers with
version less than this, the test will fail.

We should skip sanity-pfl test 0d if the Lustre server
version is less than 2.14.0.1.

Lustre-change: https://review.whamcloud.com/43971
Lustre-commit: 06d2128b3bd0a3ec45e5d54cad29c310ae3ded7c

Fixes: 83e38bba62 ("LU-14180 utils: verify setstripe comp_end is valid")
Test-Parameters: trivial testlist=sanity-pfl
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I49b45c7a1e4804fece33d53a4fb946b49254de2b
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vikentsi Lapa <vlapa@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44274
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity-pfl.sh

index 601846d..d786d02 100644 (file)
@@ -129,6 +129,9 @@ test_0c() {
 run_test 0c "Verify SEL comp stripe count limits"
 
 test_0d() {
+       (( $MDS1_VERSION >= $(version_code 2.14.0.1) )) ||
+               skip_env "Need MDS version at least 2.14.0.1"
+
        local td=$DIR/$tdir
        local tf=$td/$tfile
        local comp_end