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.
Test-Parameters: trivial testlist=sanity clientdistro=el9.3
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I3805b475c5f3d0b62dc6c57c4cd93f2bc1b67b76
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53362
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
# what tests to run
if [ -r /etc/SuSE-release ] || [ -r /etc/SUSE-brand ]; then
sles_version=$(sles_version_code)
# what tests to run
if [ -r /etc/SuSE-release ] || [ -r /etc/SUSE-brand ]; then
sles_version=$(sles_version_code)
- [ $sles_version -lt $(version_code 11.4.0) ] &&
+ (( $sles_version >= $(version_code 11.4.0) )) ||
always_except LU-4341 170
always_except LU-4341 170
- [ $sles_version -lt $(version_code 12.0.0) ] &&
+ (( $sles_version >= $(version_code 12.0.0) )) ||
always_except LU-3703 234
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) >= $(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
if grep -qi ubuntu /etc/os-release; then
ubuntu_version=$(version_code $(sed -n -e 's/"//g' \
elif [ -r /etc/os-release ]; then
if grep -qi ubuntu /etc/os-release; then
ubuntu_version=$(version_code $(sed -n -e 's/"//g' \