Whamcloud - gitweb
LU-8582 tests: skip sanity/905 for old OSTs 68/51568/3
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 5 Jul 2023 00:58:07 +0000 (18:58 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Jul 2023 03:11:01 +0000 (03:11 +0000)
The fail_loc used in sanity test_905 does not exist in older OSTs.
Skip this subtest for older OSTs.

Fixes: 566edb8c43 ("LU-8582 target: send error reply on wrong opcode")
Test-Parameters: trivial testlist=sanity serverversion=2.12.9 env=ONLY=905
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8fa50ec0f66afd9f24d562e0be57a416c04d8ba8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51568
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Sarah Liu <sarah@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index 2965c17..2d5b67c 100755 (executable)
@@ -30242,8 +30242,8 @@ run_test 904 "virtual project ID xattr"
 
 # LU-8582
 test_905() {
-       (( $OST1_VERSION >= $(version_code 2.8.54) )) ||
-               skip "lustre < 2.8.54 does not support ladvise"
+       (( $OST1_VERSION >= $(version_code 2.15.50.220) )) ||
+               skip "need OST version >= 2.15.50.220 for fail_loc"
 
        remote_ost_nodsh && skip "remote OST with nodsh"
        $LFS setstripe -c -1 -i 0 $DIR/$tfile || error "setstripe failed"