Whamcloud - gitweb
LU-18389 tests: skip added sanity/65n checks 86/56786/4
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Oct 2024 07:54:01 +0000 (01:54 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 26 Oct 2024 23:57:31 +0000 (23:57 +0000)
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 <adilger@whamcloud.com>
Change-Id: Ic7c36801ec6e906d631bc4fc234f1f2b77e9f7dc
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56786
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity.sh

index 26dec88..7da6397 100755 (executable)
@@ -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) ]] ||