From: "mliska at suse dot cz" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug debuginfod/29474] New: Server returns 404 for concurrent requests when leading to a same .rpm
Date: Thu, 11 Aug 2022 16:48:03 +0000 [thread overview]
Message-ID: <bug-29474-10460@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=29474
Bug ID: 29474
Summary: Server returns 404 for concurrent requests when
leading to a same .rpm
Product: elfutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: debuginfod
Assignee: unassigned at sourceware dot org
Reporter: mliska at suse dot cz
CC: elfutils-devel at sourceware dot org, fche at redhat dot com
Target Milestone: ---
Reproducer:
$ mkdir /tmp/test && cd /tmp/test && wget wget
https://ftp5.gwdg.de/pub/opensuse/tumbleweed/repo/debug/x86_64/cross-aarch64-gcc12-debuginfo-12.1.1%2Bgit287-1.1.x86_64.rpm
Clone:
https://github.com/marxin/script-misc.git
Index the folder:
./debuginfod/debuginfod -F -Z '.rpm=(rpm2cpio|zstdcat)<' /tmp/test -C 32
And then run:
$ ./debuginfod-stress.py data/files-local2.txt http://localhost:8002
Running stress test of 5 binaries in 8 threads:
Attemp #0 4 666d857e7318e96a79ac1eb6850e47027a644695 <Response [404]>
Attemp #1 4 666d857e7318e96a79ac1eb6850e47027a644695 <Response [200]>
and server reports:
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28122): ::1:50958
UA:pythonrequests/2.28.1 XFF: GET
/buildid/671e2a753d37fe5a8e9979c25bbdedef5fa11606/debuginfo 200 3565448
0+1010ms
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28138): not found
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28138): ::1:50998
UA:pythonrequests/2.28.1 XFF: GET
/buildid/666d857e7318e96a79ac1eb6850e47027a644695/debuginfo 404 9 0+1034ms
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28124): ::1:50960
UA:pythonrequests/2.28.1 XFF: GET
/buildid/4fec8709140eee9d594f6c81823fc481a7464780/debuginfo 200 304712 0+1247ms
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28149): ::1:50944
UA:pythonrequests/2.28.1 XFF: GET
/buildid/c4ad4bb208047e2f7020b0f64f1324ce21600e12/debuginfo 200 3562688
0+1321ms
[Thu 11 Aug 2022 04:47:43 PM GMT] (28119/28126): ::1:50990
UA:pythonrequests/2.28.1 XFF: GET
/buildid/85b1a85f235f4a3a0e4f1cfc27e480ae89e6c02a/debuginfo 200 1298415
0+1332ms
[Thu 11 Aug 2022 04:47:44 PM GMT] (28119/28151): ::1:51004
UA:pythonrequests/2.28.1 XFF: GET
/buildid/666d857e7318e96a79ac1eb6850e47027a644695/debuginfo 200 67192 0+0ms
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2022-08-11 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-11 16:48 mliska at suse dot cz [this message]
2022-08-11 20:17 ` [Bug debuginfod/29474] " mliska at suse dot cz
2022-08-11 20:30 ` mliska at suse dot cz
2022-08-11 20:39 ` mliska at suse dot cz
2022-08-11 20:42 ` mliska at suse dot cz
2022-08-15 7:55 ` mliska at suse dot cz
2022-08-15 10:27 ` fche at redhat dot com
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=bug-29474-10460@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).