2022-01-14 07:43:45

by kernel test robot

[permalink] [raw]
Subject: [loop] 322c4293ec: xfstests.xfs.014.fail


(please be noted we reported "[loop] 322c4293ec: xfstests.xfs.049.fail"
on https://lists.01.org/hyperkitty/list/[email protected]/thread/FQDXNHC7CYZQEGW5Y73GWP3CHOSU3PP3/
when this commit still on linux-next, and we noticed some discussion about
the fix there. since now the commit merged to mainline and issues still
exists, we reported this again as a reminder. Thanks)

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 322c4293ecc58110227b49d7e47ae37b9b03566f ("loop: make autoclear operation asynchronous")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: xfstests
version: xfstests-x86_64-972d710-1_20211221
with following parameters:

disk: 4HDD
fs: xfs
test: xfs-group-01
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: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G 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]>

2022-01-13 03:59:39 export TEST_DIR=/fs/sda2
2022-01-13 03:59:39 export TEST_DEV=/dev/sda2
2022-01-13 03:59:39 export FSTYP=xfs
2022-01-13 03:59:39 export SCRATCH_MNT=/fs/scratch
2022-01-13 03:59:39 mkdir /fs/scratch -p
2022-01-13 03:59:39 export SCRATCH_DEV=/dev/sda5
2022-01-13 03:59:39 export SCRATCH_LOGDEV=/dev/sda3
2022-01-13 03:59:39 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2022-01-13 03:59:39 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2022-01-13 03:59:39 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group-01
2022-01-13 03:59:39 ./check xfs/010 xfs/011 xfs/012 xfs/013 xfs/014 xfs/015 xfs/016 xfs/017 xfs/018 xfs/019
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 lkp-ivb-d04 5.16.0-rc3-00080-g322c4293ecc5 #1 SMP Thu Jan 13 10:02:46 CST 2022
MKFS_OPTIONS -- -f /dev/sda5
MOUNT_OPTIONS -- /dev/sda5 /fs/scratch

xfs/010 9s
xfs/011 21s
xfs/012 2s
xfs/013 344s
xfs/014 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/014.out.bad)
--- tests/xfs/014.out 2022-01-11 11:03:35.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/014.out.bad 2022-01-13 04:06:16.565193796 +0000
@@ -1,2 +1,3 @@
QA output created by 014
Silence is golden.
+umount: /fs/scratch: target is busy.
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/014.out /lkp/benchmarks/xfstests/results//xfs/014.out.bad' to see the entire diff)
xfs/015 20s
xfs/016 [not run] Cannot run this test using log MKFS_OPTIONS specified
xfs/017 20s
xfs/018 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/018.out.bad)
--- tests/xfs/018.out 2022-01-11 11:03:35.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/018.out.bad 2022-01-13 04:07:05.256195969 +0000
@@ -1,17 +1,9 @@
QA output created by 018
*** init FS
-*** compare logprint: 018.op with 018.fulldir/op.mnt-onoalign,logbsize=32k.mkfs-lsize=2000b-llazy-count=1-lversion=1.filtered
-*** compare logprint: 018.trans_inode with 018.fulldir/trans_inode.mnt-onoalign,logbsize=32k.mkfs-lsize=2000b-llazy-count=1-lversion=1.filtered
-*** compare logprint: 018.trans_buf with 018.fulldir/trans_buf.mnt-onoalign,logbsize=32k.mkfs-lsize=2000b-llazy-count=1-lversion=1.filtered
-*** compare logprint: 018.op with 018.fulldir/op.mnt-onoalign,logbsize=32k.mkfs-lsize=2000b-llazy-count=1-lversion=2.filtered
-*** compare logprint: 018.trans_inode with 018.fulldir/trans_inode.mnt-onoalign,logbsize=32k.mkfs-lsize=2000b-llazy-count=1-lversion=2.filtered
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/018.out /lkp/benchmarks/xfstests/results//xfs/018.out.bad' to see the entire diff)
xfs/019 3s
Ran: xfs/010 xfs/011 xfs/012 xfs/013 xfs/014 xfs/015 xfs/016 xfs/017 xfs/018 xfs/019
Not run: xfs/016
Failures: xfs/014 xfs/018
Failed 2 of 10 tests




To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo 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
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (4.54 kB)
config-5.16.0-rc3-00080-g322c4293ecc5 (173.49 kB)
job-script (5.68 kB)
kmsg.xz (23.42 kB)
xfstests (2.76 kB)
job.yaml (4.85 kB)
reproduce (924.00 B)
Download all attachments