Hi Simon,

thanks for your caring about tests.r-b.o and sending this bug report!

On Fri, May 04, 2018 at 12:03:03AM +0100, Simon McVittie wrote:
> dbus has been failing to build on reproducible.debian.org for a while,
> with test failures. In the version in experimental (which has better
> diagnostics for unexpected errors in testing) I see[1]:
> 
>     Failed to lookup host/port: "localhost:0": Name or service not known (-2)
> 
> Is this accurate? Is `getent hosts localhost` something that is expected
> to fail in the reproducible-builds chroots?
 
we build with pbuilder and disabling network access during build is the
default for some time.

see #748967 and #806386

> If so, I don't think that's a good idea. Resolving arbitrary DNS names
> and contacting remote machines is not something that a build should be
> doing; but if we want to run build-time tests for anything that does
> networking, then I don't think these actions should be counted as network
> access:

I disagree: if the tests are part of the build process, there should be no
external network access be involved in the tests neither, else tests might
or not fail depending on the network, or produce otherwise different results…

that said, localhost is probably a special host on the network…


-- 
cheers,
        Holger

Attachment: signature.asc
Description: PGP signature

Reply via email to