mirror of
https://github.com/containers/podman.git
synced 2025-12-09 07:09:03 +08:00
CI VMs: bump to f39 + f38
...from f38 + f37. Requires one minor e2e test change, to handle an error logging change in conmon 2.1.8. Also, this is important, requires crun-1.9.1 because of a kernel symlink change; see https://github.com/containers/crun/pull/1309 The VM images here were carefully built to include that. By the time the next VM images get built, it should be default. Since we've bumped crun, remove two obsolete skips And, skip a flaky pasta test, #20170 Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@@ -26,14 +26,14 @@ env:
|
|||||||
####
|
####
|
||||||
#### Cache-image names to test with (double-quotes around names are critical)
|
#### Cache-image names to test with (double-quotes around names are critical)
|
||||||
####
|
####
|
||||||
FEDORA_NAME: "fedora-38"
|
FEDORA_NAME: "fedora-39β"
|
||||||
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64"
|
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64"
|
||||||
PRIOR_FEDORA_NAME: "fedora-37"
|
PRIOR_FEDORA_NAME: "fedora-38"
|
||||||
RAWHIDE_NAME: "rawhide"
|
RAWHIDE_NAME: "rawhide"
|
||||||
DEBIAN_NAME: "debian-13"
|
DEBIAN_NAME: "debian-13"
|
||||||
|
|
||||||
# Image identifiers
|
# Image identifiers
|
||||||
IMAGE_SUFFIX: "c20230816t191118z-f38f37d13"
|
IMAGE_SUFFIX: "c20230928t004553z-f39f38d13"
|
||||||
|
|
||||||
# EC2 images
|
# EC2 images
|
||||||
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
|
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
|
||||||
|
|||||||
@@ -596,12 +596,13 @@ var _ = Describe("Podman logs", func() {
|
|||||||
logc := podmanTest.Podman([]string{"run", "--log-driver", "journald", "--log-opt", "tag=äöüß", ALPINE, "echo", "podman"})
|
logc := podmanTest.Podman([]string{"run", "--log-driver", "journald", "--log-opt", "tag=äöüß", ALPINE, "echo", "podman"})
|
||||||
logc.WaitWithDefaultTimeout()
|
logc.WaitWithDefaultTimeout()
|
||||||
Expect(logc).To(Exit(126))
|
Expect(logc).To(Exit(126))
|
||||||
|
// FIXME-2023-09-26: conmon <2.1.8 logs to stdout; clean this up once >=2.1.8 is universal
|
||||||
|
errmsg := logc.ErrorToString() + logc.OutputToString()
|
||||||
if !IsRemote() {
|
if !IsRemote() {
|
||||||
// Error is only seen on local client
|
// Error is only seen on local client
|
||||||
// Why does conmon log this to stdout? This must be fixed after https://github.com/containers/conmon/pull/447.
|
Expect(errmsg).To(ContainSubstring("conmon: option parsing failed: Invalid byte sequence in conversion input"))
|
||||||
Expect(logc.OutputToString()).To(Equal("conmon: option parsing failed: Invalid byte sequence in conversion input"))
|
|
||||||
}
|
}
|
||||||
Expect(logc.ErrorToString()).To(ContainSubstring("conmon failed: exit status 1"))
|
Expect(errmsg).To(ContainSubstring("conmon failed: exit status 1"))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman logs with non ASCII log tag succeeds with proper env", func() {
|
It("podman logs with non ASCII log tag succeeds with proper env", func() {
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package integration
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
. "github.com/containers/podman/v4/test/utils"
|
. "github.com/containers/podman/v4/test/utils"
|
||||||
@@ -182,9 +181,6 @@ var _ = Describe("Podman stats", func() {
|
|||||||
|
|
||||||
// Regression test for #8265
|
// Regression test for #8265
|
||||||
It("podman stats with custom memory limits", func() {
|
It("podman stats with custom memory limits", func() {
|
||||||
if strings.Contains(podmanTest.OCIRuntime, "crun") {
|
|
||||||
Skip("Test requires crun > 1.8.4")
|
|
||||||
}
|
|
||||||
// Run three containers. One with a memory limit. Make sure
|
// Run three containers. One with a memory limit. Make sure
|
||||||
// that the limits are different and the limited one has a
|
// that the limits are different and the limited one has a
|
||||||
// lower limit.
|
// lower limit.
|
||||||
@@ -235,9 +231,6 @@ var _ = Describe("Podman stats", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman stats show cgroup memory limit", func() {
|
It("podman stats show cgroup memory limit", func() {
|
||||||
if strings.Contains(podmanTest.OCIRuntime, "crun") {
|
|
||||||
Skip("Test requires crun > 1.8.4")
|
|
||||||
}
|
|
||||||
ctrWithLimit := "with-limit"
|
ctrWithLimit := "with-limit"
|
||||||
|
|
||||||
session := podmanTest.Podman([]string{"run", "-d", "--name", ctrWithLimit, "--memory", "50m", ALPINE, "top"})
|
session := podmanTest.Podman([]string{"run", "-d", "--name", ctrWithLimit, "--memory", "50m", ALPINE, "top"})
|
||||||
|
|||||||
@@ -697,6 +697,7 @@ function teardown() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "podman networking with pasta(1) - TCP/IPv4 large transfer, tap" {
|
@test "podman networking with pasta(1) - TCP/IPv4 large transfer, tap" {
|
||||||
|
skip "FIXME: #20170 - test hangs"
|
||||||
pasta_test_do
|
pasta_test_do
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user