Your message dated Wed, 10 Feb 2021 19:18:24 +0000
with message-id <[email protected]>
and subject line Bug#982467: fixed in libpod 3.0.0~rc3+dfsg1-1
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libpod
Source-Version: 3.0.0~rc3+dfsg1-1
Done: Reinhard Tartler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libpod, 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 libpod 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: Wed, 10 Feb 2021 06:54:28 -0500
Source: libpod
Architecture: source
Version: 3.0.0~rc3+dfsg1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Go Packaging Team 
<[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Closes: 981708 982467
Changes:
 libpod (3.0.0~rc3+dfsg1-1) experimental; urgency=medium
 .
   * New upstream release
   * Cleanup varlink service, closes: #981708
   * Tighten dependency on buildah to pickup fix for caching bug,
     closes: #982467
Checksums-Sha1:
 08fa677a2a9ed229f05f93d770e854b8f37f21ed 4978 libpod_3.0.0~rc3+dfsg1-1.dsc
 2464bffb25299103473a8df5b9c66094e8bc658a 2257448 
libpod_3.0.0~rc3+dfsg1.orig.tar.xz
 a1ce3f46df53f79cde3fda7a65efcfd3a6969659 15684 
libpod_3.0.0~rc3+dfsg1-1.debian.tar.xz
Checksums-Sha256:
 807b514873ec944116995d11d29780fc44c14d7a10e32fc48bff84a6d80a9f7f 4978 
libpod_3.0.0~rc3+dfsg1-1.dsc
 af2983cff0bcc1e75af795445d406706cdf1510573713abeaa8b091f8cc204ac 2257448 
libpod_3.0.0~rc3+dfsg1.orig.tar.xz
 55e7f9c4897a7548f3a3d5eb3ba8f20c019e8905e657454954b32ef860311276 15684 
libpod_3.0.0~rc3+dfsg1-1.debian.tar.xz
Files:
 5e1e3696bf93f5335c222eaca5053632 4978 admin optional 
libpod_3.0.0~rc3+dfsg1-1.dsc
 178492b15b8a0f44b928cc5c9ace5405 2257448 admin optional 
libpod_3.0.0~rc3+dfsg1.orig.tar.xz
 90119cbdf6752587f78a0366dbbe983d 15684 admin optional 
libpod_3.0.0~rc3+dfsg1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmAkLtIUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJsuuzw/9E1sKQ/RwR0jcHIXIerjG70c2z2o4
fHEqwLiySWSd/zgv2eys25xeTqWTUhRLdqFHfE9eANrvhpEV5KSvUtYDQe6bZk+O
aciflNUk+ORIcqp8IY7f5cSCQrzCGOVzkl1xMMT0pKFAwkcl4LpaP32uCIBZ0X0O
JHb0nDSxxHZprxTbkJNbvxXYhPZzZUiX6v3L6yeSZBTr59tgzTq2dNkFn5qLMqSz
HnOVXwuW6h4EGQbyow8K/gNuSRq58hNZ/yDGAAgDNNyoJyD26QbOjOfAnKRmHFkx
HoWf84mS9FyYNkmJZhJJl1CmIgjen9Smri5EX/0cij5oIzxqgzSYgseG7H1lT7s8
m291tFOKBlvC9u3eG8mSlDZoJbt3KYHdwiJHhL0xTJVaoLlWVWRk/YMJh4viod7q
p1AHcvAj9+jASRPjFy6++zxKvGfc3LzzzHkIka8UDIxXXCOZjSY6cUFDa6tpKne/
JjENZ+c+OwFW9Xs4U9GouDburn+kPkUbfpyOazYJD9szMRTAny+bkLJV2o1p39l/
xuewqjhKCSnHMltRtsUyZR95O4U311zTljPQwamPWW1oXe7cvtA7Xn59eVfhZeNh
Kj4t4zpCYNSZIaNwbySBSgOBagRfQqlpxvNDjUMm1L5nhgMxlNl7l61aztVmhjID
Rbs0bl0nRe5r72Y=
=oadd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to