From 644d66347da7b5f4f6e5c4841b556b5473ee3bfc Mon Sep 17 00:00:00 2001 From: James Nunez Date: Tue, 8 Jun 2021 10:34:29 -0600 Subject: [PATCH] LU-14327 tests: skip sanity-sec test 55 for older servers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit sanity-sec test 55 was added to lustre-b2_12 version 2.12.6.3. When we run version interop testing with Lustre servers less than 2.12.6.3, the test will fail. Thus, skip sanity-sec test 55 for Lustre servers less than 2.12.6.3. Lustre-change: https://review.whamcloud.com/43949 Lustre-commit: abda4d06a41dfb526b4a66cb5fae6ff1a4c6c01b Fixes: 355787745f21 (“LU-14121 nodemap: do not force fsuid/fsgid squashing”) Test-Parameters: trivial Test-Parameters: serverversion=2.10.8 serverdistro=el7.6 env=ONLY=55 testlist=sanity-sec Signed-off-by: James Nunez Change-Id: Ie002c921e853897105396185b38485799df31b7a Reviewed-on: https://review.whamcloud.com/43950 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wei Liu Reviewed-by: Vikentsi Lapa --- 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 b35f6ae..8da7094 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -2578,6 +2578,9 @@ cleanup_55() { } test_55() { + (( $MDS1_VERSION > $(version_code 2.12.6.2) )) || + skip "Need MDS version at least 2.12.6.3" + local client_ip local client_nid -- 1.8.3.1