[LTP] [linux-next:master] [block/bdev] 47dd675323: ltp.ioctl_loop06.fail
Li Wang
liwang@redhat.com
Mon Mar 10 09:36:23 CET 2025
Hi,
The ioctl_loop06 test expects PAGE_SIZE to be the upper limit, but the
kernel
now allows up to 64K (SZ_64K). If PAGE_SIZE < 64K (e.g., 4K on x86),
the test wrongly assumes anything above PAGE_SIZE should be rejected,
but the kernel now allows up to 64K.
I guess we probably need to adjust testcase to dynamically define an
EXPECTED_MAX_BLOCK_SIZE according to kernel versions.
I will send out a patch to LTP ML.
On Mon, Mar 10, 2025 at 3:41 PM kernel test robot <oliver.sang@intel.com>
wrote:
>
>
> Hello,
>
> kernel test robot noticed "ltp.ioctl_loop06.fail" on:
>
> commit: 47dd67532303803a87f43195e088b3b4bcf0454d ("block/bdev: lift block
> size restrictions to 64k")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> in testcase: ltp
> version: ltp-x86_64-0f9d817a3-1_20250222
> with following parameters:
>
> disk: 1HDD
> fs: xfs
> test: syscalls-01/ioctl_loop06
>
>
>
> config: x86_64-rhel-9.4-ltp
> compiler: gcc-12
> 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 <lkp@intel.com>
> | Closes:
> https://lore.kernel.org/oe-lkp/202503101538.84c33cd4-lkp@intel.com
>
>
> Running tests.......
> <<<test_start>>>
> tag=ioctl_loop06 stime=1741322388
> cmdline="ioctl_loop06"
> contacts=""
> analysis=exit
> <<<test_output>>>
> tst_tmpdir.c:316: TINFO: Using
> /fs/sda2/tmpdir/ltp-f5uEC1THVm/LTP_iocbBycpj as tmpdir (xfs filesystem)
> tst_test.c:1900: TINFO: LTP version: 20250130-118-g0f9d817a3
> tst_test.c:1904: TINFO: Tested kernel: 6.14.0-rc1-00007-g47dd67532303 #1
> SMP PREEMPT_DYNAMIC Fri Mar 7 11:25:50 CST 2025 x86_64
> tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
> tst_kconfig.c:676: TINFO: CONFIG_KASAN kernel option detected which might
> slow the execution
> tst_test.c:1722: TINFO: Overall timeout per run is 0h 10m 00s
> tst_device.c:97: 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:57: TFAIL: Set block size succeed unexpectedly
> 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:65: TPASS: Set block size failed as expected: EINVAL (22)
> ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size > PAGE_SIZE
> ioctl_loop06.c:57: TFAIL: Set block size succeed unexpectedly
> ioctl_loop06.c:74: TINFO: Using LOOP_CONFIGURE with block_size !=
> power_of_2
> ioctl_loop06.c:65: TPASS: Set block size failed as expected: EINVAL (22)
>
> Summary:
> passed 4
> failed 2
> broken 0
> skipped 0
> warnings 0
> incrementing stop
> <<<execution_status>>>
> initiation_status="ok"
> duration=1 termination_type=exited termination_id=1 corefile=no
> cutime=0 cstime=6
> <<<test_end>>>
> INFO: ltp-pan reported some tests FAIL
> LTP Version: 20250130-118-g0f9d817a3
>
> ###############################################################
>
> Done executing testcases.
> LTP Version: 20250130-118-g0f9d817a3
> ###############################################################
>
>
>
>
> The kernel config and materials to reproduce are available at:
>
> https://download.01.org/0day-ci/archive/20250310/202503101538.84c33cd4-lkp@intel.com
>
>
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
--
Regards,
Li Wang
More information about the ltp
mailing list