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

Mark Wielaard mark@klomp.org
Sat Nov 23 14:11:00 GMT 2019


Hi,

On Sat, 2019-11-23 at 01:38 +0000, buildbot@builder.wildebeest.org wrote:
> The Buildbot has detected a failed build on builder whole buildset while building elfutils.
> Full details are available at:
>     https://builder.wildebeest.org/buildbot/#builders/3/builds/422
> 
> Buildbot URL: https://builder.wildebeest.org/buildbot/
> 
> Worker for this Build: fedora-x86_64
> 
> Build Reason: <unknown>
> Blamelist: Frank Ch. Eigler <fche@redhat.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.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-Use-127.0.0.1-in-run-debuginfod-find.sh-instea.patch
Type: text/x-patch
Size: 3830 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/elfutils-devel/attachments/20191123/7bbb0f25/attachment.bin>


More information about the Elfutils-devel mailing list