Skip to content

Commit

Permalink
Test new CI VMs
Browse files Browse the repository at this point in the history
From containers/automation_images#325

Major change: netavark and aardvark are now included in prior-fedora,
so CNI can be fully eliminated from CI (containers#21410)

FIXME FIXME FIXME: skip two e2e tests, waiting for new netavark

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Feb 1, 2024
1 parent 4fde98f commit 1ab55de
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 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: "c20240102t212217z-f39f38d13"
IMAGE_SUFFIX: "c20240201t143038z-f39f38d13"


# EC2 images
Expand Down
2 changes: 0 additions & 2 deletions contrib/cirrus/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ remove_packaged_podman_files() {
# Do so without running podman, lest that invocation initialize unwanted state.
rm -f /run/podman/podman.sock /run/user/$(id -u)/podman/podman.sock || true

rm -f $(podman info --format "{{.Host.RemoteSocket.Path}}")

# yum/dnf/dpkg may list system directories, only remove files
$LISTING_CMD | while read fullpath
do
Expand Down
9 changes: 9 additions & 0 deletions contrib/cirrus/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ runroot = "/run/containers/storage"
graphroot = "/var/lib/containers/storage"
EOF

# Since we've potentially changed important config settings, reset.
# This prevents `database graph driver "" does not match "overlay"`
# on Debian.
rm -rf /var/lib/containers/storage

# shellcheck disable=SC2154
showrun echo "Setting CI_DESIRED_STORAGE [=$CI_DESIRED_STORAGE] for *e2e* tests"
echo "STORAGE_FS=$CI_DESIRED_STORAGE" >>/etc/ci_environment
Expand Down Expand Up @@ -291,6 +296,10 @@ esac
#
# Either way, this block of code should be removed after March 31 2023
# because it creates a system that is not representative of real-world Fedora.
#
# 2024-01-25 update: ha ha. This fix has proven so popular that it is
# being used by other groups who were seeing the cdn03 flake. Looks like
# we're stuck with it.
if ((CONTAINER==0)); then
nsswitch=/etc/authselect/nsswitch.conf
if [[ -e $nsswitch ]]; then
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/run_networking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var _ = Describe("Podman run networking", func() {
hostname, _ := os.Hostname()

It("podman verify network scoped DNS server and also verify updating network dns server", func() {
Skip("FIXME: needs netavark > 1.10.2, available >= 2024-02-02")
// Following test is only functional with netavark and aardvark
SkipIfCNI(podmanTest)
net := createNetworkName("IntTest")
Expand Down Expand Up @@ -71,6 +72,8 @@ var _ = Describe("Podman run networking", func() {
})

It("podman network dns multiple servers", func() {
Skip("FIXME: needs netavark > 1.10.2, available >= 2024-02-02")

// Following test is only functional with netavark and aardvark
SkipIfCNI(podmanTest)
net := createNetworkName("IntTest")
Expand Down

0 comments on commit 1ab55de

Please sign in to comment.