From 42923270537d52d2b90c59a2db16d428b4f5a90c Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Sat, 18 Apr 2020 01:42:06 -0700 Subject: [PATCH] LU-12661 tests: skip sanity 817 if kernel version >= 4.14 sanity test_817 is in the ALWAYS_EXCEPT list for aarch64, however it's failing because the test was done on kernel-alt which is 4.14.x, it's not related with the architecture. On new kernels nfsd is not releasing the file after write, it will fail with ETXTBSY regardless of whether the nfs export is backed by a lustre mount or not. Skip the test on new kernels for now. This patch is back-ported from the following one: Lustre-commit: 4fed33473ca2964ff19f61fdb8501b2210f923de Lustre-change: https://review.whamcloud.com/36712 Test-Parameters: trivial Signed-off-by: Li Dongyang Change-Id: Ie18ceb961eee2313fca7d60a35159a7496075029 Reviewed-on: https://review.whamcloud.com/38259 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 65954a9..3b76782 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -71,6 +71,12 @@ init_test_env $@ get_lustre_env init_logging +# skip nfs tests on kernels >= 4.14.0 until they are fixed +if [ $LINUX_VERSION_CODE -ge $(version_code 4.14.0) ];then + # bug number: LU-12661 + ALWAYS_EXCEPT+=" 817" +fi + # 5 12 (min)" [ "$SLOW" = "no" ] && EXCEPT_SLOW="27m 64b 68 71 115 300o" -- 1.8.3.1