From ef49d7950ecb534dd2a24246e4ef964128f34331 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 2 Feb 2026 18:21:33 +0530 Subject: [PATCH] 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 Signed-off-by: Chris Evich --- test/e2e/rmi_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index d1a0cd6f54..35ae66bb4e 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -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