From 7ce6819c534f27b5e9e084236b6eecb9ecc8f347 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Tue, 21 Jan 2025 18:45:55 +0100 Subject: [PATCH] tests: enable build tests on Fedora 41 Tests that interact with the kernel are skipped (tests/regression and tests/snapd) but everything else is green. Most of the tests are actually passing. The only exception is the aa-notify test that was broken by Python 3.13 stdlib change. The fix for that has been posted separately. Signed-off-by: Zygmunt Krynicki --- .image-garden.mk | 26 ++++++++++++++++++++++++++ spread.yaml | 9 +++++++++ 2 files changed, 35 insertions(+) diff --git a/.image-garden.mk b/.image-garden.mk index e8286709a..1fb449e32 100644 --- a/.image-garden.mk +++ b/.image-garden.mk @@ -68,3 +68,29 @@ packages: - python311-devel - swig endef + +define FEDORA_CLOUD_INIT_USER_DATA_TEMPLATE +$(CLOUD_INIT_USER_DATA_TEMPLATE) +packages: +- attr +- autoconf +- autoconf-archive +- automake +- bison +- dbus-devel +- dejagnu +- dosfstools +- flex +- gettext +- libstdc++-static +- libtool +- liburing-devel +- perl +- pkg-config +- python3-devel +- python3-flake8 +- python3-gobject-base +- python3-notify2 +- python3-tkinter +- swig +endef diff --git a/spread.yaml b/spread.yaml index 015b85e08..f380f1051 100644 --- a/spread.yaml +++ b/spread.yaml @@ -72,6 +72,9 @@ backends: username: ubuntu password: ubuntu workers: 4 + - fedora-cloud-41: + username: fedora + password: fedora exclude: - .git @@ -142,6 +145,9 @@ suites: summary: Unit tests that do not exercise the kernel layer. tests/regression/: summary: Regression tests for parser-kernel interaction. + systems: + # AppArmor is not enabled in the kernel. + - -fedora-cloud-* prepare: | # Spread does not support programmatically generated test variants. # Ensure that the list baked into tests/regression/apparmor/task.yaml @@ -169,3 +175,6 @@ suites: rm -f apparmor-regression-tests.txt tests/snapd/: summary: Tests exercising a subset of behavior of snapd + systems: + # AppArmor is not enabled in the kernel. + - -fedora-cloud-*