Ricardo Wurmus <ricardo.wur...@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-g...@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 via email to