Your message dated Fri, 12 Feb 2021 12:19:02 +0000
with message-id <[email protected]>
and subject line Bug#982467: fixed in golang-github-containers-buildah
1.19.4+dfsg1-3
has caused the Debian Bug report #982467,
regarding buildah: does not use the cache in the presence of build args
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.)
--
982467: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982467
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: buildah
Version: 1.19.3+dfsg1-2
Severity: important
Forwarded: https://github.com/containers/buildah/pull/2993
Tags: patch
Dear Maintainer,
This is a variation of #981849.
If you have the following Containerfile:
───────┬──────────────────────
│ File: Containerfile
───────┼──────────────────────
1 │ FROM debian
2 │ ARG N
3 │ RUN seq 1 ${N}
───────┴──────────────────────
Building it a second time will run everything again:
----------------8<----------------8<----------------8<-----------------
$ buildah bud --layers=true --build-arg=N=7
STEP 1: FROM debian
STEP 2: ARG N
--> Using cache c352def690165a2c9a87a59bee469509afcdedf4869d66ac1f100d04667f42ad
--> c352def6901
STEP 3: RUN seq 1 ${N}
1
2
3
4
5
6
7
--> Using cache eec66aa2b27ca0195ff64ab5d7d49081e20a1b62e04311bd64dcf875e1e39505
--> eec66aa2b27
eec66aa2b27ca0195ff64ab5d7d49081e20a1b62e04311bd64dcf875e1e39505
$ buildah bud --layers=true --build-arg=N=7
STEP 1: FROM debian
STEP 2: ARG N
--> Using cache c352def690165a2c9a87a59bee469509afcdedf4869d66ac1f100d04667f42ad
--> c352def6901
STEP 3: RUN seq 1 ${N}
1
2
3
4
5
6
7
--> Using cache eec66aa2b27ca0195ff64ab5d7d49081e20a1b62e04311bd64dcf875e1e39505
--> eec66aa2b27
eec66aa2b27ca0195ff64ab5d7d49081e20a1b62e04311bd64dcf875e1e39505
----------------8<----------------8<----------------8<-----------------
I have submitted a patch upstream (url in the pseudoheaders above) to
fix this, and it seems it will be included in 1.19.5. IMO a fix for this
should be included in bullseye because layer caching is a critical piece
of image building in the container space.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500,
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8),
LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages buildah depends on:
ii golang-github-containers-common 0.33.1+ds1-3
ii libc6 2.31-9
ii libdevmapper1.02.1 2:1.02.175-2
ii libglib2.0-0 2.66.6-2
ii libgpgme11 1.14.0-1+b2
ii libostree-1-1 2020.8-2
ii libseccomp2 2.5.1-1
ii libselinux1 3.1-3
ii uidmap 1:4.8.1-1
Versions of packages buildah recommends:
ii crun 0.17+dfsg-1
ii fuse-overlayfs 1.4.0-1
ii runc 1.0.0~rc93+ds1-2
Versions of packages buildah suggests:
pn containers-storage <none>
-- no debconf information
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: golang-github-containers-buildah
Source-Version: 1.19.4+dfsg1-3
Done: Reinhard Tartler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
golang-github-containers-buildah, 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.
Reinhard Tartler <[email protected]> (supplier of updated
golang-github-containers-buildah 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: SHA512
Format: 1.8
Date: Fri, 12 Feb 2021 06:38:06 -0500
Source: golang-github-containers-buildah
Architecture: source
Version: 1.19.4+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Closes: 982467
Changes:
golang-github-containers-buildah (1.19.4+dfsg1-3) unstable; urgency=medium
.
* Upload to unstable to pickup fix that closes: #982467
* Revert "Tighten dependencies on containers/{storage,image,common}"
.
golang-github-containers-buildah (1.19.4+dfsg1-2) experimental; urgency=medium
.
* Cherry-pick upstream patch: Fix caching layers with build args
.
golang-github-containers-buildah (1.19.4+dfsg1-1) experimental; urgency=medium
.
* New upstream version 1.19.4+dfsg1
* Tighten dependencies on containers/{storage,image,common}
* drop 2967.patch, merged upstream
Checksums-Sha1:
68f7f13762ac1bec8de415b7e8eaf19de09332f1 4046
golang-github-containers-buildah_1.19.4+dfsg1-3.dsc
f0535f6c2e97b6f1db766b944cdca8def4d72d50 7260
golang-github-containers-buildah_1.19.4+dfsg1-3.debian.tar.xz
Checksums-Sha256:
6d67d45da76297b4e316de38ea30f5de4c6c800b18584f080f4f1ada6afa7af2 4046
golang-github-containers-buildah_1.19.4+dfsg1-3.dsc
60068f239295b1542f018e138a08c1629a7ce3581e8647900d668dba11941dae 7260
golang-github-containers-buildah_1.19.4+dfsg1-3.debian.tar.xz
Files:
206702fb168ad9628c1d7226298c1434 4046 devel optional
golang-github-containers-buildah_1.19.4+dfsg1-3.dsc
60afa4b198df0f11c3a89848d535b25d 7260 devel optional
golang-github-containers-buildah_1.19.4+dfsg1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmAmbKQUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJstNzg/7BEzIx873iCHSwnky4WuAHYX0q+cy
Nazwa2qvQN0vyuFF87QVtyhr/aH1hXNJv23PAZP44hgRoUVUzP6wOCieudcxKSfY
beV1KA2xIe7G8kLUuW8HEN6eeq0fgrZj76ZVCdRPUGpWuTsxeH3FSAuuBj5gFBsU
3nHPe7jMu/CXJfvGUFdvUSLYsghBcrR9OwZvrd1vNJ9VNZRb3Mgxs8QYWmuTFpFR
iCztdXw5wR1WXnE66KbJxC2toFojC5LgVhZ1dgg1osCYF1JG2Gb7tzfTKkgTq8lk
m01SA7qtOJHw22ps3w12+51WLlUdSOIhECNTjV/PXhJATvgq78UvZpy711J/YvoL
WoDZQjKqX+GlR+QGDW2bY4qLmjxVOjMV+Msz0f/hxGa3MxwZoBVQIqb1+IGsaOnw
mZ0TOoAjOsvfAZqBHULFU1AiCRxwzqlDQEfyUe9AqkfPNsXi2fkxOfbhDxWIeTNz
NC6mitWjfkFhnAhg6QPiQ9D0XGevbgMz8XcQW2roJCN0/Dr5cpjkvBlcV8xIW/jG
XrCJe49OhOPUEM9JLy3Klv4wb2hTm/7u4TqE8wGkVP13rYqr8neC4Pk93aWQn48L
iki8Qdg/t9vrhch1b4YNoGIPc5j+UksriCtc4TngTQ1OyxzPlRg7bSvtu6ag+kQv
WavxqZZuViUuK2U=
=r7Tq
-----END PGP SIGNATURE-----
--- End Message ---