* guix pull fails with test error
@ 2018-02-19 11:27 Ricardo Wurmus
2018-02-19 12:15 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2018-02-19 11:27 UTC (permalink / raw)
To: guix-devel
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---
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: guix pull fails with test error
2018-02-19 11:27 guix pull fails with test error Ricardo Wurmus
@ 2018-02-19 12:15 ` Ricardo Wurmus
2018-02-19 12:51 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2018-02-19 12:15 UTC (permalink / raw)
To: guix-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: guix pull fails with test error
2018-02-19 12:15 ` Ricardo Wurmus
@ 2018-02-19 12:51 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-02-19 12:51 UTC (permalink / raw)
To: guix-devel
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> 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:
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-19 12:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-19 11:27 guix pull fails with test error Ricardo Wurmus
2018-02-19 12:15 ` Ricardo Wurmus
2018-02-19 12:51 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.