[linus:master] [loop] 18048c1af7: ltp.ioctl_loop06.fail
From: kernel test robot
Date: Mon Jul 29 2024 - 03:29:31 EST
Hello,
we've reported this issue in
https://lore.kernel.org/all/202407022125.e7ba93db-oliver.sang@xxxxxxxxx/
now we noticed it's merged into mainline. but the issue still exists in our
tests.
below details FYI.
kernel test robot noticed "ltp.ioctl_loop06.fail" on:
commit: 18048c1af7836b8e31739d9eaefebc2bf76261f7 ("loop: Fix a race between loop detach and loop open")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master 3a7e02c040b130b5545e4b115aada7bacd80a2b6]
[test failed on linux-next/master 668d33c9ff922c4590c58754ab064aaf53c387dd]
in testcase: ltp
version: ltp-x86_64-14c1f76-1_20240629
with following parameters:
disk: 1HDD
fs: btrfs
test: syscalls-01/ioctl_loop06
compiler: gcc-13
test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202407291554.5c76ba13-oliver.sang@xxxxxxxxx
Running tests.......
<<<test_start>>>
tag=ioctl_loop06 stime=1719779316
cmdline="ioctl_loop06"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1734: TINFO: LTP version: 20240524-67-g072f359ac
tst_test.c:1618: TINFO: Timeout per run is 0h 02m 30s
tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg < 512
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg > PAGE_SIZE
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_SET_BLOCK_SIZE with arg != power_of_2
ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size < 512
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size > PAGE_SIZE
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size != power_of_2
ioctl_loop06.c:67: TFAIL: Set block size failed expected EINVAL got: EBUSY (16)
Summary:
passed 3
failed 3
broken 0
skipped 0
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=23
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20240524-67-g072f359ac
###############################################################
Done executing testcases.
LTP Version: 20240524-67-g072f359ac
###############################################################
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240729/202407291554.5c76ba13-oliver.sang@xxxxxxxxx
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki