Description
I'm not sure if it's really a bug, but it cost me a couple of hours, so I'd like to at least leave a record of it somewhere where it can be found and, maybe, understand why is accessing https://debuginfod.ubuntu.com from GitHub Actions runners so slow.
Anyhow, the facts that motivated this are:
- A relatively recent run of the CI job using Valgrind to run tests finished in 106 seconds. In case the log times out, here is the important part:
1/4 Test #1: soci_empty_test .................. Passed 2.20 sec
i.e. the test using "empty" database backend not doing anything took ~2s. This run used ubuntu-24.04 image version 20260628.225.1 and ran on the host compute agent with version 20260624.560 and ran on July 2.
- All the subsequent runs of exactly the same workflow, using the same commit, starting from July 24 and until the latest commit, timed out because Valgrind ran extremely slowly. Here is an excerpt from a recent run which ran today, August 11, on ubuntu-24.04 image version 20260720.247.2 and host compute agent version 20260707.563. The "empty" test still succeeds but look at the time it takes now:
1/4 Test #1: soci_empty_test .................. Passed 813.81 sec
And other, less trivial, tests just time out and fail.
The fix is simple enough, once you know you need it: I've added --enable-debuginfod=no and the tests pass again now. And I guess the reason it is necessary now, while it wasn't before, is that DEBUGINFOD_URLS is now set to https://debuginfod.ubuntu.com in the runner environment while this probably wasn't the case before. However it's still not clear why is accessing this server to excruciatingly slow. Is it intentionally throttled? The access times are difficult to measure precisely as they are so huge, but it's definitely several orders of magnitude slower than when accessing it from a local machine. Is this expected?
Platforms affected
Runner images affected
Image version and build link
20260720.247.2, see https://github.com/SOCI/soci/actions/runs/31523383040/job/93885711625
Is it regression?
Yes, worked fine in 20260628.225.1, see https://github.com/SOCI/soci/actions/runs/28614100942/job/84853488049
Expected behavior
Valgrind not taking ages to run.
Actual behavior
Valgrind spends hours trying to contact https://debuginfod.elfutils.org and times out
Repro steps
Even running valgrind /bin/ls is enough to reproduce the problem.
Description
I'm not sure if it's really a bug, but it cost me a couple of hours, so I'd like to at least leave a record of it somewhere where it can be found and, maybe, understand why is accessing https://debuginfod.ubuntu.com from GitHub Actions runners so slow.
Anyhow, the facts that motivated this are:
i.e. the test using "empty" database backend not doing anything took ~2s. This run used ubuntu-24.04 image version 20260628.225.1 and ran on the host compute agent with version 20260624.560 and ran on July 2.
And other, less trivial, tests just time out and fail.
The fix is simple enough, once you know you need it: I've added
--enable-debuginfod=noand the tests pass again now. And I guess the reason it is necessary now, while it wasn't before, is thatDEBUGINFOD_URLSis now set tohttps://debuginfod.ubuntu.comin the runner environment while this probably wasn't the case before. However it's still not clear why is accessing this server to excruciatingly slow. Is it intentionally throttled? The access times are difficult to measure precisely as they are so huge, but it's definitely several orders of magnitude slower than when accessing it from a local machine. Is this expected?Platforms affected
Runner images affected
Image version and build link
20260720.247.2, see https://github.com/SOCI/soci/actions/runs/31523383040/job/93885711625
Is it regression?
Yes, worked fine in 20260628.225.1, see https://github.com/SOCI/soci/actions/runs/28614100942/job/84853488049
Expected behavior
Valgrind not taking ages to run.
Actual behavior
Valgrind spends hours trying to contact https://debuginfod.elfutils.org and times out
Repro steps
Even running
valgrind /bin/lsis enough to reproduce the problem.