fstests/btrfs/080 fails
Hi
Recently I found btrfs/080 fails like:
btrfs/080 124s ... [failed, exit status 1]- output mismatch (see /root/xfstests-dev/results//btrfs/080.out.bad)
--- tests/btrfs/080.out 2024-08-29 09:10:14.933333334 +0800
+++ /root/xfstests-dev/results//btrfs/080.out.bad 2025-02-14 12:53:24.667572260 +0800
@@ -1,2 +1,3 @@
QA output created by 080
-Silence is golden
+Unexpected digest for file /mnt/scratch/12_52_59_984815662_snap/foobar_39
+(see /root/xfstests-dev/results//btrfs/080.full for details)
...
(Run 'diff -u /root/xfstests-dev/tests/btrfs/080.out /root/xfstests-dev/results//btrfs/080.out.bad' to see the entire diff)Ran: btrfs/080
Failures: btrfs/080
Failed 1 of 1 tests
It can be reproduced once in about 20 times on v6.13, misc-next(HEAD: 1c08f86eeadab89e8f6ad8559df54633afb7a3ba) in my VM with 32 cores.
Configs and log are attached.
—
Su
Quoted 23 lines · Glass Su
Hi
Recently I found btrfs/080 fails like:
btrfs/080 124s ... [failed, exit status 1]- output mismatch (see
/root/xfstests-dev/results//btrfs/080.out.bad)
--- tests/btrfs/080.out 2024-08-29 09:10:14.933333334 +0800
+++/root/xfstests-dev/results//btrfs/080.out.bad2025-02-14 12:53:24.667572260 +0800
@@ -1,2 +1,3 @@
QA output created by 080
-Silence is golden
+Unexpected digest for file/mnt/scratch/12_52_59_984815662_snap/foobar_39
+(see/root/xfstests-dev/results//btrfs/080.fullfor details)
...
(Run 'diff -u/root/xfstests-dev/tests/btrfs/080.out/root/xfstests-dev/results//btrfs/080.out.bad' to see the entire diff)
Ran: btrfs/080
Failures: btrfs/080
Failed 1 of 1 tests
Quoted 1 line
It can be reproduced once in about 20 times on v6.13, misc-next(HEAD:
1c08f86eeadab89e8f6ad8559df54633afb7a3ba)
'misc-next' should be 'for-next'.
Quoted 10 lines
in my VM with 32 cores.
Configs and log are attached.
—
Su<btrfs_080.zip>
Quoted 15 lines · Glass Su
Hi
Recently I found btrfs/080 fails like:
btrfs/080 124s ... [failed, exit status 1]- output mismatch (see
/root/xfstests-dev/results//btrfs/080.out.bad)--- tests/btrfs/080.out 2024-08-29 09:10:14.933333334 +0800 +++ /root/xfstests-dev/results//btrfs/080.out.bad 2025-02-14 12:53:24.667572260 +0800 @@ -1,2 +1,3 @@ QA output created by 080 -Silence is golden +Unexpected digest for file /mnt/scratch/12_52_59_984815662_snap/foobar_39 +(see /root/xfstests-dev/results//btrfs/080.full for details) ... (Run 'diff -u /root/xfstests-dev/tests/btrfs/080.out /root/xfstests-dev/results//btrfs/080.out.bad' to see the entire diff)
Quoted 8 lines
Ran: btrfs/080
Failures: btrfs/080
Failed 1 of 1 testsIt can be reproduced once in about 20 times on v6.13, misc-next(HEAD:
1c08f86eeadab89e8f6ad8559df54633afb7a3ba) in my VM with 32 cores.Configs and log are attached.
I checked your kernel config, it looks like it has a config that is known to cause problems:
- CONFIG_PT_RECLAIM=y
I'm unable to reproduce the bug locally, with 64 runs.
But that's with CONFIG_PT_RECLAIM=n, as I use that config to workaround the bug.
Mind to test with either that config disabled, or apply this hotfix and retry?
https://lore.kernel.org/linux-mm/[email protected]/
Thanks,
Qu
Quoted 8 lines
—
Su
Quoted 29 lines · Qu Wenruo
Quoted 22 lines · Glass Su
Hi
Recently I found btrfs/080 fails like:
btrfs/080 124s ... [failed, exit status 1]- output mismatch (see
/root/xfstests-dev/results//btrfs/080.out.bad)--- tests/btrfs/080.out 2024-08-29 09:10:14.933333334 +0800 +++ /root/xfstests-dev/results//btrfs/080.out.bad 2025-02-14 12:53:24.667572260 +0800 @@ -1,2 +1,3 @@ QA output created by 080 -Silence is golden +Unexpected digest for file /mnt/scratch/12_52_59_984815662_snap/foobar_39 +(see /root/xfstests-dev/results//btrfs/080.full for details) ... (Run 'diff -u /root/xfstests-dev/tests/btrfs/080.out /root/xfstests-dev/results//btrfs/080.out.bad' to see the entire diff)Ran: btrfs/080
Failures: btrfs/080
Failed 1 of 1 testsIt can be reproduced once in about 20 times on v6.13, misc-next(HEAD:
1c08f86eeadab89e8f6ad8559df54633afb7a3ba) in my VM with 32 cores.
Quoted 8 lines
Quoted 1 line
Configs and log are attached.
I checked your kernel config, it looks like it has a config that is known to cause problems:
-
CONFIG_PT_RECLAIM=yI'm unable to reproduce the bug locally, with 64 runs.
The test stresses CPU I guess reproduce possibility is CPU cores sensitive.
Quoted 9 lines
But that's with
CONFIG_PT_RECLAIM=n, as I use that config to workaround the bug.Mind to test with either that config disabled, or apply this hotfix and retry?
Unfortunately it still fails after patching this.
—
Su
Quoted 6 lines
Thanks,
QuQuoted 4 lines
—
Su
Quoted 33 lines · Qu Wenruo
Quoted 15 lines · Glass Su
Hi
Recently I found btrfs/080 fails like:
btrfs/080 124s ... [failed, exit status 1]- output mismatch (see
/root/xfstests-dev/results//btrfs/080.out.bad)--- tests/btrfs/080.out 2024-08-29 09:10:14.933333334 +0800 +++ /root/xfstests-dev/results//btrfs/080.out.bad 2025-02-14 12:53:24.667572260 +0800 @@ -1,2 +1,3 @@ QA output created by 080 -Silence is golden +Unexpected digest for file /mnt/scratch/12_52_59_984815662_snap/foobar_39 +(see /root/xfstests-dev/results//btrfs/080.full for details) ... (Run 'diff -u /root/xfstests-dev/tests/btrfs/080.out /root/xfstests-dev/results//btrfs/080.out.bad' to see the entire diff)Quoted 8 lines
Ran: btrfs/080
Failures: btrfs/080
Failed 1 of 1 testsIt can be reproduced once in about 20 times on v6.13, misc-next(HEAD:
1c08f86eeadab89e8f6ad8559df54633afb7a3ba) in my VM with 32 cores.Configs and log are attached.
I checked your kernel config, it looks like it has a config that is known to cause problems:
-
CONFIG_PT_RECLAIM=y
Quoted 8 lines
I'm unable to reproduce the bug locally, with 64 runs.
But that's withCONFIG_PT_RECLAIM=n, as I use that config to workaround the bug.Mind to test with either that config disabled, or apply this hotfix and retry?
Nop, that's totally unrelated.
I've been getting the failure too, very sporadically, even before for-next was based on 6.14-rc1/2.
The problem is due to a behaviour that changed in the buffered write path (you did that change).
I've just sent an update to the test to make it work on 6.13+:
Thanks.
Quoted 13 lines
Thanks,
QuQuoted 8 lines
—
Su