From: Andreas Dilger Date: Tue, 1 Oct 2024 16:19:43 +0000 (-0600) Subject: LU-17922 tests: skip sanity-sec/27aa for old MDS X-Git-Tag: 2.16.0-RC2~8 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=50b779a87bee4ae6456d2de4a8668efe3a09b1b2;p=fs%2Flustre-release.git LU-17922 tests: skip sanity-sec/27aa for old MDS Skip sanity-sec test_27aa for old MDS without nodemap ID range. Test-Parameters: trivial testlist=sanity-sec env=ONLY=27aa mdsversion=2.15 Fixes: 8445f7b92f ("LU-17922 utils: added idmap range functionality") Signed-off-by: Andreas Dilger Change-Id: I6c5383f146257830f4558c0472415deba7f5f988 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56551 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Maximilian Dilger Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index b7c8c6b..c56addf 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -2277,6 +2277,9 @@ test_27aa() { #LU-17922 local idmap local id=500 + (( $MDS1_VERSION >= $(version_code v2_15_64-86-g8445f7b92f) )) || + skip "need MDS >= 2.15.64.86 for nodemap range" + do_facet mgs $LCTL nodemap_add Test17922 || error "unable to add Test17922 as nodemap" stack_trap "do_facet mgs $LCTL nodemap_del Test17922 || true"