From d2425910a66db94122e943a8bb587dbaee20cfa5 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Mon, 1 Sep 2025 08:40:06 +0000 Subject: [PATCH] coreutils: Skip tests that are flaky on ZFS-backed NFS filesystems --- pkgs/tools/misc/coreutils/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 57fb400332af2..ee01ad87f88f0 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -105,6 +105,11 @@ stdenv.mkDerivation rec { echo "int main() { return 77; }" > "$f" done + # These tests sometimes fail on ZFS-backed NFS filesystems + sed '2i echo "Skipping test: fails on zfs " && exit 77' -i gnulib-tests/test-file-has-acl-1.sh + sed '2i echo "Skipping test: fails on zfs " && exit 77' -i gnulib-tests/test-set-mode-acl-1.sh + sed '2i echo "Skipping test: ls/removed-directory" && exit 77' -i ./tests/ls/removed-directory.sh + # intermittent failures on builders, unknown reason sed '2i echo Skipping du basic test && exit 77' -i ./tests/du/basic.sh