Discussion:
Bug#1085288: libtest2-plugin-uuid-perl: autopkgtest needs update for new version of perl
Add Reply
Paul Gevers
2024-10-17 20:00:01 UTC
Reply
Permalink
Source: libtest2-plugin-uuid-perl
Version: 0.002009-1
Severity: serious
X-Debbugs-CC: ***@packages.debian.org
Tags: sid trixie
User: debian-***@lists.debian.org
Usertags: needs-update
Control: affects -1 src:perl

Dear maintainer(s),

With a recent upload of perl the autopkgtest of
libtest2-plugin-uuid-perl fails in testing when that autopkgtest is run
with the binary packages of perl from unstable. It passes when run with
only packages from testing. In tabular form:

pass fail
perl from testing 5.40.0-6
libtest2-plugin-uuid-perl from testing 0.002009-1
all others from testing from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of perl to testing
[1]. Of course, perl shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in perl was
intended and your package needs to update to the new situation. This
appears to me the test fails on a new warning.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from perl should really add a
versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=perl

https://ci.debian.net/data/autopkgtest/testing/amd64/libt/libtest2-plugin-uuid-perl/53143021/log.gz

223s 223s # Failed test ' /usr/bin/perl -w -M"Test2::Plugin::UUID" -e
1 2>&1 produced no (non-whitelisted) output'
223s # at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 110.
223s # Structures begin differing at:
223s # $got->[0] = 'Using UUID::Tiny for uuid generation.
UUID::Tiny is significantly slower than the 'UUID' or 'Data::UUID::MT'
modules, please install 'UUID' or 'Data::UUID::MT' if possible. If you
insist on using UUID::Tiny you can set the TEST2_UUID_NO_WARN
environment variable.
223s # '
223s # $expected->[0] = Does not exist
224s 224s # Failed test 'env PERL_DL_NONLAZY=1 /usr/bin/perl -w
-M"Test2::Plugin::UUID" -e 1 2>&1 produced no (non-whitelisted) output'
224s # at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 110.
224s # Structures begin differing at:
224s # $got->[0] = 'Using UUID::Tiny for uuid generation.
UUID::Tiny is significantly slower than the 'UUID' or 'Data::UUID::MT'
modules, please install 'UUID' or 'Data::UUID::MT' if possible. If you
insist on using UUID::Tiny you can set the TEST2_UUID_NO_WARN
environment variable.
224s # '
224s # $expected->[0] = Does not exist
224s # Looks like you failed 2 tests of 4.
224s /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 224s 1..4
224s # Using UUID::Tiny for uuid generation. UUID::Tiny is significantly
slower than the 'UUID' or 'Data::UUID::MT' modules, please install
'UUID' or 'Data::UUID::MT' if possible. If you insist on using
UUID::Tiny you can set the TEST2_UUID_NO_WARN environment variable.
224s ok 1 - /usr/bin/perl -w -M"Test2::Plugin::UUID" -e 1 2>&1 exited
successfully
224s not ok 2 - /usr/bin/perl -w -M"Test2::Plugin::UUID" -e 1 2>&1
produced no (non-whitelisted) output
224s # Using UUID::Tiny for uuid generation. UUID::Tiny is significantly
slower than the 'UUID' or 'Data::UUID::MT' modules, please install
'UUID' or 'Data::UUID::MT' if possible. If you insist on using
UUID::Tiny you can set the TEST2_UUID_NO_WARN environment variable.
224s ok 3 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w
-M"Test2::Plugin::UUID" -e 1 2>&1 exited successfully
224s not ok 4 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w
-M"Test2::Plugin::UUID" -e 1 2>&1 produced no (non-whitelisted) output
224s Dubious, test returned 2 (wstat 512, 0x200)
224s Failed 2/4 subtests 224s 224s Test Summary Report
224s -------------------
224s /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t (Wstat: 512
(exited 2) Tests: 4 Failed: 2)
224s Failed tests: 2, 4
224s Non-zero exit status: 2
224s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.15
cusr 0.04 csys = 0.21 CPU)
224s Result: FAIL
224s autopkgtest [05:11:02]: test autodep8-perl
Debian Bug Tracking System
2024-10-17 20:00:01 UTC
Reply
Permalink
Post by Paul Gevers
affects -1 src:perl
Bug #1085288 [src:libtest2-plugin-uuid-perl] libtest2-plugin-uuid-perl: autopkgtest needs update for new version of perl
Added indication that 1085288 affects src:perl
--
1085288: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085288
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
gregor herrmann
2024-10-17 20:40:01 UTC
Reply
Permalink
So I guess this needs either
- some friendly hint for the autopkgtest system
- or we can add the TEST2_UUID_NO_WARN env variable, which I didn't
know about before this bug report
I'm happy to do the latter, as it seems fair in general.
Except that we can only set environment variables for the "smoke"
test but not for the failing "use.t" test.

*sigh*

So either some intervention in the autopkgtest system is needed, or
we drop all arch:all packages from Depends or something like that :/

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
`-
Loading...