Slow valgrind curl hostname lookups (Was: Buildbot failure in Wildebeest Builder on whole buildset)

Mark Wielaard
Sat Nov 23 14:11:00 GMT 2019


On Sat, 2019-11-23 at 01:38 +0000, wrote:
> The Buildbot has detected a failed build on builder whole buildset while building elfutils.
> Full details are available at:
> Buildbot URL:
> Worker for this Build: fedora-x86_64
> Build Reason: <unknown>
> Blamelist: Frank Ch. Eigler <>
> BUILD FAILED: failed test (failure)

The problem here was the 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 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...
Type: text/x-patch
Size: 3830 bytes
Desc: not available
URL: <>

More information about the Elfutils-devel mailing list