From b0d2d471807eeac5a7600432d3826e1efeda42a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Wed, 30 Apr 2025 13:45:56 +0200 Subject: [PATCH] Test/cross-distro: add version check for cross-building el8 on el9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The issue has been fixed in 9.6 0day ZStream in v132.1, so running the test against anything older will make the test fail. This is currently the case for RHEL-9-nightly pipeline. Let's solve this annoyance. Signed-off-by: Tomáš Hozza --- test/cases/cross-distro.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cases/cross-distro.sh b/test/cases/cross-distro.sh index 97fb59fd2..e4916cb2a 100755 --- a/test/cases/cross-distro.sh +++ b/test/cases/cross-distro.sh @@ -331,6 +331,10 @@ case $ID in ensure_subscription case $MAJOR in 9) + if ! nvrGreaterOrEqual "osbuild-composer" "132.1"; then + yellowprint "WARNING: osbuild-composer version lower than 132.1 is known to have issues with el8 on el9 cross-distro builds. Skipping test." + exit 0 + fi # There are no new RHEL-8 releases, so just use the distro alias test_cross_build_distro "rhel-8" ;;