From: ludo@gnu.org (Ludovic Courtès)
To: Jorge <jorge+list@disroot.org>
Cc: 30250@debbugs.gnu.org
Subject: bug#30250: Two failures on ‘make -k "-j$(nproc)" check’
Date: Sat, 27 Jan 2018 16:48:44 +0100 [thread overview]
Message-ID: <87d11v2tgj.fsf@gnu.org> (raw)
In-Reply-To: <f416cff33c08d56d49fe4930c229f782@disroot.org> (Jorge's message of "Thu, 25 Jan 2018 13:15:38 +0000")
Hi Jorge,
"Jorge" <jorge+list@disroot.org> skribis:
> I use ntlmaps (listening on localhost:5865) to mediate the corporate proxy for programs that do not integrate with Gnome's proxy configuration
> ==================================================
> GNU Guix 0.14.0.1193-4f34e: ./test-suite.log
> ==================================================
>
> # TOTAL: 744
> # PASS: 718
> # SKIP: 24
> # XFAIL: 0
> # FAIL: 2
> # XPASS: 0
> # ERROR: 0
[...]
> test-name: add-to-store, flat
> location: /home/jorge/repos/guix/tests/derivations.scm:98
> source:
> + (test-assert
> + "add-to-store, flat"
> + (let* ((file (search-path
> + %load-path
> + "language/tree-il/spec.scm"))
> + (drv (add-to-store
> + %store
> + "flat-test"
> + #f
> + "sha256"
> + file)))
> + (and (eq? 'regular (stat:type (stat drv)))
> + (valid-path? %store drv)
> + (equal?
> + (call-with-input-file file get-bytevector-all)
> + (call-with-input-file drv get-bytevector-all)))))
> actual-value: #f
> actual-error:
> + (srfi-34
> + #<condition &nix-protocol-error [message: "regular file expected" status: 1] 5577e11973c0>)
> result: FAIL
It looks like the language/tree-il/spec.scm file (which is part of
Guile) that was found in $GUILE_LOAD_PATH on your system is not a
regular file and is instead presumably a symlink. Could you check that
this is the case?
The solution would be for it to be a regular file and/or for the test to
check that.
> test-name: 'download' built-in builder
> location: /home/jorge/repos/guix/tests/derivations.scm:227
> source:
> + (test-assert
> + "'download' built-in builder"
> + (let ((text (random-text)))
> + (with-http-server
> + 200
> + text
> + (let* ((drv (derivation
> + %store
> + "world"
> + "builtin:download"
> + '()
> + #:env-vars
> + `(("url" unquote (object->string (%local-url))))
> + #:hash-algo
> + 'sha256
> + #:hash
> + (sha256 (string->utf8 text)))))
> + (and (build-derivations %store (list drv))
> + (string=?
> + (call-with-input-file
> + (derivation->output-path drv)
> + get-string-all)
> + text))))))
> @ build-started /home/jorge/repos/guix/test-tmp/store/24ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv - x86_64-linux /home/jorge/repos/guix/test-tmp/var/log/guix/drvs/24//ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv.bz2
>
> Starting download of /home/jorge/repos/guix/test-tmp/store/25k9f37z2l775rbj4kianf5g1k9vnczj-world
> From http://localhost:10500/foo/bar...
> download failed "http://localhost:10500/foo/bar" 503 "Service Unavailable"
> failed to download "/home/jorge/repos/guix/test-tmp/store/25k9f37z2l775rbj4kianf5g1k9vnczj-world" from "http://localhost:10500/foo/bar"
> builder for `/home/jorge/repos/guix/test-tmp/store/24ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv' failed to produce output path `/home/jorge/repos/guix/test-tmp/store/25k9f37z2l775rbj4kianf5g1k9vnczj-world'
> @ build-failed /home/jorge/repos/guix/test-tmp/store/24ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv - 1 builder for `/home/jorge/repos/guix/test-tmp/store/24ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv' failed to produce output path `/home/jorge/repos/guix/test-tmp/store/25k9f37z2l775rbj4kianf5g1k9vnczj-world'
> actual-value: #f
> actual-error:
> + (srfi-34
> + #<condition &nix-protocol-error [message: "build of `/home/jorge/repos/guix/test-tmp/store/24ibbvll6jdr9ri6qp7z1vgcl4vjljwv-world.drv' failed" status: 1] 5577e21fdde0>)
> result: FAIL
This test runs its own HTTP server on port 10500. Could it be that it
try to go through your proxy and failed? Can you check whether this
works:
unset http_proxy
make check TESTS=tests/derivations.scm
?
Thanks for your report!
Ludo’.
next prev parent reply other threads:[~2018-01-27 15:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 13:15 bug#30250: Two failures on ‘make -k "-j$(nproc)" check’ Jorge
2018-01-27 15:48 ` Ludovic Courtès [this message]
2018-01-30 16:47 ` Jorge
2018-01-30 17:15 ` Ludovic Courtès
2018-01-30 17:27 ` Jorge
2018-01-30 21:32 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d11v2tgj.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30250@debbugs.gnu.org \
--cc=jorge+list@disroot.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 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.