Bug#958548: libtest-requiresinternet-perl: autopkgtest requires direct internet connection

Niko Tyni ntyni at debian.org
Thu Apr 23 15:54:09 BST 2020


Package: libtest-requiresinternet-perl
Version: 0.05-2
User: debian-perl at lists.debian.org
Usertags: autopkgtest

It looks like this package requires a real internet connection for its
autopkgtest checks. This is not guaranteed to work, and is currently
causing problems for src:perl testing migration because the resulting
test failure looks like a regression due to perl.

I understand ci.debian.net has recently added China based arm64 workers
which can only access the internet via proxy, exposing this issue.

Quoting Simon McVittie in https://lists.debian.org/debian-ci/2020/04/msg00001.html :

  Tests may access the internet, but only HTTP and HTTPS can be relied
  on, and those only if access via a proxy (according to the http_proxy etc.
  environment variables) is implemented.

  https://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst#L431

Failing run:

  https://ci.debian.net/data/autopkgtest/testing/arm64/libt/libtest-requiresinternet-perl/5095177/log.gz

   /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 
   1..4
   # 1..0 # Skipped: connect: Connection timed out
   ok 1 -  /usr/bin/perl -w -M"Test::RequiresInternet" -e 1 2>&1 exited successfully
   not ok 2 -  /usr/bin/perl -w -M"Test::RequiresInternet" -e 1 2>&1 produced no (non-whitelisted) output
   # 1..0 # Skipped: connect: Connection timed out
   ok 3 - env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Test::RequiresInternet" -e 1 2>&1 exited successfully
   not ok 4 - env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Test::RequiresInternet" -e 1 2>&1 produced no (non-whitelisted) output
   Dubious, test returned 2 (wstat 512, 0x200)
   Failed 2/4 subtests 

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list