qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default
@ 2025-10-06 11:50 Thomas Huth
  2025-10-06 12:07 ` Peter Maydell
  2025-10-06 13:15 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Huth @ 2025-10-06 11:50 UTC (permalink / raw)
  To: Peter Maydell, qemu-arm
  Cc: qemu-devel, Leif Lindholm, Radoslaw Biernacki, Alex Bennée

From: Thomas Huth <thuth@redhat.com>

test_sbsaref_alpine is one of the longest running tests in our testsuite,
because it does a full Linux boot a couple of times, for various different
CPU configurations. That's quite a lot of testing each time, for a rather
small additional test coverage, so mark some of the tests with the
@skipSlowTest() decorator.

Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 See: https://lore.kernel.org/qemu-devel/87eczriaej.fsf@draig.linaro.org
 
 tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/functional/aarch64/test_sbsaref_alpine.py b/tests/functional/aarch64/test_sbsaref_alpine.py
index abb8f5114bd..33e77cc7049 100755
--- a/tests/functional/aarch64/test_sbsaref_alpine.py
+++ b/tests/functional/aarch64/test_sbsaref_alpine.py
@@ -41,12 +41,14 @@ def boot_alpine_linux(self, cpu=None):
         self.vm.launch()
         wait_for_console_pattern(self, "Welcome to Alpine Linux 3.17")
 
+    @skipSlowTest()
     def test_sbsaref_alpine_linux_cortex_a57(self):
         self.boot_alpine_linux("cortex-a57")
 
     def test_sbsaref_alpine_linux_default_cpu(self):
         self.boot_alpine_linux()
 
+    @skipSlowTest()
     def test_sbsaref_alpine_linux_max_pauth_off(self):
         self.boot_alpine_linux("max,pauth=off")
 
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default
  2025-10-06 11:50 [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default Thomas Huth
@ 2025-10-06 12:07 ` Peter Maydell
  2025-10-06 13:15 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2025-10-06 12:07 UTC (permalink / raw)
  To: Thomas Huth
  Cc: qemu-arm, qemu-devel, Leif Lindholm, Radoslaw Biernacki,
	Alex Bennée

On Mon, 6 Oct 2025 at 12:50, Thomas Huth <thuth@redhat.com> wrote:
>
> From: Thomas Huth <thuth@redhat.com>
>
> test_sbsaref_alpine is one of the longest running tests in our testsuite,
> because it does a full Linux boot a couple of times, for various different
> CPU configurations. That's quite a lot of testing each time, for a rather
> small additional test coverage, so mark some of the tests with the
> @skipSlowTest() decorator.
>
> Suggested-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  See: https://lore.kernel.org/qemu-devel/87eczriaej.fsf@draig.linaro.org

That suggests dropping the subtests entirely, not merely
marking them as "slow". I think I agree with that.

>  tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tests/functional/aarch64/test_sbsaref_alpine.py b/tests/functional/aarch64/test_sbsaref_alpine.py
> index abb8f5114bd..33e77cc7049 100755
> --- a/tests/functional/aarch64/test_sbsaref_alpine.py
> +++ b/tests/functional/aarch64/test_sbsaref_alpine.py
> @@ -41,12 +41,14 @@ def boot_alpine_linux(self, cpu=None):
>          self.vm.launch()
>          wait_for_console_pattern(self, "Welcome to Alpine Linux 3.17")
>
> +    @skipSlowTest()
>      def test_sbsaref_alpine_linux_cortex_a57(self):
>          self.boot_alpine_linux("cortex-a57")
>
>      def test_sbsaref_alpine_linux_default_cpu(self):
>          self.boot_alpine_linux()
>
> +    @skipSlowTest()
>      def test_sbsaref_alpine_linux_max_pauth_off(self):
>          self.boot_alpine_linux("max,pauth=off")

This is odd, because the slow case is the default CPU
one, not the pauth=off one (which is faster because we
are disabling the slow pauth checks).

thanks
-- PMM


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default
  2025-10-06 11:50 [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default Thomas Huth
  2025-10-06 12:07 ` Peter Maydell
@ 2025-10-06 13:15 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-10-06 13:15 UTC (permalink / raw)
  To: Thomas Huth, Peter Maydell, qemu-arm
  Cc: qemu-devel, Leif Lindholm, Radoslaw Biernacki, Alex Bennée

On 6/10/25 13:50, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> test_sbsaref_alpine is one of the longest running tests in our testsuite,
> because it does a full Linux boot a couple of times, for various different
> CPU configurations. That's quite a lot of testing each time, for a rather
> small additional test coverage, so mark some of the tests with the
> @skipSlowTest() decorator.
> 
> Suggested-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   See: https://lore.kernel.org/qemu-devel/87eczriaej.fsf@draig.linaro.org
>   
>   tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
>   1 file changed, 2 insertions(+)

'alpile' typo in subject.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-06 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 11:50 [PATCH] tests/functional/aarch64: Skip some sbsaref_alpile tests by default Thomas Huth
2025-10-06 12:07 ` Peter Maydell
2025-10-06 13:15 ` Philippe Mathieu-Daudé

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).