Debian Bug report logs -
#855954
autopkgtest: can't handle packages with a + in its name
Reported by: Ralf Treinen <treinen@debian.org>
Date: Thu, 23 Feb 2017 19:33:04 UTC
Severity: normal
Fixed in version autopkgtest/4.4
Done: Martin Pitt <mpitt@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#855954; Package debci.
(Thu, 23 Feb 2017 19:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Ralf Treinen <treinen@debian.org>:
New Bug report received and forwarded. Copy sent to Antonio Terceiro <terceiro@debian.org>.
(Thu, 23 Feb 2017 19:33:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: debci
Hello,
ci.debian.net has never succeeded in running the testsuite of the
minisat+ package. In the summary table for that package, the version
is only displayed as n/a. Furthermore, the test log says :
adt-run [05:21:43]: @@@@@@@@@@@@@@@@@@@@ apt-source minisat+
E: Version '1:2.2.1-5+b1' for 'minisat+' was not found
E: No packages found
blame: minisat+
However, 1:2.2.1-5+b1 is not the version of the "minisat+" package in sid
- it rather is the version of the package "minisat2" in sid ! I suppose
that debci gets confused by the "+ in the package name.
Cheers -Ralf.
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#855954; Package debci.
(Thu, 23 Feb 2017 20:12:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Antonio Terceiro <terceiro@debian.org>:
Extra info received and forwarded to list.
(Thu, 23 Feb 2017 20:12:02 GMT) (full text, mbox, link).
Message #10 received at 855954@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 autopkgtest
Control: retitle -1 autopkgtest: can't handle packages with a + in its name
On Thu, Feb 23, 2017 at 08:29:40PM +0100, Ralf Treinen wrote:
> Package: debci
>
> Hello,
>
> ci.debian.net has never succeeded in running the testsuite of the
> minisat+ package. In the summary table for that package, the version
> is only displayed as n/a. Furthermore, the test log says :
>
> adt-run [05:21:43]: @@@@@@@@@@@@@@@@@@@@ apt-source minisat+
> E: Version '1:2.2.1-5+b1' for 'minisat+' was not found
> E: No packages found
> blame: minisat+
>
> However, 1:2.2.1-5+b1 is not the version of the "minisat+" package in sid
> - it rather is the version of the package "minisat2" in sid ! I suppose
> that debci gets confused by the "+ in the package name.
>
> Cheers -Ralf.
this is an issue in autopkgtest.
$ dpkg-query --show autopkgtest
autopkgtest 4.3
$ autopkgtest --apt-upgrade minisat+ -- lxc --sudo adt-sid-amd64
autopkgtest [17:06:12]: version 4.3
autopkgtest [17:06:12]: host homer; command line: /usr/bin/autopkgtest --apt-upgrade minisat+ -- lxc --sudo adt-sid-amd64
autopkgtest [17:06:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup
Get:1 http://httpredir.debian.org/debian sid InRelease [231 kB]
Get:2 http://httpredir.debian.org/debian sid/main Sources.diff/Index [27.9 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 Packages.diff/Index [27.9 kB]
Get:4 http://incoming.debian.org/debian-buildd buildd-sid InRelease [58.1 kB]
Get:5 http://httpredir.debian.org/debian sid/main Sources 2017-02-23-1426.01.pdiff [1780 B]
Get:5 http://httpredir.debian.org/debian sid/main Sources 2017-02-23-1426.01.pdiff [1780 B]
Get:6 http://httpredir.debian.org/debian sid/main amd64 Packages 2017-02-23-1426.01.pdiff [9481 B]
Get:6 http://httpredir.debian.org/debian sid/main amd64 Packages 2017-02-23-1426.01.pdiff [9481 B]
Get:7 http://incoming.debian.org/debian-buildd buildd-sid/main Sources [53.2 kB]
Get:8 http://incoming.debian.org/debian-buildd buildd-sid/main amd64 Packages [98.6 kB]
Fetched 508 kB in 1s (271 kB/s)
Reading package lists...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
autopkgtest [17:06:28]: testbed dpkg architecture: amd64
autopkgtest [17:06:29]: testbed running kernel: Linux 4.9.0-2-amd64 #1 SMP Debian 4.9.10-1 (2017-02-17)
autopkgtest [17:06:29]: @@@@@@@@@@@@@@@@@@@@ apt-source minisat+
E: Version '1:2.2.1-5+b1' for 'minisat+' was not found
E: No packages found
blame: minisat+
badpkg: rules extract failed with exit code 1
autopkgtest [17:06:29]: ERROR: erroneous package: rules extract failed with exit code 1
[signature.asc (application/pgp-signature, inline)]
Bug reassigned from package 'debci' to 'autopkgtest'.
Request was from Antonio Terceiro <terceiro@debian.org>
to 855954-submit@bugs.debian.org.
(Thu, 23 Feb 2017 20:12:02 GMT) (full text, mbox, link).
Changed Bug title to 'autopkgtest: can't handle packages with a + in its name' from 'ci.debian.net: confused by package names containing "+" ?'.
Request was from Antonio Terceiro <terceiro@debian.org>
to 855954-submit@bugs.debian.org.
(Thu, 23 Feb 2017 20:12:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>:
Bug#855954; Package autopkgtest.
(Thu, 23 Feb 2017 21:06:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>.
(Thu, 23 Feb 2017 21:06:04 GMT) (full text, mbox, link).
Message #19 received at 855954@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tag -1 pending
Hello Ralf, Antonio,
Antonio Terceiro [2017-02-23 17:10 -0300]:
> $ autopkgtest --apt-upgrade minisat+ -- lxc --sudo adt-sid-amd64
> [...]
> E: Version '1:2.2.1-5+b1' for 'minisat+' was not found
Ah, gotta love apt.. a --debug run shows what's going on:
+ apt-cache policy ^minisat+$
+ sed -n /Candidate:/ { s/^.* //; /none/d; p}
+ pkg_candidate=1:2.2.1-5+b1
+ [ -n 1:2.2.1-5+b1 ]
I have to do this ^$ wrapping as otherwise apt-cache policy does some sort of
substring matching. RE-magic chars allowed in package names are '.' and '+', so
these need to be escaped. Fixed in
https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=e3163e9cad34
(Don't look too closely at this shell hell, your eyes will pop out..)
Thanks,
Martin
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Martin Pitt <mpitt@debian.org>
to 855954-submit@bugs.debian.org.
(Thu, 23 Feb 2017 21:06:05 GMT) (full text, mbox, link).
Reply sent
to Martin Pitt <mpitt@debian.org>:
You have taken responsibility.
(Sun, 30 Apr 2017 17:36:10 GMT) (full text, mbox, link).
Notification sent
to Ralf Treinen <treinen@debian.org>:
Bug acknowledged by developer.
(Sun, 30 Apr 2017 17:36:10 GMT) (full text, mbox, link).
Message #26 received at 855954-close@bugs.debian.org (full text, mbox, reply):
Source: autopkgtest
Source-Version: 4.4
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 855954@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <mpitt@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 30 Apr 2017 19:09:57 +0200
Source: autopkgtest
Binary: autopkgtest
Architecture: source all
Version: 4.4
Distribution: unstable
Urgency: medium
Maintainer: Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>
Changed-By: Martin Pitt <mpitt@debian.org>
Description:
autopkgtest - automatic as-installed testing for Debian packages
Closes: 851556 851899 852475 855954
Changes:
autopkgtest (4.4) unstable; urgency=medium
.
[ Martin Pitt ]
* doc/README.package-tests.rst: Document network access (Closes: #851556)
* qemu: Robustify ssh port locks.
Stop assuming that /run/lock is user-writable (it is not in non-Debian
systems). Instead create the lock file in /tmp and use 'x' to avoid
/tmp file races.
* tests/autopkgtest: Fix crashes when running on non-apt system
* Fix candidate version detection for packages containing regexp operators
'+' and '.' are valid characters in a Debian package name. Escape them
in the call to apt-cache policy so that we get what we want to know.
(Closes: #855954)
.
[ Iain Lane ]
* Fix build_source to work if "Package-List" is the last line in the apt
output (Closes: #851899)
* autopkgtest-virt-lxd: Check uptime for reboot waiting. (LP: #1654025)
* Add a debug-fail hook and implement it for autopkgtest-virt-ssh.
At the minute, this is mainly so that the nova script can have its
failure information (`nova console-log') propagated up to the output, so
that in the case of kernel panics or other random failures we get useful
output that the driver of autopkgtest (e.g. autopkgtest-cloud) can look
at. (LP: #1630578)
* autopkgtest-build-lxd: Allow overriding the target release by setting
RELEASE=. This will cause the container to be dist-upgraded to the new
release. Useful for the very early stages of a release when the LXD
images on images.linuxcontainers.org don't exist yet.
.
[ Barry Warsaw ]
* Pass Dpkg::Options::=--force-confnew to apt-get install.
This avoids dpkg from prompting for conffile installation when you always
want the new conffile in the testbed anyway. (Closes: #852475)
Checksums-Sha1:
4557a588fefa33c4e8d191dc39460476d3c6fc65 1895 autopkgtest_4.4.dsc
44aa9a4ad5e1623eec338a196ab503d7b40119f8 172936 autopkgtest_4.4.tar.xz
b69f4c5275d06fb654858bff996a809249457eb1 186432 autopkgtest_4.4_all.deb
76653f52975aae961550bb78afc29af178fe0423 6197 autopkgtest_4.4_amd64.buildinfo
Checksums-Sha256:
ff7eedfbeebfc0b83ac5b0d7d23dd8058cdda3fc781639f88ce3a774bfc67317 1895 autopkgtest_4.4.dsc
7db144b39bd5a08e91261c4b4d91a450445e4a57a8c848091bb2a272ef80acc6 172936 autopkgtest_4.4.tar.xz
325cf656760f8f7e4f496e087c85671dcca7c355154df6c40502ed75878a6c9b 186432 autopkgtest_4.4_all.deb
564eca2150ad1412f4ccd7617823bf4640d92d4575f34080f63ef9b293d0a528 6197 autopkgtest_4.4_amd64.buildinfo
Files:
d06d8b3dc1fd5fd9af99c7700363f1d5 1895 devel optional autopkgtest_4.4.dsc
9b1d367f019e8091ec90b4479f1bff8d 172936 devel optional autopkgtest_4.4.tar.xz
6069c392bfa690a54a1ff41736b0b6de 186432 devel optional autopkgtest_4.4_all.deb
0b6ad590bb1e6f10acd705c92ea27fae 6197 devel optional autopkgtest_4.4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAlkGHRIACgkQ0U7xXa/h
E0ejqg//cvBSy5gixnN9rplIyHKAYkI3aeg2lHv9/NW7q/3iSsILsiztA3QQ3lGi
N9BYMfiKUY8YhptJkiE5KAYz+gVyTKn+bLuEjqMQua1bx6AMB04lfaDUXN2S+Oqt
bxFeAyzLj8IKsK30hGJB36OwHP46qoCazlzPCzFFRUdT8jXmDJKbOQKg7lBZ1dlQ
V6L1LwwflLvasMcVnCmlzLklpNHfcsMigrMRR5gnistP/TlfQNmALr0J1QxgtBDr
bWeGXu+vv0x1LkxRDIZwUNsCP1Ij6y5ECh3NMRPsZgeqHaYnxsiLZNNYqxlbfwCe
YFXz+FI1d+tJKr7XxoMnwqP+t1EXaBPUbPwp68vEKRWEZ9WGUfe2zb/0OEL1K/p7
8vT1dZUrBy0REfD+8mu4VyFFi4vjrxhOUn/bk+8QZGlhJCrvt4lSsJXm3yCdETG6
66+yxsq9jMnM0XE0lluUeWcclcwtUDsrca8FKk70c9K85ZqQrQBgBphCRsPeeAHA
i/UvuJICy/e+IIV1MrMDtLARoew4vScjS9a9YO9CgXU4ldX1MYZpGY5Z5z5+CTbg
7mMMQBfoAKotf+E7q/jprtCCHeagSjLoGMMaI9wP4VDP3eSKabwD62S4Dm4FY23Q
ijxaHUDLbdoCMU3dqS09D/wAlkn1hAecSo2E33Yf40uLwMxEl68=
=i1QW
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 10 Jun 2017 07:26:50 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 10 18:07:38 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.