From: Jian Yu Date: Sun, 12 Feb 2023 07:48:30 +0000 (-0800) Subject: LU-16101 tests: add sanity/27J to always_except X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a537ec478649579ab66866bae85083c68c82e96b;p=fs%2Flustre-release.git LU-16101 tests: add sanity/27J to always_except This patch adds sanity/27J to always_except for SLES15 SP4 and 5.16.0+ kernels before the issue introduced by upstream commit 8c8387ee3f55 ("mm: stop filemap_read() from grabbing a superfluous page") is resolved. Test-Parameters: trivial clientdistro=sles15sp4 testlist=sanity Signed-off-by: Jian Yu Change-Id: Iafde656530fcdc1de9265aacaa9266435c9d5c47 --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 63b36ac..3a2f06e 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -62,6 +62,12 @@ if (( $LINUX_VERSION_CODE >= $(version_code 4.18.0) && always_except LU-13063 411 fi +# skip basic ops on file with foreign LOV tests on 5.16.0+ kernels +# until the filemap_read() issue is fixed +if (( $LINUX_VERSION_CODE >= $(version_code 5.16.0) )); then + always_except LU-16101 27J +fi + # 5 12 8 12 15 (min)" [[ "$SLOW" = "no" ]] && EXCEPT_SLOW="27m 60i 64b 68 71 135 136 230d 300o" @@ -92,13 +98,16 @@ sles_version_code() # Check if we are running on Ubuntu or SLES so we can make decisions on # what tests to run -if [ -r /etc/SuSE-release ]; then +if [ -r /etc/SuSE-release ] || [ -r /etc/SUSE-brand ]; then sles_version=$(sles_version_code) [ $sles_version -lt $(version_code 11.4.0) ] && always_except LU-4341 170 [ $sles_version -lt $(version_code 12.0.0) ] && always_except LU-3703 234 + + [ $sles_version -ge $(version_code 15.4.0) ] && + always_except LU-16101 27J elif [ -r /etc/os-release ]; then if grep -qi ubuntu /etc/os-release; then ubuntu_version=$(version_code $(sed -n -e 's/"//g' \