From 827a794ce4c87ac6dea043fd5ec5dd32e5331ed6 Mon Sep 17 00:00:00 2001 From: karimKandil0 Date: Sat, 11 Apr 2026 17:21:36 +0200 Subject: [PATCH] coreutils: skip flaky du tests tests/du/deref.sh and tests/du/inacc-dir.sh can fail depending on filesystem behavior due to non-deterministic disk usage. Other du tests are already skipped in nixpkgs, so extend the skip list accordingly. Fixes #508849 --- pkgs/tools/misc/coreutils/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 78dc79d01319..5b7f31d84bf3 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -108,6 +108,10 @@ stdenv.mkDerivation (finalAttrs: { # intermittent failures on builders, unknown reason sed '2i echo Skipping du basic test && exit 77' -i ./tests/du/basic.sh + # flaky on some filesystems due to non-deterministic disk usage + sed '2i echo Skipping du deref test && exit 77' -i ./tests/du/deref.sh + sed '2i echo Skipping du inacc-dir test && exit 77' -i ./tests/du/inacc-dir.sh + # fails when syscalls related to acl not being available, e.g. in sandboxed environment sed '2i echo Skipping ls -al with acl test && exit 77' -i ./tests/ls/acl.sh ''