test/e2e: skip userns auto uidmapping/gidmapping tests in remote mode

The uidmapping= and gidmapping= options with --userns=auto use
intermediate ID lookup functionality that was added in d5cf46e807
(after v4.4.1). The fix is too complex to backport as it moves
functions between packages and significantly refactors ID mapping
logic.

Skip these tests in remote mode for v4.4.1.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
Lokesh Mandvekar 2026-02-04 22:14:49 +05:30
parent b8d5abe992
commit bcbe17fb51
No known key found for this signature in database
GPG key ID: 1C1EDD7CC7C3A0DD

View file

@ -274,6 +274,7 @@ var _ = Describe("Podman UserNS support", func() {
})
It("podman --userns=auto:uidmapping=", func() {
SkipIfRemote("intermediate ID lookup in uidmapping not supported in v4.4.1, fixed by d5cf46e807")
u, err := user.Current()
Expect(err).ToNot(HaveOccurred())
@ -303,6 +304,7 @@ var _ = Describe("Podman UserNS support", func() {
})
It("podman --userns=auto:gidmapping=", func() {
SkipIfRemote("intermediate ID lookup in gidmapping not supported in v4.4.1, fixed by d5cf46e807")
u, err := user.Current()
Expect(err).ToNot(HaveOccurred())