Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 87f196bed33473d8f0d114089b7acf5c1e278cee ("[PATCH] fs: Allow open with O_CREAT to succeed if existing dir is specified")
url: https://github.com/0day-ci/linux/commits/Arthur-Williams/fs-Allow-open-with-O_CREAT-to-succeed-if-existing-dir-is-specified/20210619-190246
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 9ed13a17e38e0537e24d9b507645002bf8d0201f
in testcase: xfstests
version: xfstests-x86_64-76d2a91-1_20210628
with following parameters:
disk: 4HDD
fs: btrfs
test: generic-group-07
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-12-01 20:44:11 export TEST_DIR=/fs/sdb1
2021-12-01 20:44:11 export TEST_DEV=/dev/sdb1
2021-12-01 20:44:11 export FSTYP=btrfs
2021-12-01 20:44:11 export SCRATCH_MNT=/fs/scratch
2021-12-01 20:44:11 mkdir /fs/scratch -p
2021-12-01 20:44:11 export SCRATCH_DEV_POOL="/dev/sdb2 /dev/sdb3 /dev/sdb4"
2021-12-01 20:44:11 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group-07
2021-12-01 20:44:11 ./check generic/140 generic/141 generic/142 generic/143 generic/144 generic/145 generic/146 generic/147 generic/148 generic/149 generic/150 generic/151 generic/152 generic/153 generic/154 generic/155 generic/156 generic/157 generic/158 generic/159
FSTYP -- btrfs
PLATFORM -- Linux/x86_64 lkp-ivb-d01 5.13.0-rc6-00250-g87f196bed334 #1 SMP Mon Jun 21 06:24:48 CST 2021
MKFS_OPTIONS -- /dev/sdb2
MOUNT_OPTIONS -- /dev/sdb2 /fs/scratch
generic/140 1s
generic/141 1s
generic/142 4s
generic/143 5s
generic/144 1s
generic/145 [not run] xfs_io fcollapse failed (old kernel/wrong fs?)
generic/146 1s
generic/147 [not run] xfs_io finsert failed (old kernel/wrong fs?)
generic/148 1s
generic/149 1s
generic/150 1s
generic/151 1s
generic/152 1s
generic/153 [not run] xfs_io fcollapse failed (old kernel/wrong fs?)
generic/154 2s
generic/155 2s
generic/156 [not run] xfs_io funshare failed (old kernel/wrong fs?)
generic/157 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/157.out.bad)
--- tests/generic/157.out 2021-06-28 16:41:45.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/157.out.bad 2021-12-01 20:44:35.949001218 +0000
@@ -14,7 +14,7 @@
Try to reflink a device
XFS_IOC_CLONE_RANGE: Invalid argument
Try to reflink to a dir
-TEST_DIR/test-157/dir1: Is a directory
+XFS_IOC_CLONE_RANGE: Is a directory
Try to reflink to a device
XFS_IOC_CLONE_RANGE: Invalid argument
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/157.out /lkp/benchmarks/xfstests/results//generic/157.out.bad' to see the entire diff)
generic/158 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/158.out.bad)
--- tests/generic/158.out 2021-06-28 16:41:45.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//generic/158.out.bad 2021-12-01 20:44:37.783001265 +0000
@@ -18,7 +18,7 @@
Try to dedupe a device
XFS_IOC_FILE_EXTENT_SAME: Invalid argument
Try to dedupe to a dir
-TEST_DIR/test-158/dir1: Is a directory
+XFS_IOC_FILE_EXTENT_SAME: Is a directory
Try to dedupe to a device
XFS_IOC_FILE_EXTENT_SAME: Invalid argument
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/158.out /lkp/benchmarks/xfstests/results//generic/158.out.bad' to see the entire diff)
generic/159 1s
Ran: generic/140 generic/141 generic/142 generic/143 generic/144 generic/145 generic/146 generic/147 generic/148 generic/149 generic/150 generic/151 generic/152 generic/153 generic/154 generic/155 generic/156 generic/157 generic/158 generic/159
Not run: generic/145 generic/147 generic/153 generic/156
Failures: generic/157 generic/158
Failed 2 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
On Thu, Jul 01, 2021 at 10:19:28AM +0800, kernel test robot wrote:
> generic/156 [not run] xfs_io funshare failed (old kernel/wrong fs?)
> generic/157 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/157.out.bad)
> --- tests/generic/157.out 2021-06-28 16:41:45.000000000 +0000
> +++ /lkp/benchmarks/xfstests/results//generic/157.out.bad 2021-12-01 20:44:35.949001218 +0000
> @@ -14,7 +14,7 @@
> Try to reflink a device
> XFS_IOC_CLONE_RANGE: Invalid argument
> Try to reflink to a dir
> -TEST_DIR/test-157/dir1: Is a directory
> +XFS_IOC_CLONE_RANGE: Is a directory
The sense of the error hasn't changed but the output is different so
it needs some filter again.
> Try to reflink to a device
> XFS_IOC_CLONE_RANGE: Invalid argument
> ...
> (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/157.out /lkp/benchmarks/xfstests/results//generic/157.out.bad' to see the entire diff)
> generic/158 - output mismatch (see /lkp/benchmarks/xfstests/results//generic/158.out.bad)
> --- tests/generic/158.out 2021-06-28 16:41:45.000000000 +0000
> +++ /lkp/benchmarks/xfstests/results//generic/158.out.bad 2021-12-01 20:44:37.783001265 +0000
> @@ -18,7 +18,7 @@
> Try to dedupe a device
> XFS_IOC_FILE_EXTENT_SAME: Invalid argument
> Try to dedupe to a dir
> -TEST_DIR/test-158/dir1: Is a directory
> +XFS_IOC_FILE_EXTENT_SAME: Is a directory
Same.
> Try to dedupe to a device
> XFS_IOC_FILE_EXTENT_SAME: Invalid argument
> ...
> (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/158.out /lkp/benchmarks/xfstests/results//generic/158.out.bad' to see the entire diff)