From 28ad8a5f172d017a94e70ecfc6e1f36d55e4513f Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 23 Jun 2022 17:15:03 -0600 Subject: [PATCH] EX-5060 tests: skip sanity-lipe in test interop 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 Change-Id: I6def018ecf177926c2785205281852c5db251903 Reviewed-on: https://review.whamcloud.com/47724 Reviewed-by: Jian Yu Tested-by: jenkins --- lustre/tests/sanity-lipe.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/tests/sanity-lipe.sh b/lustre/tests/sanity-lipe.sh index 571a288..3a3ec37 100644 --- a/lustre/tests/sanity-lipe.sh +++ b/lustre/tests/sanity-lipe.sh @@ -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 -- 1.8.3.1