Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: cd452af3885945d9f51916981244ef0d3ce06e39 ("[PATCH v2 2/4] btrfs: mark device addition as mnt_want_write_file")
url: https://github.com/0day-ci/linux/commits/Naohiro-Aota/protect-relocation-with-sb_start_write/20220316-214747
base: https://git.kernel.org/cgit/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/linux-btrfs/4b8a439c276e774ab2402cbd5395061ea0bd3cde.1647436353.git.naohiro.aota@wdc.com
in testcase: xfstests
version: xfstests-x86_64-1de1db8-1_20220217
with following parameters:
disk: 6HDD
fs: btrfs
test: btrfs-group-21
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 1 sockets 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]>
(besides btrfs/218 mentioned in title, below btrfs/216 also failed upon this
commit while pass on parent)
btrfs/216 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/216.out.bad)
--- tests/btrfs/216.out 2022-02-17 11:55:00.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//btrfs/216.out.bad 2022-03-18 02:03:24.519699474 +0000
@@ -1,2 +1,4 @@
QA output created by 216
+ERROR: error adding device '/dev/sda3': Read-only file system
+Unexpected device: /dev/sda2, expected /dev/sda3
Silence is golden
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/216.out /lkp/benchmarks/xfstests/results//btrfs/216.out.bad' to see the entire diff)
btrfs/218 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/218.out.bad)
--- tests/btrfs/218.out 2022-02-17 11:55:00.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//btrfs/218.out.bad 2022-03-18 02:03:26.495699378 +0000
@@ -3,23 +3,3 @@
Total devices <NUM> FS bytes used <SIZE>
devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
-[SCRATCH_DEV].write_io_errs 0
-[SCRATCH_DEV].read_io_errs 0
-[SCRATCH_DEV].flush_io_errs 0
-[SCRATCH_DEV].corruption_errs 0
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/218.out /lkp/benchmarks/xfstests/results//btrfs/218.out.bad' to see the entire diff)
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
https://lists.01.org/hyperkitty/list/[email protected]
Thanks,
Oliver Sang