Re: Capitalization change in linux tool breaks xfstests

From: Zorro Lang

Date: Sat Jun 06 2026 - 15:52:58 EST


On Thu, Jun 04, 2026 at 07:03:26PM -0500, Steve French wrote:
> xfstests generic/029, generic/030 and generic/031 now break with
> current Ubuntu (26.04) due to a change in capitalization of hexdumps
> in some tooling. See below. Has anyone found a way to workaround
> this?
>
> generic/029 1s ... - output mismatch (see
> /home/smfrench/xfstests-dev/results//sambamfs/generic/029.out.bad)
> --- tests/generic/029.out 2025-08-22 09:54:32.256748004 -0500
> +++ /home/smfrench/xfstests-dev/results//sambamfs/generic/029.out.bad
> 2026-05-30 17:23:49.298460413 -0500
> @@ -42,10 +42,10 @@
> 000600 57 57 58 58 58 58 58 58 58 58 58 58 58 58 58 58 >WWXXXXXXXXXXXXXX<
> 000610 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 >XXXXXXXXXXXXXXXX<
> *
> -0007f0 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 59 >XXXXXXXXXXXXXXXY<
> +0007F0 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 59 >XXXXXXXXXXXXXXXY<

I haven't hit this issue myself. These specific cases all rely on a _hexdump
helper, which actually executes the od command (od -Ax -t x1z) .

Therefore, you might want to check your coreutils package to see its version
and what changes have been made to od.

>From what I recall, Ubuntu has been promoting the use of Rust-written uutils/coreutils
to replace the traditional C-based coreutils. It’s highly worth checking out, as
this could very well be the root cause of the issue you're facing :)

Thanks,
Zorro

> 000800 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 >YYYYYYYYYYYYYYYY<
> *
> ...
> (Run 'diff -u /home/smfrench/xfstests-dev/tests/generic/029.out
> /home/smfrench/xfstests-dev/results//sambamfs/generic/029.out.bad' to
> see the entire diff)
> generic/030 0s ... - output mismatch (see
> /home/smfrench/xfstests-dev/results//sambamfs/generic/030.out.bad)
> --- tests/generic/030.out 2025-08-22 09:54:32.257748640 -0500
> +++ /home/smfrench/xfstests-dev/results//sambamfs/generic/030.out.bad
> 2026-05-30 17:23:49.845293290 -0500
> @@ -4,50 +4,50 @@
> ==== Pre-Remount ===
> 000000 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 >XXXXXXXXXXXXXXXX<
> *
> -4e6400 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 >YYYYYYYYYYYYYYYY<
> +4E6400 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 >YYYYYYYYYYYYYYYY<
> *
> -4e7000
> ...
> (Run 'diff -u /home/smfrench/xfstests-dev/tests/generic/030.out
> /home/smfrench/xfstests-dev/results//sambamfs/generic/030.out.bad' to
> see the entire diff)
> generic/031 0s ... - output mismatch (see
> /home/smfrench/xfstests-dev/results//sambamfs/generic/031.out.bad)
> --- tests/generic/031.out 2025-08-22 09:54:32.257748640 -0500
> +++ /home/smfrench/xfstests-dev/results//sambamfs/generic/031.out.bad
> 2026-05-30 17:23:50.167877492 -0500
> @@ -6,14 +6,14 @@
> ==== Pre-Remount ===
> 000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
> *
> -01f860 00 00 00 00 00 00 00 00 00 00 00 00 cd cd cd cd >................<
> -01f870 cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd >................<
> +01F860 00 00 00 00 00 00 00 00 00 00 00 00 cd cd cd cd >................<
> +01F870 cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd >................<
> ...
>
> --
> Thanks,
>
> Steve
>