From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>,
qemu-devel@nongnu.org
Cc: Radoslaw Biernacki <rad@semihalf.com>,
Peter Maydell <peter.maydell@linaro.org>,
Leif Lindholm <quic_llindhol@quicinc.com>,
Cleber Rosa <crosa@redhat.com>,
Wainer dos Santos Moschetta <wainersm@redhat.com>,
Beraldo Leal <bleal@redhat.com>, Brad Smith <brad@comstyle.com>,
qemu-arm@nongnu.org
Subject: Re: [PATCH 0/3] tests/avocado: update sbsa-ref firmware to latest
Date: Wed, 13 Mar 2024 12:48:20 +0100 [thread overview]
Message-ID: <9ed09426-d507-4ae4-b04c-4bbf1f083b69@linaro.org> (raw)
In-Reply-To: <20240313-sbsa-ref-firmware-update-v1-0-e166703c5424@linaro.org>
Hi Marcin,
On 13/3/24 11:08, Marcin Juszkiewicz wrote:
> Updating sbsa-ref firmware for QEMU CI was manual task. Now it is
> replaced by CI job run on CodeLinaro Gitlab instance.
>
> This patchset updates to current state:
>
> - Trusted Firmware v2.10.2 (latest LTS)
> - Tianocore EDK2 stable202402 (latest release)
>
> And Tianocore EDK2-platforms commit 085c2fb (edk2-platforms does not
> have releases).
>
> Firmware images were built using Debian 'bookworm' cross gcc 12.2.0
> compiler.
>
> And while I am in that file I dropped use of 'virtio-rng-pci' device as
> sbsa-ref is supposed to emulate physical hardware.
>
> OpenBSD updated to 7.4 version.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> Marcin Juszkiewicz (3):
> tests/avocado: update sbsa-ref firmware
> tests/avocado: drop virtio-rng from sbsa-ref tests
> tests/avocado: use OpenBSD 7.4 for sbsa-ref
Hmm 'max' is timeouting:
(1/7) test_sbsaref_edk2_firmware: PASS (9.99 s)
(2/7) test_sbsaref_alpine_linux_cortex_a57: PASS (54.82 s)
(3/7) test_sbsaref_alpine_linux_neoverse_n1: PASS (53.09 s)
(4/7) test_sbsaref_alpine_linux_max: INTERRUPTED: Runner error
occurred: Timeout reached... (180.51 s)
(5/7) test_sbsaref_openbsd_cortex_a57: PASS (33.45 s)
(6/7) test_sbsaref_openbsd_neoverse_n1: PASS (22.15 s)
(7/7) test_sbsaref_openbsd_max: INTERRUPTED: Runner error occurred:
Timeout reached... (180.42 s)
RESULTS : PASS 5 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 2 |
CANCEL 0
JOB TIME : 537.48 s
Using impdef pauth ...
-- >8 --
diff --git a/tests/avocado/machine_aarch64_sbsaref.py
b/tests/avocado/machine_aarch64_sbsaref.py
index 94c9f81d72..d349ce73ae 100644
--- a/tests/avocado/machine_aarch64_sbsaref.py
+++ b/tests/avocado/machine_aarch64_sbsaref.py
@@ -156 +156 @@ def test_sbsaref_alpine_linux_max(self):
- self.boot_alpine_linux("max")
+ self.boot_alpine_linux("max,pauth-impdef=on")
@@ -201 +201 @@ def test_sbsaref_openbsd_max(self):
- self.boot_openbsd("max")
+ self.boot_openbsd("max,pauth-impdef=on")
---
... I still get:
(1/7) test_sbsaref_edk2_firmware: PASS (5.56 s)
(2/7) test_sbsaref_alpine_linux_cortex_a57: PASS (53.09 s)
(3/7) test_sbsaref_alpine_linux_neoverse_n1: PASS (53.00 s)
(4/7) test_sbsaref_alpine_linux_max: PASS (70.99 s)
(5/7) test_sbsaref_openbsd_cortex_a57: PASS (22.63 s)
(6/7) test_sbsaref_openbsd_neoverse_n1: PASS (22.56 s)
(7/7) test_sbsaref_openbsd_max: INTERRUPTED: Timeout reached... (180.43 s)
RESULTS : PASS 6 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 1 |
CANCEL 0
JOB TIME : 409.29 s
What about disabling path on openbsd and using @skip tags?
-- >8 --
diff --git a/tests/avocado/machine_aarch64_sbsaref.py
b/tests/avocado/machine_aarch64_sbsaref.py
index 94c9f81d72..c6ee7332a9 100644
--- a/tests/avocado/machine_aarch64_sbsaref.py
+++ b/tests/avocado/machine_aarch64_sbsaref.py
@@ -142,2 +142,3 @@ def test_sbsaref_alpine_linux_cortex_a57(self):
:avocado: tags=cpu:cortex-a57
+ :avocado: tags=os:linux
"""
@@ -148,2 +149,3 @@ def test_sbsaref_alpine_linux_neoverse_n1(self):
:avocado: tags=cpu:neoverse-n1
+ :avocado: tags=os:linux
"""
@@ -151,2 +153,17 @@ def test_sbsaref_alpine_linux_neoverse_n1(self):
+ def test_sbsaref_alpine_linux_max_pauth_off(self):
+ """
+ :avocado: tags=cpu:max
+ :avocado: tags=os:linux
+ """
+ self.boot_alpine_linux("max,pauth=off")
+
+ def test_sbsaref_alpine_linux_max_pauth_impdef(self):
+ """
+ :avocado: tags=cpu:max
+ :avocado: tags=os:linux
+ """
+ self.boot_alpine_linux("max,pauth-impdef=on")
+
+ @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might
timeout')
def test_sbsaref_alpine_linux_max(self):
@@ -154,2 +171,3 @@ def test_sbsaref_alpine_linux_max(self):
:avocado: tags=cpu:max
+ :avocado: tags=os:linux
"""
@@ -186,3 +204,4 @@ def test_sbsaref_openbsd_cortex_a57(self):
"""
- :avocado: tags=cpu:cortex-a57,os:openbsd
+ :avocado: tags=cpu:cortex-a57
+ :avocado: tags=os:openbsd
"""
@@ -192,3 +211,4 @@ def test_sbsaref_openbsd_neoverse_n1(self):
"""
- :avocado: tags=cpu:neoverse-n1,os:openbsd
+ :avocado: tags=cpu:neoverse-n1
+ :avocado: tags=os:openbsd
"""
@@ -196,7 +216,24 @@ def test_sbsaref_openbsd_neoverse_n1(self):
+ def test_sbsaref_openbsd_max_pauth_off(self):
+ """
+ :avocado: tags=cpu:max
+ :avocado: tags=os:openbsd
+ """
+ self.boot_openbsd("max,pauth=off")
+
+ @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might
timeout')
+ def test_sbsaref_openbsd_max_pauth_impdef(self):
+ """
+ :avocado: tags=cpu:max
+ :avocado: tags=os:openbsd
+ """
+ self.boot_openbsd("max,pauth-impdef=on")
+
+ @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might
timeout')
def test_sbsaref_openbsd_max(self):
"""
- :avocado: tags=cpu:max,os:openbsd
+ :avocado: tags=cpu:max
+ :avocado: tags=os:openbsd
"""
- self.boot_openbsd("max")
+ self.boot_openbsd("max,pauth-impdef=on")
---
However OpenBSD still timeouts at 180s:
(01/11) test_sbsaref_edk2_firmware: PASS (7.25 s)
(02/11) test_sbsaref_alpine_linux_cortex_a57: PASS (54.30 s)
(03/11) test_sbsaref_alpine_linux_neoverse_n1: PASS (52.25 s)
(04/11) test_sbsaref_alpine_linux_max_pauth_off: PASS (53.31 s)
(05/11) test_sbsaref_alpine_linux_max_pauth_impdef: PASS (72.72 s)
(06/11) test_sbsaref_alpine_linux_max: SKIP: Test might timeout
(07/11) test_sbsaref_openbsd_cortex_a57: PASS (22.37 s)
(08/11) test_sbsaref_openbsd_neoverse_n1: PASS (22.98 s)
(09/11) test_sbsaref_openbsd_max_pauth_off: INTERRUPTED: Timeout
reached... (180.54 s)
(10/11) test_sbsaref_openbsd_max_pauth_impdef: SKIP: Test might timeout
(11/11) test_sbsaref_openbsd_max: SKIP: Test might timeout
Regards,
Phil.
prev parent reply other threads:[~2024-03-13 11:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-13 10:08 [PATCH 0/3] tests/avocado: update sbsa-ref firmware to latest Marcin Juszkiewicz
2024-03-13 10:08 ` [PATCH 1/3] tests/avocado: update sbsa-ref firmware Marcin Juszkiewicz
2024-03-13 11:48 ` Philippe Mathieu-Daudé
2024-03-13 10:08 ` [PATCH 2/3] tests/avocado: drop virtio-rng from sbsa-ref tests Marcin Juszkiewicz
2024-03-13 10:08 ` [PATCH 3/3] tests/avocado: use OpenBSD 7.4 for sbsa-ref Marcin Juszkiewicz
2024-03-13 11:44 ` Philippe Mathieu-Daudé
2024-03-13 13:39 ` Marcin Juszkiewicz
2024-03-13 15:06 ` Philippe Mathieu-Daudé
2024-03-13 16:32 ` Philippe Mathieu-Daudé
2024-03-13 11:48 ` Philippe Mathieu-Daudé [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ed09426-d507-4ae4-b04c-4bbf1f083b69@linaro.org \
--to=philmd@linaro.org \
--cc=bleal@redhat.com \
--cc=brad@comstyle.com \
--cc=crosa@redhat.com \
--cc=marcin.juszkiewicz@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quic_llindhol@quicinc.com \
--cc=rad@semihalf.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).