Skip to content

Commit

Permalink
Merge pull request #24759 from Luap99/new-images
Browse files Browse the repository at this point in the history
Update VM images
  • Loading branch information
openshift-merge-bot[bot] authored Dec 13, 2024
2 parents beefbd7 + e6d8603 commit 8030093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
DEBIAN_NAME: "debian-13"

# Image identifiers
IMAGE_SUFFIX: "c20241118t130000z-f41f40d13"
IMAGE_SUFFIX: "c20241212t122344z-f41f40d13"

# EC2 images
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -923,10 +923,10 @@ func SkipIfNotSystemd(manager, reason string) {
}
}

func SkipOnOSVersion(os, version string) {
func SkipOnOSVersion(os, version string, reason string) {
info := GetHostDistributionInfo()
if info.Distribution == os && info.Version == version {
Skip(fmt.Sprintf("Test doesn't work on %s %s", os, version))
Skip(fmt.Sprintf("[%s %s]: %s", os, version, reason))
}
}

Expand Down
2 changes: 0 additions & 2 deletions test/e2e/run_userns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ var _ = Describe("Podman UserNS support", func() {

It("podman uidmapping and gidmapping with an idmapped volume", func() {
SkipIfRunc(podmanTest, "Test not supported yet with runc (issue 17433, wontfix)")
SkipOnOSVersion("fedora", "36")
session := podmanTest.Podman([]string{"run", "--uidmap=0:1:500", "--gidmap=0:200:5000", "-v", "my-foo-volume:/foo:Z,idmap", "alpine", "stat", "-c", "#%u:%g#", "/foo"})
session.WaitWithDefaultTimeout()
if strings.Contains(session.ErrorToString(), "Operation not permitted") {
Expand All @@ -108,7 +107,6 @@ var _ = Describe("Podman UserNS support", func() {

It("podman uidmapping and gidmapping with an idmapped volume on existing directory", func() {
SkipIfRunc(podmanTest, "Test not supported yet with runc (issue 17433, wontfix)")
SkipOnOSVersion("fedora", "36")
// The directory /mnt already exists in the image
session := podmanTest.Podman([]string{"run", "--uidmap=0:1:500", "--gidmap=0:200:5000", "-v", "my-foo-volume:/mnt:Z,idmap", "alpine", "stat", "-c", "#%u:%g#", "/mnt"})
session.WaitWithDefaultTimeout()
Expand Down

0 comments on commit 8030093

Please sign in to comment.