* [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs
@ 2026-11-24 10:36 Andrey Albershteyn
2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn
2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn
0 siblings, 2 replies; 5+ messages in thread
From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw)
To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl
Hey folks,
First patch adds a hint for two tests failing on xfsprogs < v7.0.0. The
second one requires online repair used by xfs_scrub (tests won't run on
older kernel or ones without online repair).
Andrey Albershteyn (2):
generic/453,generic/454: add a hint for the missing xfsprogs commit
xfs/349,xfs/556: both these tests require online repair in the kernel
tests/generic/453 | 3 +++
tests/generic/454 | 3 +++
tests/xfs/349 | 1 +
tests/xfs/556 | 1 +
4 files changed, 8 insertions(+)
--
2.54.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit
2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn
@ 2026-11-24 10:36 ` Andrey Albershteyn
2026-11-24 20:16 ` Zorro Lang
2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn
1 sibling, 1 reply; 5+ messages in thread
From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw)
To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl
These two test will fail with xfs_scrub before v7.0.0 which dropped
warning about use of bidirectional characters. These tests trigger these
warning and break the golden output on older xfsprogs.
+Unnecessary complaints about mixed bidi characters in a name?
This warning was removed in the referenced commit.
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
---
tests/generic/453 | 3 +++
tests/generic/454 | 3 +++
2 files changed, 6 insertions(+)
diff --git a/tests/generic/453 b/tests/generic/453
index 9b121d995ad1..7d1deb553cd3 100755
--- a/tests/generic/453
+++ b/tests/generic/453
@@ -17,6 +17,9 @@ _begin_fstest auto quick dir
_require_scratch
_require_names_are_bytes
+_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \
+ "xfs_scrub: drop the warning about mixed bidirectional codepoints in names"
+
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_scratch_mount >> $seqres.full 2>&1
diff --git a/tests/generic/454 b/tests/generic/454
index 81c9a721561c..b55e9474c35a 100755
--- a/tests/generic/454
+++ b/tests/generic/454
@@ -19,6 +19,9 @@ _require_scratch
_require_attrs
_require_names_are_bytes
+_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \
+ "xfs_scrub: drop the warning about mixed bidirectional codepoints in names"
+
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_scratch_mount >> $seqres.full 2>&1
--
2.54.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel
2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn
2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn
@ 2026-11-24 10:36 ` Andrey Albershteyn
2026-11-24 20:20 ` Zorro Lang
1 sibling, 1 reply; 5+ messages in thread
From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw)
To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl
Both these tests run xfs_scrub without -n (scrub only, no repair),
therefore, scrub tries to repair found issues. However, without online
repair enabled in the kernel scrub exits with a message that online
repair is not supported, breaking the golden output.
In the xfs/556 case, online repair will not repair anything but just
prints a message that unrepairable issue found.
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
---
tests/xfs/349 | 1 +
tests/xfs/556 | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/xfs/349 b/tests/xfs/349
index a03ab812dc9e..0940ced42121 100755
--- a/tests/xfs/349
+++ b/tests/xfs/349
@@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS
_require_scratch
_require_scrub
+_require_xfs_io_command "repair" # online repair support
_require_xfs_stress_scrub
_require_populate_commands
diff --git a/tests/xfs/556 b/tests/xfs/556
index f5ad90c869ba..022a8e674a5a 100755
--- a/tests/xfs/556
+++ b/tests/xfs/556
@@ -26,6 +26,7 @@ _cleanup()
_require_scratch
_require_scratch_xfs_crc
_require_scrub
+_require_xfs_io_command "repair" # online repair support
_require_dm_target error
filter_scrub_errors() {
--
2.54.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit
2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn
@ 2026-11-24 20:16 ` Zorro Lang
0 siblings, 0 replies; 5+ messages in thread
From: Zorro Lang @ 2026-11-24 20:16 UTC (permalink / raw)
To: Andrey Albershteyn; +Cc: fstests, preichl
On Tue, Nov 24, 2026 at 11:36:14AM +0100, Andrey Albershteyn wrote:
> These two test will fail with xfs_scrub before v7.0.0 which dropped
> warning about use of bidirectional characters. These tests trigger these
> warning and break the golden output on older xfsprogs.
>
> +Unnecessary complaints about mixed bidi characters in a name?
Sorry, what's this question for?
>
> This warning was removed in the referenced commit.
>
> Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
> ---
> tests/generic/453 | 3 +++
> tests/generic/454 | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/tests/generic/453 b/tests/generic/453
> index 9b121d995ad1..7d1deb553cd3 100755
> --- a/tests/generic/453
> +++ b/tests/generic/453
> @@ -17,6 +17,9 @@ _begin_fstest auto quick dir
> _require_scratch
> _require_names_are_bytes
>
> +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \
> + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names"
> +
> echo "Format and mount"
> _scratch_mkfs > $seqres.full 2>&1
> _scratch_mount >> $seqres.full 2>&1
> diff --git a/tests/generic/454 b/tests/generic/454
> index 81c9a721561c..b55e9474c35a 100755
> --- a/tests/generic/454
> +++ b/tests/generic/454
> @@ -19,6 +19,9 @@ _require_scratch
> _require_attrs
> _require_names_are_bytes
>
> +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \
> + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names"
> +
> echo "Format and mount"
> _scratch_mkfs > $seqres.full 2>&1
> _scratch_mount >> $seqres.full 2>&1
> --
> 2.54.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel
2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn
@ 2026-11-24 20:20 ` Zorro Lang
0 siblings, 0 replies; 5+ messages in thread
From: Zorro Lang @ 2026-11-24 20:20 UTC (permalink / raw)
To: Andrey Albershteyn; +Cc: fstests, preichl
On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote:
> Both these tests run xfs_scrub without -n (scrub only, no repair),
> therefore, scrub tries to repair found issues. However, without online
> repair enabled in the kernel scrub exits with a message that online
> repair is not supported, breaking the golden output.
>
> In the xfs/556 case, online repair will not repair anything but just
> prints a message that unrepairable issue found.
>
> Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
> ---
> tests/xfs/349 | 1 +
> tests/xfs/556 | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/tests/xfs/349 b/tests/xfs/349
> index a03ab812dc9e..0940ced42121 100755
> --- a/tests/xfs/349
> +++ b/tests/xfs/349
> @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS
>
> _require_scratch
> _require_scrub
> +_require_xfs_io_command "repair" # online repair support
As neither of these two cases explicitly runs xfs_io -c "repair", I think
the comment could briefly mention why the online repair command is needed,
to prevent it from being accidentally removed in the future.
Thanks,
Zorro
> _require_xfs_stress_scrub
> _require_populate_commands
>
> diff --git a/tests/xfs/556 b/tests/xfs/556
> index f5ad90c869ba..022a8e674a5a 100755
> --- a/tests/xfs/556
> +++ b/tests/xfs/556
> @@ -26,6 +26,7 @@ _cleanup()
> _require_scratch
> _require_scratch_xfs_crc
> _require_scrub
> +_require_xfs_io_command "repair" # online repair support
> _require_dm_target error
>
> filter_scrub_errors() {
> --
> 2.54.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-24 20:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn
2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn
2026-11-24 20:16 ` Zorro Lang
2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn
2026-11-24 20:20 ` Zorro Lang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox