Hello, kernel test robot noticed "ltp.ioctl_loop01.fail" on: commit: ae074d07a0e5c05769f1a9a2faa260c36d69465e ("loop: move updating lo_flags out of loop_set_status_from_info") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master [test failed on linus/master d0d106a2bd21499901299160744e5fe9f4c83ddb] [test failed on linux-next/master 853d1f41ba73e78d22e7075d9a95670aab187eba] in testcase: ltp version: ltp-x86_64-14c1f76-1_20250118 with following parameters: disk: 1HDD fs: f2fs test: syscalls-02/ioctl_loop01 config: x86_64-rhel-9.4-ltp compiler: gcc-12 test machine: 16 threads 1 sockets Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (Coffee Lake-E) with 32G 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/202501252047.54df4ae2-lkp@xxxxxxxxx <<<test_start>>> tag=ioctl_loop01 stime=1737653109 cmdline="ioctl_loop01" contacts="" analysis=exit <<<test_output>>> tst_tmpdir.c:316: TINFO: Using /fs/sda2/tmpdir/ltp-OFRIRZBJcX/LTP_ioc76XFGO as tmpdir (f2fs filesystem) tst_test.c:1900: TINFO: LTP version: 20240930-220-g02d5e99df tst_test.c:1904: TINFO: Tested kernel: 6.13.0-rc4-00053-gae074d07a0e5 #1 SMP PREEMPT_DYNAMIC Fri Jan 24 00:58:06 CST 2025 x86_64 tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz' tst_kconfig.c:667: 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:96: TINFO: Found free device 0 '/dev/loop0' tst_buffers.c:57: TINFO: Test is using guarded buffers ioctl_loop01.c:86: TPASS: /sys/block/loop0/loop/partscan = 0 ioctl_loop01.c:87: TPASS: /sys/block/loop0/loop/autoclear = 0 ioctl_loop01.c:88: TPASS: /sys/block/loop0/loop/backing_file = '/fs/sda2/tmpdir/ltp-OFRIRZBJcX/LTP_ioc76XFGO/test.img' ioctl_loop01.c:58: TPASS: get expected lo_flag 12 ioctl_loop01.c:60: TPASS: /sys/block/loop0/loop/partscan = 1 ioctl_loop01.c:61: TPASS: /sys/block/loop0/loop/autoclear = 1 tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz' tst_kconfig.c:667: TINFO: CONFIG_KASAN kernel option detected which might slow the execution ioctl_loop01.c:70: TPASS: access /dev/loop0p1 succeeds tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz' tst_kconfig.c:667: TINFO: CONFIG_KASAN kernel option detected which might slow the execution ioctl_loop01.c:76: TPASS: access /sys/block/loop0/loop0p1 succeeds ioctl_loop01.c:92: TINFO: Test flag can be clear ioctl_loop01.c:58: TPASS: get expected lo_flag 0 ioctl_loop01.c:60: TFAIL: /sys/block/loop0/loop/partscan != 1 got 0 ioctl_loop01.c:61: TPASS: /sys/block/loop0/loop/autoclear = 0 tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz' tst_kconfig.c:667: TINFO: CONFIG_KASAN kernel option detected which might slow the execution ioctl_loop01.c:70: TPASS: access /dev/loop0p1 succeeds tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz' tst_kconfig.c:667: TINFO: CONFIG_KASAN kernel option detected which might slow the execution ioctl_loop01.c:76: TPASS: access /sys/block/loop0/loop0p1 succeeds HINT: You _MAY_ be missing kernel fixes: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10c70d95c0f2 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6ac92fb5cdff Summary: passed 12 failed 1 broken 0 skipped 0 warnings 0 incrementing stop <<<execution_status>>> initiation_status="ok" duration=1 termination_type=exited termination_id=1 corefile=no cutime=1 cstime=8 <<<test_end>>> INFO: ltp-pan reported some tests FAIL LTP Version: 20240930-220-g02d5e99df ############################################################### Done executing testcases. LTP Version: 20240930-220-g02d5e99df ############################################################### The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20250125/202501252047.54df4ae2-lkp@xxxxxxxxx -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki