From e388181e3589c12cce0cd94e79f12d0e1eced2e0 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 2 Feb 2026 18:33:35 +0530 Subject: [PATCH] test/e2e: skip "podman cp --pid=host file" for remote Same issue as "podman cp from ctr chown" - the test fails when copying a file from a container to an existing file on the host. Remote cp tries to create a directory at the destination, resulting in: Error: mkdir /tmp/746758151: not a directory This is the same bug in the remote cp implementation where it doesn't handle copying to an existing file path. Fix exists in commit b0836ab624 but hasn't been merged yet. Skip the test for remote until the fix is integrated. Signed-off-by: Lokesh Mandvekar Signed-off-by: Chris Evich --- test/e2e/cp_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index 3a09fa31c1..d7688f5b44 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -93,6 +93,7 @@ var _ = Describe("Podman cp", func() { // Copy a file to the container, then back to the host in --pid=host It("podman cp --pid=host file", func() { + SkipIfRemote("podman-remote cp fails when copying file to existing file path") SkipIfRootlessCgroupsV1("Not supported for rootless + CgroupsV1") srcFile, err := ioutil.TempFile("", "") Expect(err).To(BeNil())