test/e2e: skip "podman rmi with cached images" for remote

Remote builds don't reuse cache layers the same way as local builds.
The test builds two images where the second image shares some steps
with the first, expecting cache layers to be shared. When the second
image is removed, only 2 images should be deleted (the final image +
one unique intermediate layer). However, in remote mode, cache isn't
shared, so 4 images are deleted instead.

This test was originally skipped for remote (commit pre-4b8df5903f)
with the note "FIXME This should work on podman-remote, problem is
with podman-remote build". It was enabled in commit 4b8df5903f
assuming the issue was fixed, but the underlying cache reuse problem
persists.

Re-add SkipIfRemote until the cache layer sharing issue is resolved.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Lokesh Mandvekar 2026-02-02 18:21:33 +05:30 committed by Chris Evich
parent 83a50092f4
commit ef49d7950e
No known key found for this signature in database
GPG key ID: 03EDC70FD578067F

View file

@ -183,6 +183,7 @@ var _ = Describe("Podman rmi", func() {
})
It("podman rmi with cached images", func() {
SkipIfRemote("podman-remote build does not reuse cache layers the same as local build")
podmanTest.AddImageToRWStore(CIRROS_IMAGE)
dockerfile := fmt.Sprintf(`FROM %s
RUN mkdir hello