From 5bbbbb1eeea7f3cd54d1204a8769caed2cc93d2d 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 --- 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 a44be23b05..a78b7a3c19 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -92,6 +92,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 := os.CreateTemp("", "") Expect(err).ToNot(HaveOccurred())