Bug#981849: podman build does not use the cache

2021-02-04 Thread Reinhard Tartler
Control: reassign -1 buildah 1.19.3+dfsg1-1
Control: affects -1 podman

On Thu, Feb 4, 2021 at 12:55 PM Antonio Terceiro 
wrote:

> Control: forwarded -1 https://github.com/containers/podman/issues/9233
>
> There.
>

Awesome. As it turns out, this is actually an issue in buildah
and needs to be fixed there. The patch for this can be found here:
https://patch-diff.githubusercontent.com/raw/containers/buildah/pull/2967.patch

As for timing, I'd prefer to let the current packages migrate to testing
first,
but if you (or anyone else) feels strongly and where to raise this to RC,
I'd prioritize the upload.
--
regards,
Reinhard


Bug#981849: podman build does not use the cache

2021-02-04 Thread Antonio Terceiro
Control: forwarded -1 https://github.com/containers/podman/issues/9233

On Thu, Feb 04, 2021 at 11:51:09AM -0500, Reinhard Tartler wrote:
> Control: tags -1 upstream
> 
> On Thu, Feb 4, 2021 at 10:33 AM Antonio Terceiro 
> wrote:
> 
> >
> > After upgrading from 3.0.0~rc1+dfsg1-1, which was in experimental, to the
> > version that was just uploaded to unstable, `podman build` stopped using
> > the
> > cache when building images.
> 
> 
> I've checked with upstream, and got this response:
> 
> 11:33  siretart: i recall merging a commit that changed the way we
>   handle enabling/disabling the build cache, but it should still
>   be working + enabled by default
> 11:34  possible we've introduced a bug, cache is difficult to do
>   automated testing on AFAIK
> 11:34  i would open a github issue about it so we can make sure this
>   is resolved prior to 3.0 final
> 
> Would you mind filing a new issue at
> https://github.com/containers/podman/issues/new and let me know the bug
> number?

There.


signature.asc
Description: PGP signature


Bug#981849: podman build does not use the cache

2021-02-04 Thread Reinhard Tartler
Control: tags -1 upstream

On Thu, Feb 4, 2021 at 10:33 AM Antonio Terceiro 
wrote:

>
> After upgrading from 3.0.0~rc1+dfsg1-1, which was in experimental, to the
> version that was just uploaded to unstable, `podman build` stopped using
> the
> cache when building images.


I've checked with upstream, and got this response:

11:33  siretart: i recall merging a commit that changed the way we
  handle enabling/disabling the build cache, but it should still
  be working + enabled by default
11:34  possible we've introduced a bug, cache is difficult to do
  automated testing on AFAIK
11:34  i would open a github issue about it so we can make sure this
  is resolved prior to 3.0 final

Would you mind filing a new issue at
https://github.com/containers/podman/issues/new and let me know the bug
number?

Thanks!

-- 
regards,
Reinhard


Bug#981849: podman build does not use the cache

2021-02-04 Thread Antonio Terceiro
Package: podman
Version: 3.0.0~rc2+dfsg1-2
Severity: normal

After upgrading from 3.0.0~rc1+dfsg1-1, which was in experimental, to the
version that was just uploaded to unstable, `podman build` stopped using the
cache when building images. See the log below. The build before
the upgrade uses the cache, and the build after it builds everything
from scratch, and will redo every new build after that.

8<8<8<-
$ dpkg-query --show podman
podman  3.0.0~rc1+dfsg1-1

$ make
podman build -t systemd .
STEP 1: FROM debian
STEP 2: RUN apt-get update && apt-get install -qy auto-apt-proxy && 
apt-get install -qy systemd-sysv procps
--> Using cache 30787bd829172ef9075332dcda22f497b52d995e6e720d075b1b04bb5523197c
--> 30787bd8291
STEP 3: RUN  passwd -d root
--> Using cache d4d6285c90f51975ac5dcb2be77936ec5351029b8f8ba16447cb5e7bc29d1975
--> d4d6285c90f
STEP 4: CMD ["/sbin/init"]
--> Using cache 81f365bde08662630f26388bb8c6c672d0ce6cb20e4a6753c2c1dbaa40954107
STEP 5: COMMIT systemd
--> 81f365bde08
81f365bde08662630f26388bb8c6c672d0ce6cb20e4a6753c2c1dbaa40954107

$ sudo apt install -qy podman/unstable
Lendo listas de pacotes...
Construindo árvore de dependências...
Lendo informação de estado...
Pacotes sugeridos:
  containers-storage
Os pacotes a seguir serão atualizados:
  podman
1 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não 
atualizados.
É preciso baixar 9.491 kB de arquivos.
Depois desta operação, 78,8 kB adicionais de espaço em disco serão usados.
Obter:1 http://ftp.br.debian.org/debian unstable/main amd64 podman amd64 
3.0.0~rc2+dfsg1-2 [9.491 kB]
Baixados 9.491 kB em 0s (89,8 MB/s)
(Lendo banco de dados ... 617561 ficheiros e directórios actualmente 
instalados.)
A preparar para desempacotar .../podman_3.0.0~rc2+dfsg1-2_amd64.deb ...
A descompactar podman (3.0.0~rc2+dfsg1-2) sobre (3.0.0~rc1+dfsg1-1) ...
Configurando podman (3.0.0~rc2+dfsg1-2) ...
podman.service is a disabled or a static unit not running, not starting it.
A processar 'triggers' para man-db (2.9.3-2) ...
[...]

$ make
podman build -t systemd .
STEP 1: FROM debian
STEP 2: RUN apt-get update && apt-get install -qy auto-apt-proxy && 
apt-get install -qy systemd-sysv procps
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 
kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 
Packages [266 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7848 B]
Fetched 8420 kB in 2s (5001 kB/s)
[...]
8<8<8<-

-- 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-2-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 podman depends on:
ii  conmon   2.0.25+ds1-1
ii  containernetworking-plugins  0.9.0-1
ii  crun 0.17+dfsg-1
ii  golang-github-containers-common  0.33.1+ds1-3
ii  init-system-helpers  1.60
ii  libc62.31-9
ii  libdevmapper1.02.1   2:1.02.175-2
ii  libgpgme11   1.14.0-1+b2
ii  libseccomp2  2.5.1-1
ii  runc 1.0.0~rc93+ds1-1

Versions of packages podman recommends:
ii  buildah   1.19.3+dfsg1-1
ii  catatonit 0.1.5-2
ii  fuse-overlayfs1.4.0-1
ii  golang-github-containernetworking-plugin-dnsname  1.1.1+ds1-4+b1
ii  slirp4netns   1.0.1-1
ii  tini  0.19.0-1
ii  uidmap1:4.8.1-1

Versions of packages podman suggests:
pn  containers-storage  
ii  docker-compose  1.25.0-1

-- no debconf information


signature.asc
Description: PGP signature