Skip to contentSkip to conversation

tests/functional/aarch64: Skip some sbsaref_alpile tests by default

PATCH In review Thomas Huth 3 participants 3 messages Oct 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/functional/aarch64: Skip some sbsaref_alpile tests by default

From: Thomas Huth <[email protected]>

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.

---
See: https://lore.kernel.org/qemu-devel/[email protected]

 tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
 1 file changed, 2 insertions(+)
tests/functional/aarch64/test_sbsaref_alpine.py +2 -0
index abb8f5114bd..33e77cc7049 100755
@@ -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")
 
Signature · 1 line
2.51.0
#1 lore raw
Quoted 9 lines · Thomas Huth

From: Thomas Huth <[email protected]>

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.

Quoted 4 lines

---
See: https://lore.kernel.org/qemu-devel/[email protected]

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

Quoted 11 lines
 tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
 1 file changed, 2 insertions(+)
tests/functional/aarch64/test_sbsaref_alpine.py +0 -0
index abb8f5114bd..33e77cc7049 100755
@@ -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")
 

tests/functional/aarch64/test_sbsaref_alpine.py def boot_alpine_linux(self, cpu=None): · line 53

Quoted 10 lines
tests/functional/aarch64/test_sbsaref_alpine.py +2 -0
+    @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

#2 lore raw
In reply to Thomas Huth
Quoted 8 lines · Thomas Huth

From: Thomas Huth <[email protected]>

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.

Quoted 7 lines

---
See: https://lore.kernel.org/qemu-devel/[email protected]

  tests/functional/aarch64/test_sbsaref_alpine.py | 2 ++
  1 file changed, 2 insertions(+)

'alpile' typo in subject.