Whamcloud - gitweb
EX-5060 tests: skip sanity-lipe in test interop
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 23 Jun 2022 23:15:03 +0000 (17:15 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Jun 2022 02:11:02 +0000 (02:11 +0000)
Since lipe is server-only, it doesn't have any benefit to test in
interop mode, since this just exposes failures due to new tests
failing with old servers, but provides no real benefit.

If/when a client interface for lipe_find is available then this
needs to be revisited.

Test-Parameters: trivial testlist=sanity-lipe serverversion=2.14.0-ddn23
Fixes: a4c8c816a67a ("EX-4965 lipe: use new e2fsprogs xattr API")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6def018ecf177926c2785205281852c5db251903
Reviewed-on: https://review.whamcloud.com/47724
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity-lipe.sh

index 571a288..3a3ec37 100644 (file)
@@ -14,6 +14,11 @@ init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 init_logging
 
+if ! check_versions; then
+       skip "It is NOT necessary to test lipe under interoperation mode"
+       exit 0
+fi
+
 # bug number for skipped test:
 ALWAYS_EXCEPT="$SANITY_LIPE_EXCEPT"
 # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
@@ -1472,6 +1477,8 @@ test_100() {
        local link_count=200
        local i
 
+       (( MDS1_VERSION >= $(version_code 2.14.0.39) )) ||
+               skip "need at least lipe from 2.14.0-ddn38-59-ga4c8c816a67a"
        $LFS mkdir -i $index $DIR/$tdir || error "$LFS mkdir '$td' failed"
        touch $file