Skip to content

GNU coreutils 9.12: remaining test failures - Sept 2026 #14705

Open
4 of 11 issues completed
Open

Description

@sylvestre

This catalogues the remaining GNU coreutils 9.12 test-suite failures so
they can be tracked and worked on individually. It replaces #13841, with the
entries fixed in the meantime removed and the new 9.12 tests added.

Run on main (0.13.0, 3ef4277), GNU coreutils 9.12, full make check then
every failure re-run serially to weed out load-induced flakes:
719 tests, 571 PASS, 63 FAIL, 5 ERROR, 78 SKIP.

Several tests are new in 9.12 (marked (new)) and several older ones were
tightened upstream, so this list is noticeably longer than the 9.11 one.

Status: entries carrying a PR number have a fix under review; each was
verified with a Rust test plus a re-run of the GNU test. Together they turn 12
of the failures below into passes.


Crashes (panics) - highest priority


FAILED Tests


ERROR Tests

  • env/env.sh, env/env0-from.sh: env --debug must quote the executed command (executing: './truetrue') - NOTE: Upstream is working on changing this
  • env/printenv.sh: (see INCOMPATIBLE - LD_PRELOAD)
  • rm/ext3-perf.sh, rm/many-dir-entries-vs-OOM.sh: set-up fails with Command could not be run: Argument list too long (os error 7) - we should fall back like GNU instead of erroring out

SKIPPED Tests

  • dd/nocache_fail.sh: diagnose failure to drop caches
  • id/gnu-zero-uids.sh: id must fail for processes with zero UIDs
  • install/stdin.sh (new): install reading from /dev/stdin
  • misc/tty-quoting.sh (new): quoting when stdout is a terminal
  • mkdir/smack-no-root.sh: SMACK labels for mkdir/mknod/mkfifo
  • mv/i-3.sh: mv file unwritable-file prompts, mv -f does not
  • sort/sort-locale.sh: locale-aware sort ordering
  • stty/bad-speed.sh, stty/stty.sh, stty/stty-invalid.sh, stty/stty-pairs.sh, stty/stty-row-col.sh: stty settings

The stty/* and a few other entries are skipped because the runner has no
controlling tty (or no SELinux/SMACK/ACL/xattr support), rather than being real
gaps.


INCOMPATIBLE Tests

Tests using LD_PRELOAD or gdb breakpoints cannot be fixed without matching
internal implementation details:

  • cp/nfs-removal-race.sh (LD_PRELOAD): NFS client removal race during cp S D
  • df/skip-duplicates.sh (LD_PRELOAD): duplicate mount-list entry injection
  • env/printenv.sh, misc/printenv.sh (LD_PRELOAD): printenv with a corrupted environ
  • nproc/nproc-quota.sh (LD_PRELOAD): cgroup-quota injection for nproc
  • rm/r-root.sh (LD_PRELOAD + gdb): tries to remove / recursively
  • rm/rm-readdir-fail.sh (LD_PRELOAD) - PR rm: overriding the libc call when implementation does not match gnu coreutils exactly #9604: simulates readdir failures
  • tail/inotify-race.sh, tail/inotify-race2.sh (gdb): races during the initial read

Several other failures above (cat/cat-distinct-err, dd/fail-ftruncate-fstat,
dd/misc, misc/read-errors, misc/traversal-missing, shred/fifo,
shuf/shuf, tail/debug, tee/short-write) use strace fault injection;
they are not structurally impossible - they fail because our syscall sequence or
our error messages differ.

  • dd/fail-ftruncate-fstat.sh (strace): dd must stop copying when ftruncate/fstat fail

Activity

  1. sylvestre commented on Sep 19, 2026

    @sylvestre
    SponsorContributorAuthor

    Note: this is our top priority, more than code improvements or refactors!

  2. oech3 commented on Sep 19, 2026

    @oech3
    Contributor

    nproc-quota.sh uses strace, not LD_PRELOAD.
    If we use different syscalls at some strace tests, I'll add them to upstream.

  3. pinned this issue on Sep 19, 2026
  4. ChihweiLHBird commented on Sep 20, 2026

    @ChihweiLHBird
    SponsorContributor

    @sylvestre can I work on dd/nocache.sh, df/df-output.sh, ptx/ptx.pl, and od/od.pl if they are not claimed by others?

  5. oech3 commented on Sep 20, 2026

    @oech3
    Contributor

    df-output is done at #14742

  6. anastygnome commented on Oct 4, 2026

    @anastygnome
    Contributor

    test.pl is done after #14966

  7. anastygnome commented on Oct 5, 2026

    @anastygnome
    Contributor

    I have a working version of all date tests. I'm reviewing before making a PR ;)

  8. oech3 commented on Oct 7, 2026

    @oech3
    Contributor

    Ignore dd/nocache_fail.sh . I'll fix the test at upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions