Re: network lockdown on mips build daemons
Zack Weinberg wrote:
> On Mon, May 19, 2008 at 2:21 PM, Julien BLACHE <firstname.lastname@example.org> wrote:
> > "Zack Weinberg" <email@example.com> wrote:
> >> The network activity in the testsuite is strictly on the
> >> loopback interface, which I personally think should be allowed
> > Hmm. I'm pretty sure this has been discussed in the past, though I
> > can't remember in which thread this was nor the outcome of the
> > discussion.
> I can only find this:
> -- which is inconclusive, but seems to be heading in the direction
> that network-dependent tests are ok as long as the build doesn't fail
> if the network is unavailable. Which is what I would like to do, if I
> had a sane way to determine whether network tests can be run.
You can run the tests, record their result in the build log, and
continue to build the package regardless of the outcome.
I don't know of a single magic command which would test all potential
network failure modes.