From 7bc5aeea4e024818696bd1e9c01263daec257fb4 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 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54782 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Zhenyu Xu Reviewed-by: Sarah Liu Reviewed-by: Sebastien Buisson Reviewed-by: Oleg Drokin --- 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 c248713..ff65865 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