tests/functional/aarch64: Skip some sbsaref_alpile tests by default
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
@@ -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
Quoted 9 lines · Thomas Huth
From: Thomas Huth <[email protected]>
test_sbsaref_alpineis 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
Suggested-by Alex Bennée <[email protected]>Signed-off-by Thomas Huth <[email protected]>---
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@@ -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
Quoted 8 lines · Thomas Huth
From: Thomas Huth <[email protected]>
test_sbsaref_alpineis 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
Suggested-by Alex Bennée <[email protected]>Signed-off-by Thomas Huth <[email protected]>---
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.