Whamcloud - gitweb
LU-16228 tests: skip sanity/205e in interop tests
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 25 Jan 2023 00:51:18 +0000 (17:51 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 25 Jan 2023 03:21:59 +0000 (03:21 +0000)
Add a version check to sanity.sh test_205e and update the check
in test_205d to match the actual patch version that lljobstat
was landed in, so that it is not run during interop testing.

Test-Parameters: trivial testlist=sanity env=ONLY=205 serverversion=EXA6.1.0
Fixes: e9f9822822 ("LU-16228 utils: add lljobstat util")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I34d517c4b33e88f316cedbd94c8f48ace63ebbe5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49756
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity.sh

index 29afd81..d5d0cd6 100755 (executable)
@@ -18418,10 +18418,10 @@ run_test 205c "Verify client stats format"
 test_205d() {
        local file=$DIR/$tdir/$tfile
 
-       (( $MDS1_VERSION >= $(version_code 2.14.0) )) ||
-               skip "need lustre >= 2.14.0"
-       (( $OST1_VERSION >= $(version_code 2.14.0) )) ||
-               skip "need lustre >= 2.14.0"
+       (( $MDS1_VERSION >= $(version_code 2.14.0.73) )) ||
+               skip "need lustre >= 2.14.0.73 for lljobstat"
+       (( $OST1_VERSION >= $(version_code 2.14.0.73) )) ||
+               skip "need lustre >= 2.14.0.73 for lljobstat"
        verify_yaml_available || skip_env "YAML verification not installed"
 
        test_mkdir -i 0 $DIR/$tdir
@@ -18453,6 +18453,10 @@ test_205e() {
        local ops_comma
        local file=$DIR/$tdir/$tfile
 
+       (( $MDS1_VERSION >= $(version_code 2.14.0.73) )) ||
+               skip "need lustre >= 2.14.0.73 for lljobstat"
+       (( $OST1_VERSION >= $(version_code 2.14.0.73) )) ||
+               skip "need lustre >= 2.14.0.73 for lljobstat"
        verify_yaml_available || skip_env "YAML verification not installed"
 
        mkdir_on_mdt0 $DIR/$tdir || error "failed to create dir"