Report forwarded
to debian-bugs-dist@lists.debian.org, Debian CI team <team+ci@tracker.debian.org>: Bug#911963; Package autopkgtest.
(Fri, 26 Oct 2018 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Antoine Beaupre <anarcat@debian.org>:
New Bug report received and forwarded. Copy sent to Debian CI team <team+ci@tracker.debian.org>.
(Fri, 26 Oct 2018 17:51:04 GMT) (full text, mbox, link).
Package: autopkgtest
Version: 5.6
Severity: important
File: /usr/bin/autopkgtest-build-qemu
Tags: patch
There seems to be some sort of interoperability issue between
autopkgtest and recent versions of APT which leads the build to
completely fail:
$ sudo autopkgtest-build-qemu stretch autopkgtest-stretch.qcow
/usr/bin/autopkgtest-build-qemu: 61: /usr/bin/autopkgtest-build-qemu: proxy_cmd: parameter not set
This is on a recent buster system. The offending code is:
RES=`apt-config shell proxy_cmd Acquire::http::Proxy-Auto-Detect`
eval $RES
if [ -n "$proxy_cmd" ]; then
... and probably fails because of `set -eu` in the script. I can
confirm the RES variable is empty and therefore proxy_cmd never gets
initialized.
The attached patch fixes the issue, but it might be a little naive and
should be reviewed correctly to see why this failure occurs now. It
might be the variable changed on APT's side or something similarly
fishy.
I don't have a proxy setup here, so the patch fixes my own itch.
A.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages autopkgtest depends on:
ii apt-utils 1.7.0
ii libdpkg-perl 1.19.2
ii procps 2:3.3.15-2
ii python3 3.6.6-1
ii python3-debian 0.1.33
Versions of packages autopkgtest recommends:
ii autodep8 0.14
Versions of packages autopkgtest suggests:
ii lxc 1:2.0.9-6.1
pn lxd <none>
pn ovmf <none>
ii qemu-efi-aarch64 0~20180812.cb5f4f45-1
pn qemu-efi-arm <none>
ii qemu-system 1:2.12+dfsg-3+b1
ii qemu-utils 1:2.12+dfsg-3+b1
ii schroot 1.6.10-5
ii vmdb2 0.13.2-1
-- debconf-show failed
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CI team <team+ci@tracker.debian.org>: Bug#911963; Package autopkgtest.
(Fri, 26 Oct 2018 17:57:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian CI team <team+ci@tracker.debian.org>.
(Fri, 26 Oct 2018 17:57:03 GMT) (full text, mbox, link).
Subject: Bug #911963 in autopkgtest marked as pending
Date: Mon, 19 Nov 2018 09:49:05 +0000
Control: tag -1 pending
Hello,
Bug #911963 in autopkgtest reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below, and you can check the diff of the fix at:
https://salsa.debian.org/ci-team/autopkgtest/commit/601e7321cabb42dbc8d894ca42cf01ec47d64c1a
------------------------------------------------------------------------
autopkgtest-build-qemu: Fix uninitialized proxy_cmd variable
Apparently in some cases `apt-config shell` does not set the variable at
all. Let's be robust for that and avoid an error due to an unset
variable.
Thanks to Antoine Beaupre for debugging this!
Closes: #911963
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/911963
Added tag(s) pending.
Request was from Martin Pitt <mpitt@debian.org>
to 911963-submitter@bugs.debian.org.
(Mon, 19 Nov 2018 09:51:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CI team <team+ci@tracker.debian.org>: Bug#911963; Package autopkgtest.
(Mon, 19 Nov 2018 10:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian CI team <team+ci@tracker.debian.org>.
(Mon, 19 Nov 2018 10:03:03 GMT) (full text, mbox, link).
To: Antoine Beaupre <anarcat@debian.org>, 911963@bugs.debian.org
Subject: Re: Bug#911963: qemu build fails with proxy_cmd: parameter not set
Date: Mon, 19 Nov 2018 10:51:30 +0100
Control: tag -1 pending
Hello Antoine,
Antoine Beaupre [2018-10-26 13:46 -0400]:
> There seems to be some sort of interoperability issue between
> autopkgtest and recent versions of APT which leads the build to
> completely fail:
>
> $ sudo autopkgtest-build-qemu stretch autopkgtest-stretch.qcow
> /usr/bin/autopkgtest-build-qemu: 61: /usr/bin/autopkgtest-build-qemu: proxy_cmd: parameter not set
Thanks for investigating and the patch! Fixed in
https://salsa.debian.org/ci-team/autopkgtest/commit/601e7321cabb
Martin
Reply sent
to Paul Gevers <elbrus@debian.org>:
You have taken responsibility.
(Thu, 13 Dec 2018 11:51:09 GMT) (full text, mbox, link).
Notification sent
to Antoine Beaupre <anarcat@debian.org>:
Bug acknowledged by developer.
(Thu, 13 Dec 2018 11:51:10 GMT) (full text, mbox, link).
Source: autopkgtest
Source-Version: 5.7
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 911963@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul Gevers <elbrus@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: Thu, 13 Dec 2018 12:03:13 +0100
Source: autopkgtest
Binary: autopkgtest
Architecture: source
Version: 5.7
Distribution: unstable
Urgency: medium
Maintainer: Debian CI team <team+ci@tracker.debian.org>
Changed-By: Paul Gevers <elbrus@debian.org>
Description:
autopkgtest - automatic as-installed testing for Debian packages
Closes: 904776911963913082914191915913
Changes:
autopkgtest (5.7) unstable; urgency=medium
.
[ Paul Gevers ]
* doc: remove confusing text about future systems
* runner/autopkgtest: initialize variable (Closes: #914191)
* doc: document test-name syntax (Closes: #915913)
* Also run autodep8 when d/control says so (Closes: #904776)
.
[ Martin Pitt ]
* Support foreign architecture test dependencies (Closes: #913082)
* lib/testdesc.py: Fix typo in regular expression
* autopkgtest-build-qemu: Fix uninitialized proxy_cmd variable
(Closes: #911963)
.
[ Iain Lane ]
* autopkgtest-build-lxd hack: mask serial-getty@getty.service
* Re-enable apt-cache fallback for --only-source as needed in trusty
.
[ Christian Ehrhardt ]
* Better debugging info for failures due to non-installable test
dependencies
Checksums-Sha1:
b14ea79e7cce45eff09bcdebc10d0dad0936b507 1582 autopkgtest_5.7.dsc
c464ee734bfad07832371a8e202d7fa9fd9ed47b 180192 autopkgtest_5.7.tar.xz
Checksums-Sha256:
709e7c5519e19ab92d0a2aa7d170548add5c4e143b80e6d82d77cc09739cc0ec 1582 autopkgtest_5.7.dsc
f79d4b046c638e2ec8a77dd31112d8441ecf4d8595a63a15cd142153cc0699e6 180192 autopkgtest_5.7.tar.xz
Files:
a557cc3023b410cec787d05c784b9a87 1582 devel optional autopkgtest_5.7.dsc
9cf2c0ba9071b78ed15ed438276b5b91 180192 devel optional autopkgtest_5.7.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlwSQlEACgkQnFyZ6wW9
dQqueAgAhvIa8wRIhE8pFwYrD6Eba/KcYos0v7IXxVl974V+uE2ZztEY6g1WvCdO
XCWBe9MNYyD+dHIaj2gfFK7NMAtlwquh9Ne5pvEvInS2eqU2eb9Tzk+WDn3psN5W
0lSkQdP6/DzOHqtGob0Qb3q+dG6vEGEFEI4EOsXrfOM1pr0bah19QLjSrRrlZM0+
moeN00T3in+CbmLmRN28D/1Hx9l/23TZQ+0Sy0UG9I3UVWgfWDtvt3iCs0IbaHVd
D21iLwkGng5jqNe0q9EwSb2z4PSNS8pRQJIY7ith8HqwCAR/Adkp5FhnEu0f91fx
A+0HJgFvklp3rPR7Hbmi2m1dUXwHaw==
=VW25
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 12 Jan 2019 07:29:09 GMT) (full text, mbox, link).
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/.