From 34c5a9e1ec2a82b10f9e85bc54cb2a48da0d5037 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-master version 2.13.57.12 and to lustre-b2_12 version 2.12.6.3. When we run version interop testing with Lustre servers less than these versions, the test will fail. Thus, skip sanity-sec test 55 for Lustre severs less than 2.12.6.3. Fixes: 355787745f21 (“LU-14121 nodemap: do not force fsuid/fsgid squashing”) Test-Parameters: trivial Test-Parameters: serverversion=2.12.6 serverdistro=el7.9 env=ONLY=55 testlist=sanity-sec Signed-off-by: James Nunez Change-Id: Ie002c921e853897105396185b38485799df31b7a Reviewed-on: https://review.whamcloud.com/43949 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Vikentsi Lapa 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 15aea96..b8964c0 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -4114,6 +4114,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