https://sourceware.org/bugzilla/show_bug.cgi?id=34158
Bug ID: 34158
Summary: debuginfod-find does not honor the timeout specified
in DEBUGINFOD_TIMEOUT
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debuginfod
Assignee: unassigned at sourceware dot org
Reporter: gabriele.svelto at gmail dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Canonical debuginfod server has been very slow to respond lately and I've tried
using `DEBUGINFOD_TIMEOUT`, however the timeout I've specified doesn't seem to
be honored. Here's the output from my machine:
gabrielesvelto@box ~ $ env | grep ^DEBUGINFOD
DEBUGINFOD_PROGRESS=
DEBUGINFOD_VERBOSE=
DEBUGINFOD_TIMEOUT=3
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com/
DEBUGINFOD_RETRY_LIMIT=0
gabrielesvelto@box ~ $ time debuginfod-find --verbose debuginfo
613f950cf985b4a455bd53e5472d60d0eb5a3642
debuginfod_find_debuginfo 613f950cf985b4a455bd53e5472d60d0eb5a3642
server urls "https://debuginfod.ubuntu.com/"
checking build-id
checking cache dir /home/gabrielesvelto/.cache/debuginfod_client
using timeout 3
init server 0 https://debuginfod.ubuntu.com/buildid
url 0
https://debuginfod.ubuntu.com/buildid/613f950cf985b4a455bd53e5472d60d0eb5a3642/debuginfo
query 1 urls in parallel
server response Timeout was reached
url 0 Failed to connect to debuginfod.ubuntu.com port 443 after 134415 ms:
Could not connect to server
not found Timer expired (err=-62)
Server query failed: Timer expired
real 2m14,419s
user 0m0,004s
sys 0m0,004s
--
You are receiving this mail because:
You are on the CC list for the bug.