From: Rutger Helling <rhelling@mykolab.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 29363@debbugs.gnu.org
Subject: bug#29363: Single test failure building Guix
Date: Tue, 21 Nov 2017 08:31:59 +0100 [thread overview]
Message-ID: <265e7019513d69adc9be947d5a59fc13@mykolab.com> (raw)
In-Reply-To: <87a7zgtquv.fsf@fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]
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 <rhelling@mykolab.com> 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?
[-- Attachment #2: Type: text/html, Size: 2759 bytes --]
next prev parent reply other threads:[~2017-11-21 7:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-20 10:08 bug#29363: Single test failure building Guix Rutger Helling
2017-11-20 15:55 ` Ludovic Courtès
2017-11-20 17:49 ` Rutger Helling
2017-11-21 0:31 ` Marius Bakke
2017-11-21 7:31 ` Rutger Helling [this message]
2017-11-21 7:47 ` Ludovic Courtès
2017-11-21 9:10 ` Rutger Helling
2017-11-21 12:53 ` Ludovic Courtès
2017-11-21 14:50 ` Rutger Helling
2017-11-21 21:11 ` Marius Bakke
2017-11-21 21:39 ` Marius Bakke
2017-11-22 15:55 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=265e7019513d69adc9be947d5a59fc13@mykolab.com \
--to=rhelling@mykolab.com \
--cc=29363@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).