Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 5dd570e0693089fd18c1f1bd8c2b63ff5928a338 ("btrfs: clear free space tree on ro->rw remount") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: xfstests version: xfstests-x86_64-d41dcbd-1_20201116 with following parameters: disk: 6HDD fs: btrfs test: btrfs-group-04 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 2020-11-27 03:53:37 export TEST_DIR=/fs/sda1 2020-11-27 03:53:37 export TEST_DEV=/dev/sda1 2020-11-27 03:53:37 export FSTYP=btrfs 2020-11-27 03:53:37 export SCRATCH_MNT=/fs/scratch 2020-11-27 03:53:37 mkdir /fs/scratch -p 2020-11-27 03:53:37 export SCRATCH_DEV_POOL="/dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6" 2020-11-27 03:53:37 sed "s:^:btrfs/:" //lkp/benchmarks/xfstests/tests/btrfs-group-04 2020-11-27 03:53:37 ./check btrfs/200 btrfs/201 btrfs/202 btrfs/203 btrfs/204 btrfs/205 btrfs/206 btrfs/207 btrfs/208 btrfs/209 btrfs/210 btrfs/211 btrfs/212 btrfs/213 btrfs/214 btrfs/215 btrfs/216 btrfs/217 btrfs/218 btrfs/219 btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 FSTYP -- btrfs PLATFORM -- Linux/x86_64 lkp-hsw-d01 5.10.0-rc5-00156-g5dd570e06930 #1 SMP Thu Nov 26 22:21:38 CST 2020 MKFS_OPTIONS -- /dev/sda2 MOUNT_OPTIONS -- /dev/sda2 /fs/scratch btrfs/200 1s btrfs/201 19s btrfs/202 0s btrfs/203 2s btrfs/204 2s btrfs/205 2s btrfs/206 [not run] This test requires a valid $LOGWRITES_DEV btrfs/207 52s btrfs/208 [not run] /bin/btrfs too old (must support subvolume delete --subvolid) btrfs/209 1s btrfs/210 1s btrfs/211 2s btrfs/212 17s btrfs/213 11s btrfs/214 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/214.out.bad) --- tests/btrfs/214.out 2020-11-16 06:09:57.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//btrfs/214.out.bad 2020-11-27 03:55:31.694949505 +0000 @@ -1,6 +1,86 @@ QA output created by 214 Test full send + file without capabilities, then incremental send bringing a new capability +ERROR: receive args invalid +/fs/scratch/fs2/snap_init/foo.bar (No such file or directory) +ERROR: receive args invalid +/fs/scratch/fs2/snap_inc/foo.bar (No such file or directory) + ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/214.out /lkp/benchmarks/xfstests/results//btrfs/214.out.bad' to see the entire diff) btrfs/215 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/215.out.bad) --- tests/btrfs/215.out 2020-11-16 06:09:57.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//btrfs/215.out.bad 2020-11-27 03:55:32.425949537 +0000 @@ -1,2 +1,3 @@ QA output created by 215 -Silence is golden +Errors: 2 expected: 1 +(see /lkp/benchmarks/xfstests/results//btrfs/215.full for details) ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/215.out /lkp/benchmarks/xfstests/results//btrfs/215.out.bad' to see the entire diff) btrfs/216 1s btrfs/217 [not run] FSTRIM not supported btrfs/218 1s btrfs/219 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/219.out.bad) --- tests/btrfs/219.out 2020-11-16 06:09:57.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//btrfs/219.out.bad 2020-11-27 03:55:36.570949720 +0000 @@ -1,2 +1,6 @@ QA output created by 219 -Silence is golden +./common/btrfs: line 405: _require_loadable_fs_module: command not found +./common/btrfs: line 412: _reload_fs_module: command not found +We couldn't mount the old generation +(see /lkp/benchmarks/xfstests/results//btrfs/219.full for details) +umount: /fs/sda1/219.mnt: not mounted. ... (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/219.out /lkp/benchmarks/xfstests/results//btrfs/219.out.bad' to see the entire diff) btrfs/220 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/220.out.bad) --- tests/btrfs/220.out 2020-11-16 06:09:57.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//btrfs/220.out.bad 2020-11-27 03:55:42.706949990 +0000 @@ -1,2 +1,3 @@ QA output created by 220 +Unexepcted mount options, checking for 'clear_cache,relatime,space_cache,subvol=/,subvolid=5' in 'rw,relatime,space_cache,subvolid=5,subvol=/' using 'clear_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 1s 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 2020-11-16 06:09:57.000000000 +0000 +++ /lkp/benchmarks/xfstests/results//btrfs/225.out.bad 2020-11-27 03:55:49.725950300 +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 Ran: btrfs/200 btrfs/201 btrfs/202 btrfs/203 btrfs/204 btrfs/205 btrfs/206 btrfs/207 btrfs/208 btrfs/209 btrfs/210 btrfs/211 btrfs/212 btrfs/213 btrfs/214 btrfs/215 btrfs/216 btrfs/217 btrfs/218 btrfs/219 btrfs/220 btrfs/221 btrfs/222 btrfs/223 btrfs/224 btrfs/225 btrfs/226 Not run: btrfs/206 btrfs/208 btrfs/217 btrfs/223 Failures: btrfs/214 btrfs/215 btrfs/219 btrfs/220 btrfs/225 Failed 5 of 27 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 run job.yaml Thanks, Oliver Sang