Slow valgrind curl hostname lookups (Was: Buildbot failure in Wildebeest Builder on whole buildset)
Sat Nov 23 14:11:00 GMT 2019
On Sat, 2019-11-23 at 01:38 +0000, firstname.lastname@example.org wrote:
> The Buildbot has detected a failed build on builder whole buildset while building elfutils.
> Full details are available at:
> Buildbot URL: https://builder.wildebeest.org/buildbot/
> Worker for this Build: fedora-x86_64
> Build Reason: <unknown>
> Blamelist: Frank Ch. Eigler <email@example.com>
> BUILD FAILED: failed test (failure)
The problem here was the run-debuginfod-find.sh testcase timeing out
under valgrind. The way curl does hostname lookups in multi_curl mode
seems to take minutes under valgrind (it keeps retrying). But the only
lookups in the testcase are for localhost. By simply replacing
localhost with 127.0.0.1 the time to run this testcase under valgrind
locally goes from 10 minutes down to 3 minutes.
I have committed the patch below and will monitor whether all buildbot
workers will now succeed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3830 bytes
Desc: not available
More information about the Elfutils-devel