From: Andreas Dilger Date: Fri, 25 Oct 2024 07:54:01 +0000 (-0600) Subject: LU-18389 tests: skip added sanity/65n checks X-Git-Tag: 2.16.0-RC5~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f2d725b914ff7130d42ca76da91c1ea240d6e6ad;p=fs%2Flustre-release.git LU-18389 tests: skip added sanity/65n checks Skip checks added at the end of sanity test_65n for MDS versions that do not have the new layout inheritance behavior. Test-Parameters: trivial env=ONLY=65n testlist=sanity serverversion=2.14 Fixes: 6e59408f1a ("LU-12130 lod: make pool inheritance policy more consistent") Signed-off-by: Andreas Dilger Change-Id: Ic7c36801ec6e906d631bc4fc234f1f2b77e9f7dc Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56786 Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin Tested-by: Maloo Tested-by: jenkins --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 26dec88..7da6397 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -11075,6 +11075,8 @@ test_65n() { local lmv_count=$($LFS getdirstripe -c $MOUNT/$tdir-6) [ $lmv_count -eq 2 ] || error "$tdir-6 stripe count $lmv_count" + (( $MDS1_VERSION >= $(version_code v2_14_57-22-g6e59408f1a) )) || + skip "Need MDS >= 2.14.57.22 for proper pool inheritance" # $dir4 layout includes pool $LFS setstripe -S $((new_def_stripe_size * 2)) $dir4 [[ "$pool" = $($LFS getstripe -p -d $dir4) ]] ||