Whamcloud - gitweb
LU-17497 tests: skip sanity-sec/69 for old MDS 82/54782/1
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 14 Apr 2024 07:43:08 +0000 (01:43 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 14 Apr 2024 07:48:03 +0000 (01:48 -0600)
Older MDS versions do not have strict checking for identity_upcall
or rsi_upcall, don't run the test with those servers.

Test-Parameters: trivial testlist=sanity-sec env=ONLY=69 serverversion=2.15
Fixes: 2153e86541 ("LU-17497 obdclass: check upcall incorrect values")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Icdfda82eca32c2de7e88991ead0d9723023ebbe5

lustre/tests/sanity-sec.sh

index 51ca209..2a63b2e 100755 (executable)
@@ -6262,6 +6262,9 @@ test_69() {
        local param
        local orig
 
+       (( MDS1_VERSION >= $(version_code v2_15_61-210-g2153e86541) )) ||
+               skip "need MDS >= 2.15.61.210 for upcall sanity checking"
+
        param="mdt.$mdt.identity_upcall"
        orig="$(do_facet mds1 "$LCTL get_param -n $param")"
        stack_trap "do_facet mds1 $LCTL set_param $param=$orig" EXIT