Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1111672

Bug#1016357: Fails tests with insufficient network connectivity

From Nilesh Patra <nilesh@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1016357: Fails tests with insufficient network connectivity
Date 2022-08-01 17:10 +0200
Message-ID <EPFdn-fhrU-3@gated-at.bofh.it> (permalink)
References <EOGuS-eHiE-3@gated-at.bofh.it> <EPDuV-fgpM-1@gated-at.bofh.it> <EPF3H-fh9k-1@gated-at.bofh.it> <EOGuS-eHiE-3@gated-at.bofh.it> <EPF3H-fh9k-1@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1016357: Fails tests with insufficient network connectivity Sven Mueller <sven.mueller72@gmail.com> - 2022-07-30 00:20 +0200
  Bug#1016357: Fails tests with insufficient network connectivity Nilesh Patra <nilesh@debian.org> - 2022-08-01 15:20 +0200
    Bug#1016357: Fails tests with insufficient network connectivity Shengjing Zhu <zhsj@debian.org> - 2022-08-01 17:00 +0200
      Bug#1016357: Fails tests with insufficient network connectivity Nilesh Patra <nilesh@debian.org> - 2022-08-01 17:10 +0200
        Bug#1016357: Fails tests with insufficient network connectivity Shengjing Zhu <zhsj@debian.org> - 2022-08-01 17:20 +0200
          Bug#1016357: Fails tests with insufficient network connectivity Nilesh Patra <nilesh@debian.org> - 2022-08-01 18:00 +0200
            Bug#1016357: Fails tests with insufficient network connectivity Shengjing Zhu <zhsj@debian.org> - 2022-08-01 18:00 +0200

csiph-web