Whamcloud - gitweb
LU-12661 tests: skip sanity 817 if kernel version >= 4.14 12/36712/4
authorLi Dongyang <dongyangli@ddn.com>
Fri, 8 Nov 2019 00:19:32 +0000 (11:19 +1100)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Dec 2019 05:59:18 +0000 (05:59 +0000)
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 <dongyangli@ddn.com>
Change-Id: Ie18ceb961eee2313fca7d60a35159a7496075029
Reviewed-on: https://review.whamcloud.com/36712
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity.sh

index 3ef952f..9f33384 100644 (file)
@@ -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)"