From eab58e3b902aeb6d0b44edb8a673b4c069a73fcb Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 4 Sep 2024 23:57:20 -0600 Subject: [PATCH] LU-17468 tests: skip sanity/27Ci for old servers Skip overstriping test for servers (2.12.x) that do not support file layout overstriping. Test-Parameters: trivial testlist=sanity env=ONLY="27Ci 27W" serverversion=2.12 Fixes: 90c093b785 ("LU-17468 lod: component add missed pattern info") Fixes: 5b99b881c4 ("LU-17628 lfs: add lfs_setstripe admin restrict") Signed-off-by: Andreas Dilger Change-Id: I67bdae4154558339df8c908cd0b5e0825d3ebbe5 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56264 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Patrick Farrell Reviewed-by: Zhenyu Xu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index edc57f6..3d73581 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2599,6 +2599,8 @@ test_27Cg() { run_test 27Cg "test setstripe with wrong OST idx" test_27Ci() { + [[ $($LCTL get_param mdc.*.import) =~ connect_flags.*overstriping ]] || + skip "server does not support overstriping" local tf=$DIR/$tfile stack_trap "rm -f $DIR/$tfile" @@ -3660,6 +3662,8 @@ test_27V() { run_test 27V "creating widely striped file races with deactivating OST" test_27W() { + [[ $($LCTL get_param mdc.*.import) =~ connect_flags.*overstriping ]] || + skip "server does not support overstriping" [ $PARALLEL == "yes" ] && skip "skip parallel run" local stripe_count local defcount=4 -- 1.8.3.1