From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: "fstests@vger.kernel.org" <fstests@vger.kernel.org>,
linux-btrfs <linux-btrfs@vger.kernel.org>,
linux-xfs@vger.kernel.org
Subject: Golden output mismatch from generic/228, fs independent
Date: Tue, 2 Sep 2025 20:00:32 +0930 [thread overview]
Message-ID: <60b73970-9cb6-49b1-ad5f-51ab02ef2c98@gmx.com> (raw)
Hi,
Recently I updated my arm64 VM, and now several test cases are failing
due to golden output mismatch.
This time it's fs independent, and I haven't yet updated fstests itself,
so it looks like some updates in my environment is breaking the test.
E.g, generic/228 on ext4 (the same on btrfs)
FSTYP -- ext4
PLATFORM -- Linux/aarch64 btrfs-aarch64 6.17.0-rc3-custom+ #132 SMP
PREEMPT_DYNAMIC Mon Sep 1 08:38:46 ACST 2025
MKFS_OPTIONS -- -F /dev/mapper/test-scratch1
MOUNT_OPTIONS -- -o acl,user_xattr /dev/mapper/test-scratch1 /mnt/scratch
generic/228 0s ... - output mismatch (see
/home/adam/xfstests-dev/results//generic/228.out.bad)
--- tests/generic/228.out 2024-04-25 18:13:45.126552201 +0930
+++ /home/adam/xfstests-dev/results//generic/228.out.bad 2025-09-02
19:51:22.806635177 +0930
@@ -1,6 +1,6 @@
QA output created by 228
File size limit is now set to 100 MB.
Let us try to preallocate 101 MB. This should fail.
-File size limit exceeded
+File size limit exceeded $XFS_IO_PROG -f -c 'falloc 0 101m'
$TEST_DIR/ouch
Let us now try to preallocate 50 MB. This should succeed.
Test over.
...
(Run 'diff -u /home/adam/xfstests-dev/tests/generic/228.out
/home/adam/xfstests-dev/results//generic/228.out.bad' to see the entire
diff)
Ran: generic/228
Failures: generic/228
Failed 1 of 1 tests
Or generic/733 on btrfs:
generic/733 7s ... - output mismatch (see
/home/adam/xfstests-dev/results//generic/733.out.bad)
--- tests/generic/733.out 2024-04-25 18:13:45.203549435 +0930
+++ /home/adam/xfstests-dev/results//generic/733.out.bad 2025-09-02
19:59:07.858861039 +0930
@@ -2,5 +2,5 @@
Format and mount
Create a many-block file
Reflink the big file
-Terminated
+Terminated $here/src/t_reflink_read_race
"$testdir/file1" "$testdir/file2" "$testdir/outcome" &>> $seqres.full
test completed successfully
...
(Run 'diff -u /home/adam/xfstests-dev/tests/generic/733.out
/home/adam/xfstests-dev/results//generic/733.out.bad' to see the entire
diff)
HINT: You _MAY_ be missing kernel fix:
5d6f0e9890ed btrfs: stop locking the source extent range during
reflink
I didn't know why, but the when those commands failed, the full script
line triggering it is also shown.
I checked my log, bash/xfsprogs and a lot of other packages are all
updated, and unfortunately my distro doesn't provide older packages for
me to bisect...
Thanks,
Qu
next reply other threads:[~2025-09-02 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 10:30 Qu Wenruo [this message]
2025-09-02 12:09 ` Golden output mismatch from generic/228, fs independent Theodore Ts'o
2025-09-02 16:48 ` Theodore Ts'o
2025-09-02 21:40 ` Qu Wenruo
2025-09-04 1:29 ` Qu Wenruo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60b73970-9cb6-49b1-ad5f-51ab02ef2c98@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=fstests@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox