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 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?