From 47209c7689f9994025a47516e2dd2c9796282c9d Mon Sep 17 00:00:00 2001 From: Artem Blagodarenko Date: Thu, 29 Jun 2023 14:49:11 +0100 Subject: [PATCH] EX-7784 tests: skip sanity 460 on 64k PAGE_SIZE Skip this test on the system with 64k PAGE_SIZE. Test-Parameters: trivial testlist=sanity clientdistro=el8.7 clientarch=aarch64 Signed-off-by: Artem Blagodarenko Change-Id: I9324ae975bfc3c4f08d5048d7c977447ef62cc78 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51501 Tested-by: jenkins Tested-by: Andreas Dilger Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 5814088..2de8fb9 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -58,6 +58,10 @@ if [[ $(uname -m) = aarch64 ]]; then always_except LU-14067 400a 400b fi +if (( PAGE_SIZE == 65536 )); then + always_except EX-7784 460a 460b 460c 460e 460f +fi + # skip nfs tests on kernels >= 4.12.0 until they are fixed if [ $LINUX_VERSION_CODE -ge $(version_code 4.12.0) ]; then always_except LU-12661 817 @@ -27615,8 +27619,8 @@ disable_compression() { } test_460a() { - (( MDS1_VERSION >= $(version_code 2.14.0.89) )) || - skip "Need MDS version at least 2.14.0.89" + (( MDS1_VERSION >= $(version_code 2.14.0.91) )) || + skip "Need MDS version at least 2.14.0.91" rm -Rf $DIR/$tdir; rm -Rf $TMP/$tdir @@ -27685,8 +27689,8 @@ test_460a() { run_test 460a "Compress/decompress text test" test_460b() { - (( MDS1_VERSION >= $(version_code 2.14.0.89) )) || - skip "Need MDS version at least 2.14.0.89" + (( MDS1_VERSION >= $(version_code 2.14.0.91) )) || + skip "Need MDS version at least 2.14.0.91" local stored=$DIR/$tdir/foofile test_mkdir $DIR/$tdir @@ -27723,8 +27727,8 @@ run_test 460b "Try to compress with wrong algo" # Non-chunk-aligned writes are only allowed if they are extending the file, ie, # if they are not overwriting existing data test_460c() { - (( MDS1_VERSION >= $(version_code 2.14.0.90) )) || - skip "Need MDS version at least 2.14.0.90" + (( MDS1_VERSION >= $(version_code 2.14.0.91) )) || + skip "Need MDS version at least 2.14.0.91" local stored=$DIR/$tdir/foofile local tmpfile=$TMP/$tdir/footmp -- 1.8.3.1