Your message dated Thu, 24 Feb 2022 19:48:42 +0000
with message-id <[email protected]>
and subject line Bug#896698: fixed in autopkgtest 5.20
has caused the Debian Bug report #896698,
regarding autopkgtest: silently fails when 'needs-recommends' can't be installed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896698: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896698
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 5.2
User: [email protected]
Usertags: issue
autopkgtest doesn't fail when apt can't install recommended packages.
This is caused by APT::Install-Recommends=true, which is what
autopkgtest uses to achieve this) not forcing apt to fail. apt can't be
forced to fail with that setting on missing recommends. Also that option
is transitive. Is that really wanted?
For a more detailed example, see the e-mail below.
-------- Forwarded Message --------
Subject: Re: autopkgtest 'needs-recommends' with testing + unstable
Date: Sun, 22 Apr 2018 17:16:12 +0300
From: Niko Tyni <[email protected]>
To: [email protected]
On Sun, Apr 22, 2018 at 03:46:50PM +0200, Paul Gevers wrote:
> On 22-04-18 14:53, Niko Tyni wrote:
>> So afaics part of the issue is that when the 'needs-recommends'
>> test restriction cannot be fulfilled, autopkgtest doesn't notice
>> and report an error, but rather carries on and runs the test
>> regardless.
>
> This (not bailing out) sounds like a bug in autopkgtest to me. I'll
> file one soon, based on your message. Although, if you want to file
> it yourself, please do so.
Some details: in
https://ci.debian.net/data/autopkgtest/testing/amd64/libs/libsearch-elasticsearch-perl/189195/log.gz
starting at 'test command3: preparing testbed' we see
Investigating (0) libjson-xs-perl:amd64 < none -> 3.040-1 @un uN Ib >
Broken libjson-xs-perl:amd64 Depends on libcommon-sense-perl:amd64 <
none | 3.74-2+b4 @un uH >
Considering libcommon-sense-perl:amd64 2 as a solution to
libjson-xs-perl:amd64 1
Holding Back libjson-xs-perl:amd64 rather than change
libcommon-sense-perl:amd64
Investigating (0) libtypes-serialiser-perl:amd64 < none -> 1.0-1 @un
uN Ib >
Broken libtypes-serialiser-perl:amd64 Depends on
libcommon-sense-perl:amd64 < none | 3.74-2+b4 @un uH >
Considering libcommon-sense-perl:amd64 2 as a solution to
libtypes-serialiser-perl:amd64 1
Holding Back libtypes-serialiser-perl:amd64 rather than change
libcommon-sense-perl:amd64
Done
Done
The test dependencies are just '@, pkg-perl-autopkgtest' with
'Restrictions: needs-recommends', so it's supposed to install
libsearch-elasticsearch-perl and its dependencies and recommendations.
The package Recommends libjson-xs-perl, which is uninstallable without
pulling libcommon-sense-perl:amd64 3.74-2+b5 from unstable. This doesn't
happen, so we get a failure:
# Failed test '/usr/bin/perl -wc
/usr/share/perl5/Search/Elasticsearch/Serializer/JSON/XS.pm exited
successfully'
# at
/usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t
line 121.
[...]
# Can't locate JSON/XS.pm in @INC (you may need to install the
JSON::XS module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
/usr/share/perl5/Search/Elasticsearch/Serializer/JSON/XS.pm line 4.
# BEGIN failed--compilation aborted at
/usr/share/perl5/Search/Elasticsearch/Serializer/JSON/XS.pm line 4.
Similarly in
https://ci.debian.net/data/autopkgtest/testing/amd64/libp/libppi-perl/184151/log.gz
libppi-perl Recommends: libclass-xsaccessor-perl which is only
installable from unstable but doesn't get pulled in, which leads to a
failure. In this case apt is totally silent about the uninstallability
afaics.
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: autopkgtest
Source-Version: 5.20
Done: Paul Gevers <[email protected]>
We believe that the bug you reported is fixed in the latest version of
autopkgtest, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul Gevers <[email protected]> (supplier of updated autopkgtest package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 24 Feb 2022 20:29:51 +0100
Source: autopkgtest
Architecture: source
Version: 5.20
Distribution: unstable
Urgency: medium
Maintainer: Debian CI team <[email protected]>
Changed-By: Paul Gevers <[email protected]>
Closes: 896698 1002477
Changes:
autopkgtest (5.20) unstable; urgency=medium
.
* Determine build-needed by parsing the control (Closes: #1002477)
* Implement support for @recommends@ in test dependencies (Closes: #896698)
* Update documentation
* Convert `needs-recommends` to @recommends@ and drop all other code
related to it
Checksums-Sha1:
b5d69af205d2813ee813f124093cfac584518763 1695 autopkgtest_5.20.dsc
af6c635d59f91d81cc41bab02e36125cf86727fc 197128 autopkgtest_5.20.tar.xz
Checksums-Sha256:
de9c4102e4baa747de92befb8088280dec340649ee95358034a7a4707ab88ffa 1695
autopkgtest_5.20.dsc
a19b208b804e631741e103043e1ec1fe2c187f88c9090b736fe31b599562e19c 197128
autopkgtest_5.20.tar.xz
Files:
8fcf951034358bbb438199e5d031f27c 1695 devel optional autopkgtest_5.20.dsc
715428b39dfa5da717248b23370438f2 197128 devel optional autopkgtest_5.20.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAmIX3R8ACgkQnFyZ6wW9
dQoevAf/bqbujzpsuRgyoDo47pzn6u1sbGzwOjDdYi0WG53lllFCwL/12OYikygs
jFAMNzBRYiGejxiU34DDWAW+telZgWhhsVn6w+EaMGIJQDblet+F7FBA/9oKB+dI
j7uGapsMmvIncTtH+iAB6o0pLM5iMgth9Qr1VufMUhKx1Y3rgcNCBcWZ447iuRt9
0gPNmJdlioNAxC46E5UMyzZxL9QiCic5a5EX5wL7UITRiavJmOksiUgkSnWbCUTP
QK/oscxDnmQg9fer1ZiIF86ShBZz2WjAxSD5iNMszNS5RZd94FdCWH89UYDMuX0p
1frJboROE/AsfWfiAK8TORzGE3lqDA==
=bCT6
-----END PGP SIGNATURE-----
--- End Message ---