From 3d92345d0c5aea3cffebcd7e9e932fee48c90291 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 7 Jan 2025 09:47:48 -0800 Subject: [PATCH] Retry live install tests 5 times Unfortunately it doesn't look like qemu `-cpu host` really does fully work around the grub2-mkconfig install hang issue, so we need retries still :( As well as doing it for the update tests, let's do it for the compose install tests. We use a substitution to only increase the retry count for live images. I think just not setting the var for the other flavors should result in it being empty and not an error... Signed-off-by: Adam Williamson --- templates-updates.fif.json | 3 ++- templates.fif.json | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/templates-updates.fif.json b/templates-updates.fif.json index 143b88e5..cdc24b58 100644 --- a/templates-updates.fif.json +++ b/templates-updates.fif.json @@ -380,7 +380,8 @@ "+START_AFTER_TEST": "%LIVE_BUILD_TEST%@%ARCH_BASE_MACHINE%", "INSTALL": "1", "ISO": "Fedora-%SUBVARIANT%-Live-%ARCH%-%ADVISORY_OR_TASK%.iso", - "QEMURAM": "4096" + "QEMURAM": "4096", + "RETRY": "5" } }, "install_default_update_netinst": { diff --git a/templates.fif.json b/templates.fif.json index efffe42b..6bcad280 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -207,6 +207,7 @@ "DEPLOY_UPLOAD_TEST": "install_default_upload", "DESKTOP": "kde", "HDDSIZEGB": "15", + "INSTALL_RETRY": "5", "LIVE": "1", "PACKAGE_SET": "default", "TEST_TARGET": "ISO" @@ -220,6 +221,7 @@ "settings": { "DESKTOP": "i3", "DEPLOY_UPLOAD_TEST": "install_default_upload", + "INSTALL_RETRY": "5", "LIVE": "1", "PACKAGE_SET": "default", "TEST_TARGET": "ISO", @@ -356,6 +358,7 @@ "DESKTOP": "gnome", "DEPLOY_UPLOAD_TEST": "install_default_upload", "HDDSIZEGB": "20", + "INSTALL_RETRY": "5", "LIVE": "1", "PACKAGE_SET": "default", "TEST_TARGET": "ISO" @@ -370,6 +373,7 @@ "DESKTOP": "gnome", "DEPLOY_UPLOAD_TEST": "install_default_upload", "HDDSIZEGB": "20", + "INSTALL_RETRY": "5", "LIVE": "1", "PACKAGE_SET": "default", "TEST_TARGET": "ISO" @@ -1729,7 +1733,8 @@ }, "settings": { "PACKAGE_SET": "default", - "POSTINSTALL": "_collect_data" + "POSTINSTALL": "_collect_data", + "RETRY": "%INSTALL_RETRY%" } }, "install_default_upload": { @@ -1752,6 +1757,7 @@ "settings": { "PACKAGE_SET": "default", "POSTINSTALL": "_collect_data", + "RETRY": "%INSTALL_RETRY%", "STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2" } },