From 57b39fb5fecc895dc220835789d6011479bdd4db Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sun, 14 Apr 2024 01:43:08 -0600 Subject: [PATCH] LU-17497 tests: skip sanity-sec/69 for old MDS 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 Change-Id: Icdfda82eca32c2de7e88991ead0d9723023ebbe5 --- lustre/tests/sanity-sec.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index 51ca209..2a63b2e 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -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 -- 1.8.3.1