Merge pull request #27581 from timcoding1988/chore/new_base_image_for_fedora_43

update fedora base image to 43 and related tests
This commit is contained in:
Paul Holzinger
2025-12-12 16:56:03 +01:00
committed by GitHub
4 changed files with 16 additions and 5 deletions

View File

@@ -24,14 +24,14 @@ env:
####
#### Cache-image names to test with (double-quotes around names are critical)
####
FEDORA_NAME: "fedora-42"
FEDORA_NAME: "fedora-43"
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64"
PRIOR_FEDORA_NAME: "fedora-41"
PRIOR_FEDORA_NAME: "fedora-42"
RAWHIDE_NAME: "rawhide"
DEBIAN_NAME: "debian-14"
# Image identifiers
IMAGE_SUFFIX: "c20251120t131229z-f42f41d14"
IMAGE_SUFFIX: "c20251211t152018z-f43f42d14"
# EC2 images
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"

View File

@@ -506,6 +506,9 @@ if [ "$(type -t $handler)" != "function" ]; then
die "Unknown/Unsupported \$TEST_FLAVOR=$TEST_FLAVOR"
fi
# Unset NOTIFY_SOCKET based on: https://github.com/containers/podman/pull/27514#issuecomment-3529125596
unset NOTIFY_SOCKET
showrun $handler
if [[ -n "$TRACER_PID" ]]; then

View File

@@ -1,6 +1,6 @@
import json
import unittest
from multiprocessing import Process
import multiprocessing as mp
import requests
from dateutil.parser import parse
@@ -168,9 +168,12 @@ class ImageTestCase(APITestCase):
self.assertEqual(r.status_code, 400, f"#5: {r.text}")
i = 1
# Need to explicitly set start method
# # https://docs.python.org/dev/library/multiprocessing.html#contexts-and-start-methods
mp.set_start_method('fork')
for fn in [do_search1, do_search2, do_search3, do_search4, do_search5]:
with self.subTest(i=i):
search = Process(target=fn)
search = mp.Process(target=fn)
search.start()
search.join(timeout=10)
self.assertFalse(search.is_alive(), f"#{i} /images/search took too long")

View File

@@ -40,6 +40,11 @@ function teardown() {
skip_if_rootless "Quotas are only possible with root"
skip_if_remote "Requires --root flag, not possible w/ remote"
OS_RELEASE_ID="${OS_RELEASE_ID:-$(source /etc/os-release; echo $ID)}"
if [[ "$OS_RELEASE_ID" == "fedora" ]]; then
skip "FIXME #27759: There is a selinux problem with this test"
fi
# Minimum XFS filesystem size is 300mb
loop=$PODMAN_TMPDIR/disk.img
fallocate -l 300m ${loop}