check-vulnerabilities does not handle timeouts correctly

  • Open
  • quality assurance status badge
Details
One participant
  • Björn Höfling
Owner
unassigned
Submitted by
Björn Höfling
Severity
normal

Debbugs page

Björn Höfling wrote 6 years ago
(address . bug-guix@gnu.org)
20190702131438.32adaede@alma-ubu
[env]$ ./pre-inst-env guix lint -c cve freecad
Backtrace:reecad@0.18.2-1.dbb4cc6 [cve]...
11 (apply-smob/1 #<catch-closure 1a071a0>)
In ice-9/boot-9.scm:
705:2 10 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 9 (_ #(#(#<directory (guile-user) 1ac5140>)))
In guix/ui.scm:
1668:12 8 (run-guix-command _ . _)
In srfi/srfi-1.scm:
640:9 7 (for-each #<procedure 1df01a0 at guix/scripts/lint.scm?> ?)
In guix/scripts/lint.scm:
1152:4 6 (run-checkers #<package freecad@0.18.2-1.dbb4cc6 gnu/p?> ?)
In srfi/srfi-1.scm:
640:9 5 (for-each #<procedure 3e473c0 at guix/scripts/lint.scm?> ?)
In guix/scripts/lint.scm:
933:4 4 (check-vulnerabilities _)
928:9 3 (_ _)
In unknown file:
2 (force #<promise #<procedure 7f1ce3ab6228 at guix/scrip?>)
In guix/scripts/lint.scm:
917:24 1 (_)
In ice-9/boot-9.scm:
829:9 0 (catch srfi-34 #<procedure 37e64e0 at guix/scripts/lin?> ?)

ice-9/boot-9.scm:829:9: In procedure catch:
In procedure connect: Connection timed out

There is that procedure "call-with-networking-fail-safe" but it seams
it does not handle connection timeouts correctly.

Björn
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXRs8ngAKCRC/KGy2WT5f
/bo2AJsEnK9FVP6930lkklXV7wEaGv3H7ACfY/B9LgmJJ7GOcBIq1f0P13VgIk8=
=3qiz
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 36473
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
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help