Skip to contentSkip to conversation

9f0f6bf427: ltp.ADSP069.fail

linus:master kernel test robot 2 participants 2 messages Sep 12, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hello,

kernel test robot noticed "ltp.ADSP069.fail" on:

commit: 9f0f6bf4271488b3d3a290ba119a0e0a08df2cc6 ("f2fs: support to map continuous holes or preallocated address")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master 8d8d276ba2fb5f9ac4984f5c10ae60858090babc]
[test failed on linux-next/master 32ffa5373540a8d1c06619f52d019c6cdc948bb4]

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20240907
with following parameters:

	disk: 1HDD
	fs: f2fs
	test: ltp-aiodio.part2-01/ADSP069

compiler: gcc-12
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Ivy Bridge) with 16G 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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]

Running tests.......
<<<test_start>>>
tag=ADSP069 stime=1726063753
cmdline="dio_sparse -w 1024k -s 2048k -n 6"
contacts=""
analysis=exit
<<<test_output>>>
tst_tmpdir.c:316: TINFO: Using /fs/sda1/tmpdir/ltp-9n1cQWozoa/LTP_dioEeK1iL as tmpdir (f2fs filesystem) tst_test.c:1809: TINFO: LTP version: 20240524-225-g0ac1e70cb
tst_test.c:1813: TINFO: Tested kernel: 6.9.0-rc1-00011-g9f0f6bf42714 #1 SMP PREEMPT_DYNAMIC Wed Sep 11 21:23:04 CST 2024 x86_64 tst_test.c:1652: TINFO: Timeout per run is 1h 00m 30s
tst_test.c:1406: TINFO: f2fs is supported by the test
dio_sparse.c:84: TINFO: Dirtying free blocks
common.h:72: TINFO: child 3874 reading file
common.h:72: TINFO: child 3875 reading file
common.h:72: TINFO: child 3876 reading file
common.h:72: TINFO: child 3877 reading file
common.h:72: TINFO: child 3878 reading file
common.h:72: TINFO: child 3879 reading file
common.h:20: TINFO: non zero buffer at buf[0] => 0xffffffaa,ffffffaa,ffffffaa,ffffffaa
common.h:26: TINFO: buf 0x7ffdbd3882c0, p 0x7ffdbd3882c0
common.h:85: TFAIL: non-zero read at offset 1732608
dio_sparse.c:117: TFAIL: Child 3879: exited with 1

Summary:

passed   0
failed   2
broken   0
skipped  0

warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=1 corefile=no cutime=11 cstime=56
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20240524-225-g0ac1e70cb

       ###############################################################

            Done executing testcases.
            LTP Version:  20240524-225-g0ac1e70cb
       ###############################################################

The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240912/[email protected]

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw

Hi!
So what the test does is:

- creates a sparse file (truncates an empty file to non-zero size)
- starts N child processes that open the file and read it in chunks while they expect zeros to be read
- starts a single writer child that opens the file with O_DIRECT and writes zeros to the file starting at some offset

And if the test fails it means that at some point one of the reader children have seen inconsistent state.

Signature · 2 lines
Cyril Hrubis
[email protected]