From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org,
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [PULL 32/38] tests: add FreeBSD tests for aarch64/sbsa-ref
Date: Thu, 26 Sep 2024 08:09:07 +0200 [thread overview]
Message-ID: <e609161b-bb13-4600-bceb-c5fe884c39ea@redhat.com> (raw)
In-Reply-To: <20240919131106.3362543-33-peter.maydell@linaro.org>
On 19/09/2024 15.11, Peter Maydell wrote:
> From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
>
> FreeBSD has longer support cycle for stable release (14.x EoL in 2028)
> than OpenBSD (7.3 we use is already EoL). Also bugfixes are backported
> so we can stay on 14.x for longer.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> Message-id: 20240910-b4-move-to-freebsd-v5-2-0fb66d803c93@linaro.org
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> tests/functional/test_aarch64_sbsaref.py | 43 +++++++++++++++++++++++-
> 1 file changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py
> index 528882f4fa9..89d0b9587a8 100755
> --- a/tests/functional/test_aarch64_sbsaref.py
> +++ b/tests/functional/test_aarch64_sbsaref.py
> @@ -1,6 +1,6 @@
> #!/usr/bin/env python3
> #
> -# Functional test that boots a Linux kernel and checks the console
> +# Functional test that boots a kernel and checks the console
> #
> # SPDX-FileCopyrightText: 2023-2024 Linaro Ltd.
> # SPDX-FileContributor: Philippe Mathieu-Daudé <philmd@linaro.org>
> @@ -184,5 +184,46 @@ def test_sbsaref_openbsd73_max(self):
> self.boot_openbsd73("max")
>
>
> + ASSET_FREEBSD_ISO = Asset(
> + ('https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/'
> + '14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-bootonly.iso'),
> + '44cdbae275ef1bb6dab1d5fbb59473d4f741e1c8ea8a80fd9e906b531d6ad461')
> +
> + # This tests the whole boot chain from EFI to Userspace
> + # We only boot a whole OS for the current top level CPU and GIC
> + # Other test profiles should use more minimal boots
> + def boot_freebsd14(self, cpu=None):
> + self.fetch_firmware()
> +
> + img_path = self.ASSET_FREEBSD_ISO.fetch()
> +
> + self.vm.set_console()
> + self.vm.add_args(
> + "-drive", f"file={img_path},format=raw,snapshot=on",
> + )
> + if cpu:
> + self.vm.add_args("-cpu", cpu)
> +
> + self.vm.launch()
> + wait_for_console_pattern(self, 'Welcome to FreeBSD!')
> +
> + def test_sbsaref_freebsd14_cortex_a57(self):
> + self.boot_freebsd14("cortex-a57")
> +
> + def test_sbsaref_freebsd14_default_cpu(self):
> + self.boot_freebsd14()
> +
> + def test_sbsaref_freebsd14_max_pauth_off(self):
> + self.boot_freebsd14("max,pauth=off")
Hi Marcin,
these new tests cause the CI to time out in my fork of the QEMU repository:
https://gitlab.com/thuth/qemu/-/jobs/7915380405
https://gitlab.com/thuth/qemu/-/jobs/7916009309
https://gitlab.com/thuth/qemu/-/jobs/7914930038
Looking at the console.log artifacts, it seems like this
test_sbsaref_freebsd14_max_pauth_off is hanging at arbitrary points in time?
Could this somehow be fixed, or if not, shall we add a @skipUnless decorator
here, too?
Thomas
> + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout')
> + def test_sbsaref_freebsd14_max_pauth_impdef(self):
> + self.boot_freebsd14("max,pauth-impdef=on")
> +
> + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout')
> + def test_sbsaref_freebsd14_max(self):
> + self.boot_freebsd14("max")
> +
> +
> if __name__ == '__main__':
> QemuSystemTest.main()
next prev parent reply other threads:[~2024-09-26 6:10 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-19 13:10 [PULL 00/38] target-arm queue Peter Maydell
2024-09-19 13:10 ` [PULL 01/38] target/arm: Replace tcg_gen_dupi_vec with constants in gengvec.c Peter Maydell
2024-09-19 13:10 ` [PULL 02/38] target/arm: Replace tcg_gen_dupi_vec with constants in translate-sve.c Peter Maydell
2024-09-19 13:10 ` [PULL 03/38] target/arm: Use cmpsel in gen_ushl_vec Peter Maydell
2024-09-19 13:10 ` [PULL 04/38] target/arm: Use cmpsel in gen_sshl_vec Peter Maydell
2024-09-19 13:10 ` [PULL 05/38] target/arm: Use tcg_gen_extract2_i64 for EXT Peter Maydell
2024-09-19 13:10 ` [PULL 06/38] target/arm: Convert EXT to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 07/38] target/arm: Convert TBL, TBX " Peter Maydell
2024-09-19 13:10 ` [PULL 08/38] target/arm: Convert UZP, TRN, ZIP " Peter Maydell
2024-09-19 13:10 ` [PULL 09/38] target/arm: Simplify do_reduction_op Peter Maydell
2024-09-19 13:10 ` [PULL 10/38] target/arm: Convert ADDV, *ADDLV, *MAXV, *MINV to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 11/38] target/arm: Convert FMAXNMV, FMINNMV, FMAXV, FMINV " Peter Maydell
2024-09-19 13:10 ` [PULL 12/38] target/arm: Convert FMOVI (scalar, immediate) " Peter Maydell
2024-09-19 13:10 ` [PULL 13/38] target/arm: Convert MOVI, FMOV, ORR, BIC (vector " Peter Maydell
2024-09-19 13:10 ` [PULL 14/38] target/arm: Introduce gen_gvec_sshr, gen_gvec_ushr Peter Maydell
2024-09-19 13:10 ` [PULL 15/38] target/arm: Fix whitespace near gen_srshr64_i64 Peter Maydell
2024-09-19 13:10 ` [PULL 16/38] target/arm: Convert handle_vec_simd_shri to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 17/38] target/arm: Convert handle_vec_simd_shli " Peter Maydell
2024-09-19 13:10 ` [PULL 18/38] target/arm: Use {, s}extract in handle_vec_simd_wshli Peter Maydell
2024-09-19 13:10 ` [PULL 19/38] target/arm: Convert SSHLL, USHLL to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 20/38] target/arm: Push tcg_rnd into handle_shri_with_rndacc Peter Maydell
2024-09-19 13:10 ` [PULL 21/38] target/arm: Split out subroutines of handle_shri_with_rndacc Peter Maydell
2024-09-19 13:10 ` [PULL 22/38] target/arm: Convert SHRN, RSHRN to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 23/38] target/arm: Convert handle_scalar_simd_shri " Peter Maydell
2024-09-19 13:10 ` [PULL 24/38] target/arm: Convert handle_scalar_simd_shli " Peter Maydell
2024-09-19 13:10 ` [PULL 25/38] target/arm: Convert VQSHL, VQSHLU to gvec Peter Maydell
2024-09-19 13:10 ` [PULL 26/38] target/arm: Widen NeonGenNarrowEnvFn return to 64 bits Peter Maydell
2024-09-19 13:10 ` [PULL 27/38] target/arm: Convert SQSHL, UQSHL, SQSHLU (immediate) to decodetree Peter Maydell
2024-09-19 13:10 ` [PULL 28/38] target/arm: Convert vector [US]QSHRN, [US]QRSHRN, SQSHRUN " Peter Maydell
2024-09-19 13:10 ` [PULL 29/38] target/arm: Convert scalar " Peter Maydell
2024-09-19 13:10 ` [PULL 30/38] hw/char/stm32l4x5_usart.c: Enable USART ACK bit response Peter Maydell
2024-09-19 13:10 ` [PULL 31/38] tests: use default cpu for aarch64/sbsa-ref Peter Maydell
2024-09-19 13:11 ` [PULL 32/38] tests: add FreeBSD tests " Peter Maydell
2024-09-26 6:09 ` Thomas Huth [this message]
2024-09-19 13:11 ` [PULL 33/38] tests: expand timeout information " Peter Maydell
2024-09-19 13:11 ` [PULL 34/38] tests: drop OpenBSD tests " Peter Maydell
2024-09-19 13:11 ` [PULL 35/38] kvm: Make 'mmap_size' be 'int' in kvm_init_vcpu(), do_kvm_destroy_vcpu() Peter Maydell
2024-09-19 13:11 ` [PULL 36/38] kvm: Remove unreachable code in kvm_dirty_ring_reaper_thread() Peter Maydell
2024-09-19 13:11 ` [PULL 37/38] target/arm: Correct ID_AA64ISAR1_EL1 value for neoverse-v1 Peter Maydell
2024-09-19 13:11 ` [PULL 38/38] docs/devel: Remove nested-papr.txt Peter Maydell
2024-09-19 20:31 ` [PULL 00/38] target-arm queue Peter Maydell
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=e609161b-bb13-4600-bceb-c5fe884c39ea@redhat.com \
--to=thuth@redhat.com \
--cc=marcin.juszkiewicz@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).