2022-04-22 21:02:37

by kernel test robot

[permalink] [raw]
Subject: [xfs] 340bfe43cb: xfstests.xfs.533.fail


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

commit: 340bfe43cba9575af828a9c48fcc74dced7c98c3 ("xfs: Directory's data fork extent counter can never overflow")
url: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220409-215457/Chandan-Babu-R/xfs-Extend-per-inode-extent-counters/20220406-174647

in testcase: xfstests
version: xfstests-x86_64-46e1b83-1_20220414
with following parameters:

disk: 4HDD
fs: xfs
test: xfs-group-53
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-04-19 12:05:42 export TEST_DIR=/fs/sdb1
2022-04-19 12:05:42 export TEST_DEV=/dev/sdb1
2022-04-19 12:05:42 export FSTYP=xfs
2022-04-19 12:05:42 export SCRATCH_MNT=/fs/scratch
2022-04-19 12:05:42 mkdir /fs/scratch -p
2022-04-19 12:05:42 export SCRATCH_DEV=/dev/sdb4
2022-04-19 12:05:42 export SCRATCH_LOGDEV=/dev/sdb2
2022-04-19 12:05:42 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2022-04-19 12:05:42 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2022-04-19 12:05:42 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group-53
2022-04-19 12:05:42 ./check xfs/531 xfs/532 xfs/533 xfs/534 xfs/538 xfs/539
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 lkp-ivb-d05 5.17.0-rc6-00044-g340bfe43cba9 #1 SMP Tue Apr 19 17:34:24 CST 2022
MKFS_OPTIONS -- -f /dev/sdb4
MOUNT_OPTIONS -- /dev/sdb4 /fs/scratch

xfs/531 3s
xfs/532 29s
xfs/533 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/533.out.bad)
--- tests/xfs/533.out 2022-04-14 12:51:49.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/533.out.bad 2022-04-19 12:06:37.650316856 +0000
@@ -6,12 +6,4 @@
Inject bmap_alloc_minlen_extent error tag
* Create directory entries
Verify directory's extent count
-* Rename: Populate destination directory
-Populate $dstdir by moving new directory entries
-Verify $dstdir's extent count
-* Create multiple hard links to a single file
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/533.out /lkp/benchmarks/xfstests/results//xfs/533.out.bad' to see the entire diff)
xfs/534 3s
xfs/538 570s
xfs/539 3s
Ran: xfs/531 xfs/532 xfs/533 xfs/534 xfs/538 xfs/539
Failures: xfs/533
Failed 1 of 6 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.

0-DAY CI Kernel Test Service

(No filename) (3.15 kB)
config-5.17.0-rc6-00044-g340bfe43cba9 (167.27 kB)
job-script (5.85 kB)
dmesg.xz (10.25 kB)
xfstests (1.71 kB)
job.yaml (4.82 kB)
reproduce (921.00 B)
Download all attachments