GNU bug report logs - #27032
make check fails for Guix 0.13.0

Previous Next

Package: guix;

Reported by: William <sign <at> vieta.uk>

Date: Mon, 22 May 2017 22:55:01 UTC

Severity: normal

Tags: wontfix

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27032 in the body.
You can then email your comments to 27032 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27032; Package guix. (Mon, 22 May 2017 22:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to William <sign <at> vieta.uk>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 22 May 2017 22:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: William <sign <at> vieta.uk>
To: bug-guix <at> gnu.org
Subject: make check fails for Guix 0.13.0
Date: Mon, 22 May 2017 23:51:56 +0100
[Message part 1 (text/plain, inline)]
Hi,

I am trying to do a fresh install of GuixSD 0.13.0 (using UEFI if it's
important), after running "guix system init /mnt/etc/config.scm /mnt"
the "make check" stage of guix fails.

It fails in "tests/store.scm", specifically the "test-name: dead path
can be explicitly collected" test.

I have attached the test-suite.log file (can also be found at
https://pastebin.com/HEAUF2DE).

Another user on IRC also had and issue that sounds similar: (but on a
VM) https://gnunet.org/bot/log/guix/2017-05-22#T1394937

Thanks
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#27032; Package guix. (Tue, 23 May 2017 13:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 27032 <at> debbugs.gnu.org (full text, mbox):

From: <ng0 <at> pragmatique.xyz>
To: "27032" <27032 <at> debbugs.gnu.org>
Subject: make check fails for Guix 0.13.0
Date: Tue, 23 May 2017 15:21:33 +0200 (CEST)
I can confirm this error on my end, using UEFI aswell and having
a partition mounted in /mnt/boot/efi formated with fat 32 (going by Gentoo Handbook).



Information forwarded to bug-guix <at> gnu.org:
bug#27032; Package guix. (Wed, 24 May 2017 11:45:01 GMT) Full text and rfc822 format available.

Message #11 received at 27032 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: William <sign <at> vieta.uk>
Cc: 27032 <at> debbugs.gnu.org
Subject: Re: bug#27032: make check fails for Guix 0.13.0
Date: Wed, 24 May 2017 13:44:09 +0200
Hi William,

William <sign <at> vieta.uk> skribis:

> I am trying to do a fresh install of GuixSD 0.13.0 (using UEFI if it's
> important), after running "guix system init /mnt/etc/config.scm /mnt"
> the "make check" stage of guix fails.

There was one problem, which is that substitutes for the ‘guix’ package
itself were missing.  This is now fixed, meaning that if you install
GuixSD 0.13.0 now, you won’t have to build ‘guix’.

Could you try again?

> test-name: dead path can be explicitly collected
> location: /tmp/guix-build-guix-0.13.0.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

[...]

> test-name: verify-store + check-contents
> location: /tmp/guix-build-guix-0.13.0.drv-0/source/tests/store.scm:815
> source:
> + (test-assert
> +   "verify-store + check-contents"
> +   (with-store
> +     s
> +     (let* ((text (random-text))
> +            (drv (build-expression->derivation
> +                   s
> +                   "corrupt"
> +                   `(let ((out (assoc-ref %outputs "out")))
> +                      (call-with-output-file
> +                        out
> +                        (lambda (port) (display ,text port)))
> +                      #t)
> +                   #:guile-for-build
> +                   (package-derivation
> +                     s
> +                     %bootstrap-guile
> +                     (%current-system))))
> +            (file (derivation->output-path drv)))
> +       (with-derivation-substitute
> +         drv
> +         text
> +         (and (build-derivations s (list drv))
> +              (verify-store s #:check-contents? #t)
> +              (begin
> +                (chmod file 420)
> +                (call-with-output-file
> +                  file
> +                  (lambda (port) (display "corrupt!" port)))
> +                #t)
> +              (not (verify-store s #:check-contents? #t))
> +              (delete-paths s (list file)))))))
> actual-value: #f
> actual-error:
> + (srfi-34
> +   #<condition &nix-protocol-error [message: "path `dtmp/guix-tests/store/462z3fnl7bs44vp9s97jyg1z74nsfvly-tar' is not in the Nix store" status: 1] e171e0>)
> result: FAIL

I’m surprised by the “dtmp” prefix here.   It should be
“/tmp/guix-tests”.  Was the log altered in some way?

Apart from that it’s hard to draw any conclusions.  We run these tests
very often without problems.  The difference here is that the GuixSD
installation system uses unionfs-fuse for its root file system, and I
suspect that file system could have slightly different semantics that
bite here.  We’ll have to investigate this.

Thanks for your report!

Ludo’.




Added tag(s) wontfix. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 27 Mar 2018 09:17:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27032 <at> debbugs.gnu.org and William <sign <at> vieta.uk> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 27 Mar 2018 09:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Apr 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.