mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zorro Lang <zlang@kernel.org>
To: Steve French <smfrench@gmail.com>
Cc: fstests@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Capitalization change in linux tool breaks xfstests
Date: Sun, 7 Jun 2026 03:52:44 +0800	[thread overview]
Message-ID: <aiR4ekt_V0cEtR8V@zlang-mailbox> (raw)
In-Reply-To: <CAH2r5mv2nhiBHJ3y71SvcQ0O4tqxJGrNRU7eRaSGfDrsvd_Cww@mail.gmail.com>

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
> 

      parent reply	other threads:[~2026-06-06 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05  0:03 Steve French
2026-06-05  4:06 ` Christoph Hellwig
2026-06-06 19:52 ` Zorro Lang [this message]

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=aiR4ekt_V0cEtR8V@zlang-mailbox \
    --to=zlang@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smfrench@gmail.com \
    /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

all inboxes | Powered by JetHome®