Aurélien COUDERC - 07.12.24, 22:02:18 MEZ:
> Le 7 décembre 2024 21:19:05 GMT+01:00, Adrian Bunk <b...@debian.org> a 
écrit :
> >On Sat, Dec 07, 2024 at 09:17:06PM +0100, Hefee wrote:
> >> Hey,
> >> 
> >> Yeah the test need to create a port and connect to it. As i also use
> >> sbuild locally I thought okay, it still works. Do the buildds not
> >> even allow to access to localhost?

> >https://lists.debian.org/debian-devel-announce/2024/11/msg00002.html

> What are you trying to say ?

Above mail mentions unshare being used on buildds, including this note:

"In addition this blocks any network access during the build as per Debian 
policy 4.9."

I bet that would rule out *any* auto tests that rely on network access as 
*any* network access would likely apply to access to local host as well. 
However, policy says different:

"Except for packages in the non-free archive with the Autobuild control 
field unset or set to no, 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."

https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules

So yeah, care to clarify on this one, Adrian?

Best,
-- 
Martin

Reply via email to