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?