Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: cc8ac1ffe67738bf40de69c97c4ba4088e564cfe ("f2fs: enable realtime discard iff device supports discard")
https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git dev-test
in testcase: xfstests
version: xfstests-x86_64-76d2a91-1_20210820
with following parameters:
disk: 4HDD
fs: f2fs
test: generic-group-02
ucode: 0x21
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz with 16G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
2021-08-25 23:08:05 export TEST_DIR=/fs/sda1
2021-08-25 23:08:05 export TEST_DEV=/dev/sda1
2021-08-25 23:08:05 export FSTYP=f2fs
2021-08-25 23:08:05 export SCRATCH_MNT=/fs/scratch
2021-08-25 23:08:05 mkdir /fs/scratch -p
2021-08-25 23:08:05 export SCRATCH_DEV=/dev/sda4
2021-08-25 23:08:05 export MKFS_OPTIONS=-f
2021-08-25 23:08:05 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group-02
2021-08-25 23:08:05 ./check generic/040 generic/041 generic/042 generic/043 generic/044 generic/045 generic/046 generic/047 generic/048 generic/049 generic/050 generic/051 generic/052 generic/053 generic/054 generic/055 generic/056 generic/057 generic/058 generic/059
FSTYP -- f2fs
PLATFORM -- Linux/x86_64 lkp-ivb-d01 5.14.0-rc1-00038-gcc8ac1ffe677 #1 SMP Wed Aug 25 21:50:50 CST 2021
MKFS_OPTIONS -- -f /dev/sda4
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda4 /fs/scratch
generic/040 9s
generic/041 12s
generic/042 12s
generic/043 22s
generic/044 24s
generic/045 24s
generic/046 23s
generic/047 31s
generic/048 190s
generic/049 17s
generic/050 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/050.out.bad)
--- tests/generic/050.out 2021-08-20 08:23:47.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/050.out.bad 2021-08-25 23:14:24.101691266 +0000
@@ -13,9 +13,7 @@
setting device read-only
mounting filesystem that needs recovery on a read-only device:
mount: device write-protected, mounting read-only
-mount: cannot mount device read-only
unmounting read-only filesystem
-umount: SCRATCH_DEV: not mounted
mounting filesystem with -o norecovery on a read-only device:
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/050.out /lkp/benchmarks/xfstests/results//generic/050.out.bad' to see the entire diff)
generic/051 117s
generic/052 10s
generic/053 10s
generic/054 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/054.out.bad)
--- tests/generic/054.out 2021-08-20 08:23:47.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/054.out.bad 2021-08-25 23:19:23.940683066 +0000
@@ -1182,233 +1182,7 @@
*** mount ***
-*** ls SCRATCH_MNT ***
-
-00
-01
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/054.out /lkp/benchmarks/xfstests/results//generic/054.out.bad' to see the entire diff)
generic/055 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/055.out.bad)
--- tests/generic/055.out 2021-08-20 08:23:47.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/055.out.bad 2021-08-25 23:20:39.620680996 +0000
@@ -217,40 +217,7 @@
*** mount ***
-*** calling fsstress -p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20 -m8 -n 10000 ***
-
-
-*** ls -RF SCRATCH_MNT ***
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/055.out /lkp/benchmarks/xfstests/results//generic/055.out.bad' to see the entire diff)
generic/056 7s
generic/057 7s
generic/058 5s
generic/059 8s
Ran: generic/040 generic/041 generic/042 generic/043 generic/044 generic/045 generic/046 generic/047 generic/048 generic/049 generic/050 generic/051 generic/052 generic/053 generic/054 generic/055 generic/056 generic/057 generic/058 generic/059
Failures: generic/050 generic/054 generic/055
Failed 3 of 20 tests
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
bin/lkp run generated-yaml-file
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation
Thanks,
Oliver Sang