Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 5297199a8bca12b8b96afcbf2341605efb6005de ("btrfs: remove inode number cache feature")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: xfstests
version: xfstests-x86_64-d41dcbd-1_20201218
with following parameters:
disk: 6HDD
fs: btrfs
test: btrfs-group-22
ucode: 0x28
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 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 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]>
2021-03-09 04:13:26 export TEST_DIR=/fs/sdb1
2021-03-09 04:13:26 export TEST_DEV=/dev/sdb1
2021-03-09 04:13:26 export FSTYP=btrfs
2021-03-09 04:13:26 export SCRATCH_MNT=/fs/scratch
2021-03-09 04:13:26 mkdir /fs/scratch -p
2021-03-09 04:13:26 export SCRATCH_DEV_POOL="/dev/sdb2 /dev/sdb3 /dev/sdb4 /dev/sdb5 /dev/sdb6"
2021-03-09 04:13:26 sed "s:^:btrfs/:" //lkp/benchmarks/xfstests/tests/btrfs-group-22
2021-03-09 04:13:26 ./check btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 btrfs/227
FSTYP -- btrfs
PLATFORM -- Linux/x86_64 lkp-hsw-d01 5.10.0-rc7-00162-g5297199a8bca #1 SMP Sat Feb 27 21:06:26 CST 2021
MKFS_OPTIONS -- /dev/sdb2
MOUNT_OPTIONS -- /dev/sdb2 /fs/scratch
btrfs/220 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/220.out.bad)
--- tests/btrfs/220.out 2021-01-14 07:40:58.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//btrfs/220.out.bad 2021-03-09 04:13:32.880794446 +0000
@@ -1,2 +1,3 @@
QA output created by 220
+Unexepcted mount options, checking for 'inode_cache,relatime,space_cache,subvol=/,subvolid=5' in 'rw,relatime,space_cache,subvolid=5,subvol=/' using 'inode_cache'
Silence is golden
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/220.out /lkp/benchmarks/xfstests/results//btrfs/220.out.bad' to see the entire diff)
btrfs/221 2s
btrfs/222 1s
btrfs/223 [not run] FITRIM not supported on /fs/scratch
btrfs/224 2s
btrfs/225 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/225.out.bad)
--- tests/btrfs/225.out 2021-01-14 07:40:58.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//btrfs/225.out.bad 2021-03-09 04:13:40.007794760 +0000
@@ -6,6 +6,7 @@
0000000 cdcd cdcd cdcd cdcd cdcd cdcd cdcd cdcd
*
4000000
+./common/btrfs: line 412: _reload_fs_module: command not found
--- after delete ----
0000000 abab abab abab abab abab abab abab abab
*
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/225.out /lkp/benchmarks/xfstests/results//btrfs/225.out.bad' to see the entire diff)
btrfs/226 3s
btrfs/227 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/227.out.bad)
--- tests/btrfs/227.out 2021-01-14 07:40:58.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//btrfs/227.out.bad 2021-03-09 04:13:44.597794962 +0000
@@ -2,5 +2,11 @@
At subvol SCRATCH_MNT/mysnap1
At subvol SCRATCH_MNT/mysnap2
At subvol mysnap1
+ERROR: chown o257-9-0 failed: No such file or directory
OK
-OK
+metadata mismatch in /newfile
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/227.out /lkp/benchmarks/xfstests/results//btrfs/227.out.bad' to see the entire diff)
Ran: btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 btrfs/227
Not run: btrfs/223
Failures: btrfs/220 btrfs/225 btrfs/227
Failed 3 of 8 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
bin/lkp run compatible-job.yaml
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation
Thanks,
Oliver Sang
On 9.03.21 г. 10:49 ч., kernel test robot wrote:
>
>
> Greeting,
>
> FYI, we noticed the following commit (built with gcc-9):
>
> commit: 5297199a8bca12b8b96afcbf2341605efb6005de ("btrfs: remove inode number cache feature")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
>
> in testcase: xfstests
> version: xfstests-x86_64-d41dcbd-1_20201218
> with following parameters:
>
> disk: 6HDD
> fs: btrfs
> test: btrfs-group-22
> ucode: 0x28
>
> 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 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 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]>
>
> 2021-03-09 04:13:26 export TEST_DIR=/fs/sdb1
> 2021-03-09 04:13:26 export TEST_DEV=/dev/sdb1
> 2021-03-09 04:13:26 export FSTYP=btrfs
> 2021-03-09 04:13:26 export SCRATCH_MNT=/fs/scratch
> 2021-03-09 04:13:26 mkdir /fs/scratch -p
> 2021-03-09 04:13:26 export SCRATCH_DEV_POOL="/dev/sdb2 /dev/sdb3 /dev/sdb4 /dev/sdb5 /dev/sdb6"
> 2021-03-09 04:13:26 sed "s:^:btrfs/:" //lkp/benchmarks/xfstests/tests/btrfs-group-22
> 2021-03-09 04:13:26 ./check btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 btrfs/227
> FSTYP -- btrfs
> PLATFORM -- Linux/x86_64 lkp-hsw-d01 5.10.0-rc7-00162-g5297199a8bca #1 SMP Sat Feb 27 21:06:26 CST 2021
> MKFS_OPTIONS -- /dev/sdb2
> MOUNT_OPTIONS -- /dev/sdb2 /fs/scratch
>
> btrfs/220 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/220.out.bad)
> --- tests/btrfs/220.out 2021-01-14 07:40:58.000000000 +0000
> +++ /lkp/benchmarks/xfstests/results//btrfs/220.out.bad 2021-03-09 04:13:32.880794446 +0000
> @@ -1,2 +1,3 @@
> QA output created by 220
> +Unexepcted mount options, checking for 'inode_cache,relatime,space_cache,subvol=/,subvolid=5' in 'rw,relatime,space_cache,subvolid=5,subvol=/' using 'inode_cache'
Given that the commit removes the inode_cache feature that's expected, I
assume you need to adjust your fstests configuration to not use
inode_cache.
Hi Nikolay,
On Tue, Mar 09, 2021 at 10:36:52AM +0200, Nikolay Borisov wrote:
>
>
> On 9.03.21 г. 10:49 ч., kernel test robot wrote:
> >
> >
> > Greeting,
> >
> > FYI, we noticed the following commit (built with gcc-9):
> >
> > commit: 5297199a8bca12b8b96afcbf2341605efb6005de ("btrfs: remove inode number cache feature")
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> >
> >
> > in testcase: xfstests
> > version: xfstests-x86_64-d41dcbd-1_20201218
> > with following parameters:
> >
> > disk: 6HDD
> > fs: btrfs
> > test: btrfs-group-22
> > ucode: 0x28
> >
> > 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 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 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]>
> >
> > 2021-03-09 04:13:26 export TEST_DIR=/fs/sdb1
> > 2021-03-09 04:13:26 export TEST_DEV=/dev/sdb1
> > 2021-03-09 04:13:26 export FSTYP=btrfs
> > 2021-03-09 04:13:26 export SCRATCH_MNT=/fs/scratch
> > 2021-03-09 04:13:26 mkdir /fs/scratch -p
> > 2021-03-09 04:13:26 export SCRATCH_DEV_POOL="/dev/sdb2 /dev/sdb3 /dev/sdb4 /dev/sdb5 /dev/sdb6"
> > 2021-03-09 04:13:26 sed "s:^:btrfs/:" //lkp/benchmarks/xfstests/tests/btrfs-group-22
> > 2021-03-09 04:13:26 ./check btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 btrfs/227
> > FSTYP -- btrfs
> > PLATFORM -- Linux/x86_64 lkp-hsw-d01 5.10.0-rc7-00162-g5297199a8bca #1 SMP Sat Feb 27 21:06:26 CST 2021
> > MKFS_OPTIONS -- /dev/sdb2
> > MOUNT_OPTIONS -- /dev/sdb2 /fs/scratch
> >
> > btrfs/220 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/220.out.bad)
> > --- tests/btrfs/220.out 2021-01-14 07:40:58.000000000 +0000
> > +++ /lkp/benchmarks/xfstests/results//btrfs/220.out.bad 2021-03-09 04:13:32.880794446 +0000
> > @@ -1,2 +1,3 @@
> > QA output created by 220
> > +Unexepcted mount options, checking for 'inode_cache,relatime,space_cache,subvol=/,subvolid=5' in 'rw,relatime,space_cache,subvolid=5,subvol=/' using 'inode_cache'
>
>
> Given that the commit removes the inode_cache feature that's expected, I
> assume you need to adjust your fstests configuration to not use
> inode_cache.
Thanks for information, we will change test options accordingly.