e2e: reenable warning checks on Debian

Back when we introduced ExitCleanly(), we couldn't use it
on Debian because of too many runc bugs. Now, early 2024:

 - #11784 has been closed-wontfix, so add a runc special-case
   in the specific test that triggers it.

 - #11785 seems to have gone away? Treat it as fixed.

 - #19552 is languishing, so let's just close-wontfix it too and
   add another runc special case.

 - and, one new rootless-cgroupsV1 exception for a warning msg
   that snuck in recently.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2024-01-03 09:51:51 -07:00
parent 1697a8bfcf
commit c90e9dad7a
4 changed files with 31 additions and 14 deletions

View File

@ -409,14 +409,20 @@ var _ = Describe("Podman exec", func() {
})
It("podman exec cannot be invoked", func() {
SkipIfNotFedora("FIXME: #19552 fails on Debian SID w/ runc 1.1.5")
setup := podmanTest.RunTopContainer("test1")
setup.WaitWithDefaultTimeout()
Expect(setup).Should(ExitCleanly())
session := podmanTest.Podman([]string{"exec", "test1", "/etc"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(126))
if podmanTest.OCIRuntime == "runc" {
// #19552 and others: some versions of runc exit 255.
Expect(session).Should(ExitWithError())
} else {
// crun (and, we hope, any other future runtimes)
Expect(session).Should(Exit(126))
}
})
It("podman exec command not found", func() {