Tests fail building on Arch Linux

  • Done
  • quality assurance status badge
Details
3 participants
  • David McInnis
  • Ludovic Courtès
  • zimoun
Owner
unassigned
Submitted by
David McInnis
Severity
normal
D
D
David McInnis wrote on 13 Oct 2016 23:39
(address . bug-guix@gnu.org)
9ae8b5dc-d877-b30d-301c-9d250383dd80@eagles.ewu.edu
Hi, I tried building guix from the AUR:
https://aur.archlinux.org/packages/guix/ However, it failed and asked
me to email you the results.

Please let me know if there is anything else you need from me.

-Dave

============================================================================
Testsuite summary for GNU Guix 0.11.0
============================================================================
# TOTAL: 570
# PASS: 562
# SKIP: 5
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================

FAIL: tests/guix-download.sh
FAIL: tests/store.scm
FAIL: tests/lint.scm
Attachment: test-suite.log
L
L
Ludovic Courtès wrote on 14 Oct 2016 15:03
(name . David McInnis)(address . davidm@eagles.ewu.edu)(address . 24687@debbugs.gnu.org)
877f9baxqg.fsf@gnu.org
Hi,

David McInnis <davidm@eagles.ewu.edu> skribis:

Toggle quote (8 lines)
> substitute: guix/ui.scm:1209:6: In procedure run-guix-command:
> substitute: guix/ui.scm:1209:6: unmatched line "<html><head><meta http-equiv=\"refresh\" content=\"0;url=http://webhelper.centurylink.com/index.php?origURL=http://does-not-exist/nix-cache-info&bc=\"/></head><body><script type=\"text/javascript\">window.location=\"http://webhelper.centurylink.com/index.php?origURL=\"+escape(window.location)+\"&r=\"+escape(document.referrer)+\"&bc=\";</script></body></html>"
> actual-value: #f
> actual-error:
> + (srfi-34
> + #<condition &nix-protocol-error [message: "substituter `substitute' died unexpectedly" status: 1] 55cb734910f0>)
> result: FAIL

I think your ISP does DNS hijacking: it resolves the “does-not-exist”
hostname used in this test and other tests to an IP. The tests expect
an name lookup error, and instead get this, hence the error.

I think there’s not much we can do on your side, but you should
definitely complain to your ISP. :-)

Thanks,
Ludo’.
Z
Z
zimoun wrote on 22 Nov 2019 12:58
Bug #24687 Hunting: Tests fail building on Arch Linux
CAJ3okZ3HEe-EYs5q=JGFdCE9YOb6-qMz+Q_gEBxs1ZQP5ZtEfw@mail.gmail.com
Dear,

Thank you for reporting the bug [1] about failure on Arch Linux.

Do you still encounter such issue?

If yes, please report here.
If no, we can close this long standing bug.


Ludo wrote [2]:

<<
I think there’s not much we can do on your side, but you should
definitely complain to your ISP. :-)
Toggle quote (3 lines)
>>


Could you confirm or disconfirm? :-)

Thank you in advance for any comments.

All the best,
simon

Z
Z
zimoun wrote on 26 Nov 2019 21:27
CAJ3okZ1G6ZceTMk8XxXmFCp-5V=26Qp-4NiuTYr53C60LHg9YQ@mail.gmail.com
Dear David,

The 3 failing tests -- listed below -- are all relative to connection
over Internet. As Ludo spotted out [2]:

Toggle quote (6 lines)
> <<
> I think there’s not much we can do on your side, but you should
> definitely complain to your ISP. :-)
> >>


I do not know how you run the test suite and I am totally ignorant
about Arch Linux, but could you check if everything is right about
your Internet connection when running the test suite; especially if
you use kind of isolation.


I am inclined to close this bug because it is not coming from our
side. I mean we have already enough open bugs. ;-)
But, let us know how could we help you to resolve this. And maybe the
discussion could be moved on help-guix@gnu.org.


PS:
Note the 3 same tests are failing too about the version
1.0.1.3489-0ed97 -- that you have sent me privately.


All the best,
simon


