Whamcloud - gitweb
LU-19026 tests: sanity test_17p updated version check 93/59893/3
authorFrederick Dilger <fdilger@whamcloud.com>
Fri, 20 Jun 2025 06:19:41 +0000 (00:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jul 2025 03:59:14 +0000 (03:59 +0000)
sanity test_17p was failing continuously on el9.6 kernels, so the
version check was updated to include all RHEL 9.x kernels.

Test-Parameters: trivial
Fixes: f8672e6a0e ("LU-17660 tests: test symlink file to existing dir")
Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I23f727dfde353ee29a78b8cb20a28c3f3181517a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59893
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity.sh

index 8357b79..ab2238e 100755 (executable)
@@ -919,8 +919,8 @@ test_17p() {
        # kernel, we need to stat the target dir to cache it first
        if [[ "$CLIENT_OS_ID_LIKE" =~ "rhel" ]]; then
                if (( $CLIENT_OS_VERSION_CODE >= $(version_code 9.0) &&
-                     $CLIENT_OS_VERSION_CODE <= $(version_code 9.5) )); then
-                       echo "stat $DIR/$tdir to cache it in el9.0-9.5"
+                     $CLIENT_OS_VERSION_CODE <= $(version_code 9.100) )); then
+                       echo "stat $DIR/$tdir to cache it in el9.x"
                        stat $DIR/$tdir
                fi
        fi