Bug#958548: libtest-requiresinternet-perl: autopkgtest requires direct internet connection
gregor herrmann
gregoa at debian.org
Thu Apr 23 17:06:53 BST 2020
On Thu, 23 Apr 2020 17:54:09 +0300, Niko Tyni wrote:
> 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.
> 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
Interesting case … We have
% cat debian/tests/pkg-perl/smoke-env
NO_NETWORK_TESTING=1
(and also in debian/rules) but the failing test is use.t, which
respects NO_NETWORK_TESTING but we have no way to set it in our
framework. (And the module tries to connect to www.google.com at port
80 without further parameters.)
I have no other idea than to skip use.t …
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Willi Resetarits + Stubnblues: wiara w
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200423/6a55914d/attachment.sig>
More information about the pkg-perl-maintainers
mailing list