Toggle snippet (29 lines)
test-name: substitute query, alternating URLs
location: /tmp/yaourt-tmp-dave/aur-guix/src/guix-0.11.0/tests/store.scm:456
source:
+ (test-assert
+ "substitute query, alternating URLs"
[...]
+ (not (has-substitutes? s o)))))))
substitute: warning: authentication and authorization of substitutes disabled!
substitute: guix substitute: warning: ACL for archive imports seems to
be uninitialized, substitutes may be unavailable
substitute: warning: authentication and authorization of substitutes disabled!
substitute: guix substitute: warning: ACL for archive imports seems to
be uninitialized, substitutes may be unavailable
substitute: Backtrace:
[...]
substitute: guix/ui.scm:1209:6: In procedure run-guix-command:
substitute: guix/ui.scm:1209:6: unmatched line "<html><head><meta
http-equiv=\"refresh\"
content=\"0;url=http://webhelper.centurylink.com/index.php?origURL=http://does-not-exist/nix-cache-info&bc=\"/></head><body><script
type=\"text/javascript\">window.location=\"http://webhelper.centurylink.com/index.php?origURL=\"+escape(window.location)+\"&r=\"+escape(document.referrer)+\"&bc=\";</script></body></html>"
actual-value: #f
actual-error:
+ (srfi-34
+ #<condition &nix-protocol-error [message: "substituter
`substitute' died unexpectedly" status: 1] 55cb734910f0>)
result: FAIL


Toggle snippet (18 lines)
test-name: home-page: host not found
location: /tmp/yaourt-tmp-dave/aur-guix/src/guix-0.11.0/tests/lint.scm:393
source:
+ (test-assert
+ "home-page: host not found"
+ (->bool
+ (string-contains
+ (with-warnings
+ (let ((pkg (package
+ (inherit (dummy-package "x"))
+ (home-page "http://does-not-exist"))))
+ (check-home-page pkg)))
+ "domain not found")))
actual-value: #f
result: FAIL


Toggle snippet (25 lines)
+ guix download --version
guix download (GNU Guix) 0.11.0
Copyright (C) 2016 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ guix download http://does.not/exist
accepted connection from pid 31572, user dave

Starting download of /tmp/guix-file.EFmc9e
From http://does.not/exist...
[K exist 0B/s 00:00 |
0B transferred [K exist
1001KiB/s 00:00 | 333B transferred
/tmp/yaourt-tmp-dave/aur-guix/src/guix-0.11.0/test-tmp/store/9qq1hrycl6l8i0plp2il2xl2pcjrs1j4-exist
1yi31kb19m808zq7ggm3x0kq60qnl0w81has8llim060pvkqg910
+ false
./test-env: line 1: 31475 Terminated
"/tmp/yaourt-tmp-dave/aur-guix/src/guix-0.11.0/pre-inst-env"
"/tmp/yaourt-tmp-dave/aur-guix/src/guix-0.11.0/guix-daemon"
--disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"
FAIL tests/guix-download.sh (exit status: 1)


Toggle quote (1 lines)
D
D
David McInnis wrote on 26 Nov 2019 21:55
(name . 24687@debbugs.gnu.org)(address . 24687@debbugs.gnu.org)
40c271b7-3f8d-eaf7-c59a-6ca18b9ac4ef@eagles.ewu.edu
Unfortunately the failure still exists on Arch Linux:
FAIL: tests/store.scm
FAIL: tests/guix-download.sh
FAIL: tests/lint.scm
-Dave
On 2019-11-22 03:58, zimoun wrote:
> Dear,
>
> Thank you for reporting the bug [1] about failure on Arch Linux.
>
> Do you still encounter such issue?
>
> If yes, please report here.
> If no, we can close this long standing bug.
>
>
> Ludo wrote [2]:
>
> <<
> I think there’s not much we can do on your side, but you should
> definitely complain to your ISP.
>>>
>
>
> Could you confirm or disconfirm?
>
> Thank you in advance for any comments.
>
> All the best,
> simon
>
Attachment: test-suite.log (.35 MiB)
Z
Z
zimoun wrote on 27 Nov 2019 12:22
Re: bug#24687: Bug #24687 Hunting: Tests fail building on Arch Linux
(name . 24687@debbugs.gnu.org)(address . 24687-done@debbugs.gnu.org)
CAJ3okZ0BVDi4K2iLZbLQNkCX4fcYL3gAiBxT4HG3C5GyFMsm6w@mail.gmail.com
Dear,

On Tue, 26 Nov 2019 at 22:08, David McInnis <davidm@eagles.ewu.edu> wrote:

Toggle quote (6 lines)
> Unfortunately the failure still exists on Arch Linux:
>
> FAIL: tests/store.scm
> FAIL: tests/guix-download.sh
> FAIL: tests/lint.scm

It is the same as explained here [1].



I close because it is not coming from our side.


All the best,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 24687@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 24687
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch