From af6f49698a183f4ca89e7b518b7b91317a008d8d Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Sun, 12 Feb 2023 00:02:08 -0800 Subject: [PATCH] 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. Lustre-change: https://review.whamcloud.com/49970 Lustre-commit: TBD (from a537ec478649579ab66866bae85083c68c82e96b) Test-Parameters: trivial clientdistro=sles15sp4 testlist=sanity Signed-off-by: Jian Yu Change-Id: Iafde656530fcdc1de9265aacaa9266435c9d5c47 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49972 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Xing Huang Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index ce616f1..23c502c 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -69,6 +69,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 115 135 136 230d 300o" @@ -96,13 +102,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' \ -- 1.8.3.1