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(a)linaro.org>
Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240109/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240110/te…
Steps to reproduce:
---------------
This is how you can reproduce it easily:
Install podman or docker, tuxmake and tuxrun, if docker please change
the --runtime below to docker.
cd into the kernel you want to build:
$ tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13
--kconfig defconfig --results-hook 'tuxrun --runtime podman --device
qemu-arm64 --boot-args rw --tuxmake ./ --rootfs
https://storage.tuxboot.com/debian/bookworm/arm64/rootfs.ext4.xz
--parameters SKIPFILE=skipfile-lkft.yaml --timeouts boot=30 --overlay
https://storage.tuxboot.com/overlays/debian/bookworm/arm64/ltp/20230929/ltp…
/ --save-outputs --log-file - -- "cd /opt/ltp && ./runltp -s
ioprio_set03"'
Bisection log:
------------
# bad: [2dde18cd1d8fac735875f2e4987f11817cc0bc2c] Linux 6.5
# good: [6995e2de6891c724bfeb2db33d7b87775f913ad1] Linux 6.4
git bisect start 'v6.5' 'v6.4'
# good: [b775d6c5859affe00527cbe74263de05cfe6b9f9] Merge tag
'mips_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
git bisect good b775d6c5859affe00527cbe74263de05cfe6b9f9
# bad: [56cbceab928d7ac3702de172ff8dcc1da2a6aaeb] Merge tag
'usb-6.5-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect bad 56cbceab928d7ac3702de172ff8dcc1da2a6aaeb
# good: [b30d7a77c53ec04a6d94683d7680ec406b7f3ac8] Merge tag
'perf-tools-for-v6.5-1-2023-06-28' of
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next
git bisect good b30d7a77c53ec04a6d94683d7680ec406b7f3ac8
# bad: [dfab92f27c600fea3cadc6e2cb39f092024e1fef] Merge tag
'nfs-for-6.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
git bisect bad dfab92f27c600fea3cadc6e2cb39f092024e1fef
# bad: [28968f384be3c064d66954aac4c534a5e76bf973] Merge tag
'pinctrl-v6.5-1' of
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect bad 28968f384be3c064d66954aac4c534a5e76bf973
# bad: [af92c02fb2090692f4920ea4b74870940260cf49] Merge patch series
"scsi: fixes for targets with many LUNs, and scsi_target_block rework"
git bisect bad af92c02fb2090692f4920ea4b74870940260cf49
# bad: [2e2fe5ac695a00ab03cab4db1f4d6be07168ed9d] scsi: 3w-xxxx: Add
error handling for initialization failure in tw_probe()
git bisect bad 2e2fe5ac695a00ab03cab4db1f4d6be07168ed9d
# good: [8759924ddb93498bd5777f0b05b6bc9cacf4ffe3] Merge patch series
"scsi: hisi_sas: Some misc changes"
git bisect good 8759924ddb93498bd5777f0b05b6bc9cacf4ffe3
# good: [7907ad748bdba8ac9ca47f0a650cc2e5d2ad6e24] Merge patch series
"Use block pr_ops in LIO"
git bisect good 7907ad748bdba8ac9ca47f0a650cc2e5d2ad6e24
# bad: [390e2d1a587405a522dc6b433d45648f895a352c] scsi: sd: Handle
read/write CDL timeout failures
git bisect bad 390e2d1a587405a522dc6b433d45648f895a352c
# bad: [734326937b65cec7ffd00bfbbce0f791ac4aac84] scsi: core: Rename
and move get_scsi_ml_byte()
git bisect bad 734326937b65cec7ffd00bfbbce0f791ac4aac84
# bad: [6c913257226a25879bfd6226e0ee265e98904ce6] scsi: block:
Introduce ioprio hints
git bisect bad 6c913257226a25879bfd6226e0ee265e98904ce6
# bad: [eca2040972b411ec27483bf75dc8b84e730e88ff] scsi: block: ioprio:
Clean up interface definition
git bisect bad eca2040972b411ec27483bf75dc8b84e730e88ff
# first bad commit: [eca2040972b411ec27483bf75dc8b84e730e88ff] scsi:
block: ioprio: Clean up interface definition
--
Linaro LKFT
https://lkft.linaro.org
Total jobs: 104
Total errors: 30 (28.85%)
LAVA errors: 0 (0.00%)
Test errors: 18 (17.31%)
Job errors: 9 (8.65%)
Infra errors: 3 (2.88%)
Canceled jobs: 0 (0.00%)
Device type: hi960-hikey
Total jobs: 24
Total errors: 5 (20.83%)
Error type: Test
Error count: 5 (20.83%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 2 (8.33%)
IDs:
hi960-hikey-03:
7162526
hi960-hikey-04:
7162472
Error: No match for error type 'Test', message 'tradefed - adb device lost[279ABF68159019FF]'
Count: 2 (8.33%)
IDs:
hi960-hikey-03:
7157884 7160963
Error: No match for error type 'Test', message 'tradefed - adb device lost[47D27933024424E6]'
Count: 1 (4.17%)
IDs:
hi960-hikey-04:
7160818
Device type: dragonboard-845c
Total jobs: 26
Total errors: 2 (7.69%)
Error type: Infrastructure
Error count: 1 (3.85%)
Error: Unable to fetch git repository
Count: 1 (3.85%)
IDs:
db845c-03:
7161384
Error type: Test
Error count: 1 (3.85%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 1 (3.85%)
IDs:
db845c-01:
7161215
Device type: qrb5165-rb5
Total jobs: 54
Total errors: 23 (42.59%)
Error type: Test
Error count: 12 (22.22%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 3 (5.56%)
IDs:
rb5-03:
7161276 7161309 7162497
Error: No match for error type 'Test', message 'tradefed - adb device lost[f11b68eb]'
Count: 3 (5.56%)
IDs:
rb5-05:
7161202 7161269 7162398
Error: No match for error type 'Test', message 'tradefed - adb device lost[4fc7b22]'
Count: 4 (7.41%)
IDs:
rb5-06:
7161195 7161264 7161377 7162383
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (1.85%)
IDs:
rb5-03:
7161204
Error: Device NOT found!
Count: 1 (1.85%)
IDs:
rb5-03:
7161172
Error type: Job
Error count: 9 (16.67%)
Error: wait for prompt timed out
Count: 4 (7.41%)
IDs:
rb5-03:
7161334 7162404
rb5-06:
7161336
rb5-07:
7162401
Error: No match for error type 'Job', message 'login-action timed out after 831 seconds'
Count: 1 (1.85%)
IDs:
rb5-06:
7162403
Error: No match for error type 'Job', message 'login-action timed out after 873 seconds'
Count: 1 (1.85%)
IDs:
rb5-07:
7161337
Error: No match for error type 'Job', message 'login-action timed out after 874 seconds'
Count: 1 (1.85%)
IDs:
rb5-07:
7161312
Error: No match for error type 'Job', message 'login-action timed out after 877 seconds'
Count: 1 (1.85%)
IDs:
rb5-07:
7161297
Error: No match for error type 'Job', message 'login-action timed out after 788 seconds'
Count: 1 (1.85%)
IDs:
rb5-03:
7161296
Error type: Infrastructure
Error count: 2 (3.70%)
Error: Connection closed
Count: 2 (3.70%)
IDs:
rb5-05:
7161175 7161392
Total jobs: 174
Total errors: 13 (7.47%)
LAVA errors: 0 (0.00%)
Test errors: 0 (0.00%)
Job errors: 13 (7.47%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: bcm2837-rpi-3-b-32
Total jobs: 74
Total errors: 0 (0.00%)
Device type: beaglebone-black
Total jobs: 40
Total errors: 0 (0.00%)
Device type: synquacer
Total jobs: 29
Total errors: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 16
Total errors: 13 (81.25%)
Error type: Job
Error count: 13 (81.25%)
Error: wait for prompt timed out
Count: 7 (43.75%)
IDs:
dragonboard-845c-02:
4031248 4031379
dragonboard-845c-06:
4031091
dragonboard-845c-08:
4031124 4031170 4031271 4031362
Error: No match for error type 'Job', message 'login-action timed out after 874 seconds'
Count: 2 (12.50%)
IDs:
dragonboard-845c-06:
4031316 4031371
Error: No match for error type 'Job', message 'login-action timed out after 870 seconds'
Count: 2 (12.50%)
IDs:
dragonboard-845c-02:
4031135 4031348
Error: No match for error type 'Job', message 'login-action timed out after 873 seconds'
Count: 1 (6.25%)
IDs:
dragonboard-845c-06:
4031184
Error: No match for error type 'Job', message 'login-action timed out after 865 seconds'
Count: 1 (6.25%)
IDs:
dragonboard-845c-02:
4031084
Device type: qemu
Total jobs: 6
Total errors: 0 (0.00%)
Device type: frdm-kw41z
Total jobs: 2
Total errors: 0 (0.00%)
Device type: frdm-k64f
Total jobs: 3
Total errors: 0 (0.00%)
Device type: docker
Total jobs: 3
Total errors: 0 (0.00%)
Device type: imx8mq-evk
Total jobs: 1
Total errors: 0 (0.00%)
This is the start of the stable review cycle for the 5.10.207 release.
There are 7 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 13 Jan 2024 09:46:53 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.207-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.10.207-rc1
Alexander Atanasov <alexander.atanasov(a)virtuozzo.com>
scsi: core: Always send batch on reset or error handling command
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Add scsi_prot_ref_tag() helper"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Introduce scsi_get_sector()"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Make scsi_get_lba() return the LBA"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Use scsi_cmd_to_rq() instead of scsi_cmnd.request"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Use a structure member to track the SCSI command submitter"
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "scsi: core: Always send batch on reset or error handling command"
-------------
Diffstat:
Makefile | 4 ++--
drivers/scsi/scsi.c | 2 +-
drivers/scsi/scsi_error.c | 34 +++++++++++++++++++---------------
drivers/scsi/scsi_lib.c | 38 +++++++++++++-------------------------
drivers/scsi/scsi_logging.c | 18 ++++++++----------
drivers/scsi/scsi_priv.h | 1 -
include/scsi/scsi_cmnd.h | 29 +++--------------------------
include/scsi/scsi_device.h | 16 +++++++---------
8 files changed, 53 insertions(+), 89 deletions(-)