From ace0de8503bb3b73e014dfd40614d1f5f27476a9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Nov 06 2020 20:22:24 +0000 Subject: wiki report substitutions: set appropriate BOOTMETHOD for aarch64 Again this was breaking report of several aarch64 tests to wiki, as we were substituting BOOTMETHOD to "x86_64 UEFI". Signed-off-by: Adam Williamson --- diff --git a/src/fedora_openqa/conf_test_suites.py b/src/fedora_openqa/conf_test_suites.py index 706968d..ff68815 100644 --- a/src/fedora_openqa/conf_test_suites.py +++ b/src/fedora_openqa/conf_test_suites.py @@ -31,7 +31,7 @@ TESTCASES = { # special value replacement # # $RUNARCH$ - "i386", "x86_64", "arm" - # $BOOTMETHOD$ - "x86_64 BIOS", "x86_64 UEFI" + # $BOOTMETHOD$ - "x86_64 BIOS", "x86_64 UEFI", "ARM", "aarch64" # $FIRMWARE$ - "BIOS", "UEFI" # $SUBVARIANT$ - productmd 'subvariant': "Server", "KDE"... "_Base" is stripped # $SUBVARIANT_OR_LOCAL$ - productmd 'subvariant' as above, or "Local" when subvariant contains "Cloud" diff --git a/src/fedora_openqa/report.py b/src/fedora_openqa/report.py index 45d9a77..40850e8 100644 --- a/src/fedora_openqa/report.py +++ b/src/fedora_openqa/report.py @@ -69,6 +69,9 @@ def _uniqueres_replacements(job, tcdict): if arch == "arm": bootmethod = 'ARM' firmware = 'ARM' + elif arch == "aarch64": + bootmethod = "aarch64" + firmware = "UEFI" elif 'UEFI' in job['settings']: firmware = 'UEFI' bootmethod = 'x86_64 UEFI'