On Mon, Aug 01, 2022 at 10:54:20PM +0800, Shengjing Zhu wrote:
> > > The package fails tests (see log of failing test below) when run on a
> > > machine with limited network (in this case: Can only reach the
> > > relevant APT repository server). This is a policy violation, which
> > > says that package tests must only access local resources services that
> > > were also spun up by the test. This tests tries to reach
> > > stun1.l.google.com though. And fails with a nil pointer dereference...
> >
> > I am not aware of any such policy -- can you please point me to it?
> 
> Debian policy 4.9:
> 
> For packages in the main archive, required targets must not attempt
> network access, except, via the loopback interface, to services on the
> build host that have been started by the build.

Thanks for the link. I was under the impression that network access is already
forbidden in the buildd environment, and package would not build if it tries
to do so -- not sure when that changed?

Also I presume that this policy is only for build, and not autopkgtests?

> > I've seen several packages in debian that access external URLs, and have
> > never seen them as any sort of policy violation, no such bugs either.
> >
> 
> Please open bugs when you see that.

There are a couple of python packages that I can think of doing so. Will open.

-- 
Best,
Nilesh

Attachment: signature.asc
Description: PGP signature

Reply via email to