Re: guix pull fails with test error

2018-02-19 Thread Ricardo Wurmus

Ricardo Wurmus  writes:

> Ricardo Wurmus  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:

Unfortunately, I get the same error with derivation
“/gnu/store/079vrn5890jyq3iv0vaba5ysd1lqcbhd-guix-0.14.0-9.bdf0c64.drv”.  I 
just updated to current
master and ran “guix pull”.

Actually, I’m over-simplifying: I’m running this on a machine that talks
to a remote daemon.

--
Ricardo



Re: guix pull fails with test error

2018-02-19 Thread Ricardo Wurmus

Ricardo Wurmus  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
+   #)
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



guix pull fails with test error

2018-02-19 Thread Ricardo Wurmus
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---


--
Ricardo