Whamcloud - gitweb
LU-17289 test: disable sanity/test_906 temporarily
authorQian Yingjin <qian@ddn.com>
Thu, 7 Dec 2023 09:45:01 +0000 (04:45 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 29 Dec 2023 11:11:24 +0000 (11:11 +0000)
On the rhel9.3, the fio io_uring engine testing failed with error
"Operation not permitted" on both local file systems (Ext4 and
xfs) and Lustre:

    "fio: pid=4551, err=1/file:engines/io_uring.c:1047,
    func=io_queue_init, error=Operation not permitted"

This is a generic failure in RHEL9.3.  Thus we disable
sanity/test_906 temporarily until the bug is fixed in RHEL9.3.

Lustre-change: https://review.whamcloud.com/53362
Lustre-commit: TBD (from 0eef4b0818e7a1a42a54333fa713ef660c7e9404)

Test-Parameters: trivial
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I3805b475c5f3d0b62dc6c57c4cd93f2bc1b67b76
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53546
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity.sh

index 820e657..58b06e2 100755 (executable)
@@ -108,6 +108,14 @@ if [ -r /etc/SuSE-release ] || [ -r /etc/SUSE-brand ]; then
 
        [ $sles_version -lt $(version_code 12.0.0) ] &&
                always_except LU-3703 234
+elif [ -r /etc/redhat-release ]; then
+       rhel_version=$(cat /etc/redhat-release |
+               sed -e 's/^[^0-9.]*//g' | sed -e 's/[ ].*//')
+       if [[ $(version_code $rhel_version) -gt $(version_code 9.3.0) ]]; then
+               # disable test_906 temporarily until rhel9.3 solves the
+               # failure on fio io_uring I/O engine.
+               always_except LU-17289 906
+       fi
 elif [ -r /etc/os-release ]; then
        os_version=$(version_code $(sed -n -e 's/"//g' -e 's/^VERSION_ID=//p' \
                                    /etc/os-release))