From 4fed33473ca2964ff19f61fdb8501b2210f923de Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Fri, 8 Nov 2019 11:19:32 +1100 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. Test-Parameters: trivial Signed-off-by: Li Dongyang Change-Id: Ie18ceb961eee2313fca7d60a35159a7496075029 Reviewed-on: https://review.whamcloud.com/36712 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Reviewed-by: James Nunez --- lustre/tests/sanity.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 3ef952f..9f33384 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -59,8 +59,14 @@ fi if [[ $(uname -m) = aarch64 ]]; then # bug number: LU-11596 ALWAYS_EXCEPT+=" $GRANT_CHECK_LIST" - # bug number: LU-11671 LU-11667 LU-4398 - ALWAYS_EXCEPT+=" 45 317 817" + # bug number: LU-11671 LU-11667 + ALWAYS_EXCEPT+=" 45 317" +fi + +# 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)" -- 1.8.3.1