Re: scsi: block: ioprio: Clean up interface definition - ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work

From: Naresh Kamboju
Date: Sat Jan 13 2024 - 02:05:33 EST


On Fri, 12 Jan 2024 at 10:49, Damien Le Moal <dlemoal@xxxxxxxxxx> wrote:
>
> On 1/12/24 14:15, Naresh Kamboju wrote:
> > The LTP test 'iopri_set03' fails on all the devices.
> > It fails on linux kernel >= v6.5. ( on Debian rootfs ).
> > Test fail confirmed on LTP release 20230929 and 20230516.
> >
> > Test failed log:
> > ------------
> > tst_test.c:1690: TINFO: LTP version: 20230929
> > tst_test.c:1574: TINFO: Timeout per run is 0h 05m 00s
> > ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work
> > ioprio_set03.c:48: TINFO: tested illegal priority with class NONE
> > ioprio_set03.c:51: TPASS: returned correct error for wrong prio: EINVAL (22)
> >
> > Investigation:
> > ----------
> > Bisecting this test between kernel v6.4 and v6.5 shows patch
> > eca2040972b4 ("scsi: block: ioprio: Clean up interface definition")
> > as the first faulty commit.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> This is fixed in LTP. Please update your LTP setup to avoid this issue.

Please point me to the fixed commit id.

I have the latest LTP release test results as ioprio_set03 has failed.

ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work
LTP Version: 20230929-258-gec0a8f18b
on Debian rootfs.

Links:
- https://qa-reports.linaro.org/lkft/ltp-master/build/v6.6.10_20230929-258-gec0a8f18b/testrun/22035919/suite/ltp-syscalls/test/ioprio_set03/history/
- https://qa-reports.linaro.org/lkft/ltp-master/build/v6.6.10_20230929-258-gec0a8f18b/testrun/22035919/suite/ltp-syscalls/test/ioprio_set03/details/

- Naresh