From 87f145c5df0815385024c0f52bb72d4404fbf8a7 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Tue, 19 Oct 2021 13:40:07 -0600 Subject: [PATCH] LU-14331 tests: add version check for sanity-pfl 0b sanity-pfl test 0b was modified to not shrink the number of stripes due to size constraints (LOV_MAX_STRIPE_COUNT). The modified test 0b landed to Lustre 2.13.57.36 and we should skip this test if the server version is less than 2.13.57.36. Fixes: a58cdc9196f ("LU-14191 lod: comp stripe count limit check") Test-Parameters: trivial serverversion=2.12.6-ddn42 serverdistro=el7.9 testlist=sanity-pfl env=ONLY=0b Change-Id: I60de0e227ed566835476579dbca0d745f89245bf Signed-off-by: James Nunez Reviewed-on: https://review.whamcloud.com/45301 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/sanity-pfl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index 01ae167..5bb04c8 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -71,6 +71,8 @@ test_0b() { grep "connect_flags:.*overstriping") ]] || skip "server does not support overstriping" large_xattr_enabled || skip_env "no large xattr support" + (( $MDS1_VERSION >= $(version_code 2.13.57.36) )) || + skip_env "Need MDS version at least 2.13.57.36" local comp_file=$DIR/$tdir/$tfile -- 1.8.3.1