From 06d2128b3bd0a3ec45e5d54cad29c310ae3ded7c Mon Sep 17 00:00:00 2001 From: James Nunez Date: Thu, 10 Jun 2021 15:05:18 -0600 Subject: [PATCH] LU-14533 tests: skip sanity-pfl 0d for older servers sanity-pfl test 0d was added to Lustre version 2.14.50.115. When we run version interop testing with servers with version less than this, the test will fail. We should skip sanity-pfl test 0d if the Lustre server version is less than 2.14.50.115. Fixes: 83e38bba62 ("LU-14180 utils: verify setstripe comp_end is valid") Test-Parameters: trivial Test-Parameters: serverversion=2.14.0 serverdistro=el8.3 env=ONLY=0d testlist=sanity-pfl Signed-off-by: James Nunez Change-Id: I49b45c7a1e4804fece33d53a4fb946b49254de2b Reviewed-on: https://review.whamcloud.com/43971 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Vikentsi Lapa --- lustre/tests/sanity-pfl.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index 05ce531..edb11f8 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -129,6 +129,9 @@ test_0c() { run_test 0c "Verify SEL comp stripe count limits" test_0d() { + (( $MDS1_VERSION > $(version_code 2.14.50.115) )) || + skip_env "Need MDS version at least 2.14.50.115" + local td=$DIR/$tdir local tf=$td/$tfile local comp_end -- 1.8.3.1