Merge pull request #23937 from edsantiago/test-crun-17

New VMs: test crun 1.17
This commit is contained in:
openshift-merge-bot[bot]
2024-09-17 20:28:43 +00:00
committed by GitHub
3 changed files with 4 additions and 10 deletions

View File

@@ -742,9 +742,9 @@ USER bin`, BB)
It("podman run limits host test", func() {
SkipIfRemote("This can only be used for local tests")
info := GetHostDistributionInfo()
if info.Distribution == "debian" {
if info.Distribution == "debian" && isRootless() {
// "expected 1048576 to be >= 1073741816"
Skip("FIXME 2024-05-28 fails on debian, maybe because of systemd 256?")
Skip("FIXME 2024-09 still fails on debian rootless, reason unknown")
}
var l syscall.Rlimit
@@ -2221,12 +2221,6 @@ WORKDIR /madethis`, BB)
})
It("podman run --shm-size-systemd", func() {
// FIXME Failed to set RLIMIT_CORE: Operation not permitted
info := GetHostDistributionInfo()
if info.Distribution == "debian" {
Skip("FIXME 2024-05-28 fails on debian, maybe because of systemd 256?")
}
ctrName := "testShmSizeSystemd"
run := podmanTest.Podman([]string{"run", "--name", ctrName, "--shm-size-systemd", "10mb", "-d", SYSTEMD_IMAGE, "/sbin/init"})
run.WaitWithDefaultTimeout()

View File

@@ -89,7 +89,7 @@ verify_iid_and_name() {
skip "impossible due to pitfalls in our SSH implementation"
fi
# FIXME: Broken on debian SID systemd 256 <= rc3
# FIXME: Broken on debian SID; still broken 2024-09-11
# See https://github.com/containers/podman/pull/23020#issuecomment-2179284640
OS_RELEASE_ID="${OS_RELEASE_ID:-$(source /etc/os-release; echo $ID)}"
if [[ "$OS_RELEASE_ID" == "debian" ]]; then