bug-guix
[Top][All Lists]
Advanced

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

bug#29363: Single test failure building Guix


From: Rutger Helling
Subject: bug#29363: Single test failure building Guix
Date: Tue, 21 Nov 2017 08:31:59 +0100

Hi Marius,

your patch did the trick, thanks!

I'm indeed on Btrfs (with LUKS), no SSD though.

On 2017-11-21 01:31, Marius Bakke wrote:

Hi Rutger,

Rutger Helling <address@hidden> writes:

when building Guix with 'guix build guix' I keep running into a single
test failure. I've attached the test-suite.log.

Is this a Btrfs system by any chance, possibly on an SSD?

test-name: dead path can be explicitly collected
location: /tmp/guix-build-guix-0.13.0-10.0b4c385.drv-0/source/tests/store.scm:178
source:
+ (test-assert
+   "dead path can be explicitly collected"
+   (let ((p (add-text-to-store
+              %store
+              "random-text"
+              (random-text)
+              '())))
+     (let-values
+       (((paths freed) (delete-paths %store (list p))))
+       (and (equal? paths (list p))
+            (> freed 0)
+            (not (file-exists? p))))))
actual-value: #f
result: FAIL

I can reproduce this error on two different systems that have
Btrfs+LUKS+SSD, and the problem is that freed == 0.

I suspect it's related to Btrfs' "lazy" reporting of disk space, but
haven't dug very far.

Until we figure out what's going on, I suggest applying the patch
below.  Can you confirm that it works on your system?


Ludo, WDYT?



reply via email to

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