coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new snapshot available: coreutils-9.2.18-ffd62.tar.xz


From: Pádraig Brady
Subject: Re: new snapshot available: coreutils-9.2.18-ffd62.tar.xz
Date: Sat, 15 Apr 2023 22:18:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 13/04/2023 20:21, Sam James wrote:
I still get this du failure though:
tests/du/basic: http://sprunge.us/c5k99m

Is that an intermittent failure?

My only guess is that the allocations for the files are
changing asynchronously due to background compression or something.
This change will avoid that part of the test on ZFS
(which was already seen to give issues when used remotely):

cheers,
Pádraig

diff --git a/tests/du/basic.sh b/tests/du/basic.sh
index 6d4119b68..476304060 100755
--- a/tests/du/basic.sh
+++ b/tests/du/basic.sh
@@ -59,7 +59,9 @@ compare exp out || fail=1

 # Perform this test only if "." is on a local file system.
 # Otherwise, it would fail e.g., on an NFS-mounted Solaris ZFS file system.
-if is_local_dir_ .; then
+# Also skip local ZFS as that was seen to fail intermittently
+# (perhaps due to async compression affecting alloctions)
+if is_local_dir_ . && ! df -T -t zfs .; then
   rm -f out exp
   du --block-size=$B -a d | sort -r -k2,2 > out || fail=1
   echo === >> out




reply via email to

[Prev in Thread] Current Thread [Next in Thread]