unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel@gnu.org
Subject: Re: guix pull fails with test error
Date: Mon, 19 Feb 2018 13:15:14 +0100	[thread overview]
Message-ID: <878tbpjhv1.fsf@mdc-berlin.de> (raw)
In-Reply-To: <87a7w5jk2e.fsf@mdc-berlin.de>


Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> Hi Guix,
>
> “guix pull” fails building Guix itself.  I don’t have access to the
> test-suite.log.  Here’s the output:
>
> --8<---------------cut here---------------start------------->8---
> […]
> PASS: tests/texlive.scm
> FAIL: tests/store.scm
> […]
> ============================================================================
> Testsuite summary for GNU Guix 0.14.0-2.02345c9
> ============================================================================
> # TOTAL: 748
> # PASS:  715
> # SKIP:  32
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> Please report to bug-guix@gnu.org
> --8<---------------cut here---------------end--------------->8---

I rebuilt the derivation “/gnu/store/1ki4bvqbv293hmnmg7r5vskwicg0jj7d-guix-0.14.0-2.02345c9.drv” and
here’s the relevant output of tests/store.log:

--8<---------------cut here---------------start------------->8---
test-name: verify-store + check-contents
location: /tmp/guix-build-guix-0.14.0-2.02345c9.drv-0/source/tests/store.scm:817
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] 1135d80>)
result: FAIL
--8<---------------cut here---------------end--------------->8---

I just updated Guix to the latest version from git, so I probably won’t
be able to reproduce this now.

--
Ricardo

  reply	other threads:[~2018-02-19 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-19 11:27 guix pull fails with test error Ricardo Wurmus
2018-02-19 12:15 ` Ricardo Wurmus [this message]
2018-02-19 12:51   ` Ricardo Wurmus

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=878tbpjhv1.fsf@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /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).