[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 10/13] tests/avocado: skip aarch64 cloud TCG tests in CI
From: |
Alex Bennée |
Subject: |
[PATCH v3 10/13] tests/avocado: skip aarch64 cloud TCG tests in CI |
Date: |
Thu, 17 Nov 2022 17:25:29 +0000 |
We now have a much lighter weight test in machine_aarch64_virt which
tests the full boot chain in less time. Rename the tests while we are
at it to make it clear it is a Fedora cloud image.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/avocado/boot_linux.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index 2be4be395d..79810be942 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -58,6 +58,9 @@ def test_pc_q35_kvm(self):
self.launch_and_wait(set_up_ssh_connection=False)
+# For Aarch64 we only boot KVM tests in CI as the TCG tests are very
+# heavyweight. There are lighter weight distros which we use in the
+# machine_aarch64_virt.py tests.
class BootLinuxAarch64(LinuxTest):
"""
:avocado: tags=arch:aarch64
@@ -73,7 +76,8 @@ def add_common_args(self):
self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0')
self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom')
- def test_virt_tcg_gicv2(self):
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
+ def test_fedora_cloud_tcg_gicv2(self):
"""
:avocado: tags=accel:tcg
:avocado: tags=cpu:max
@@ -86,7 +90,8 @@ def test_virt_tcg_gicv2(self):
self.add_common_args()
self.launch_and_wait(set_up_ssh_connection=False)
- def test_virt_tcg_gicv3(self):
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
+ def test_fedora_cloud_tcg_gicv3(self):
"""
:avocado: tags=accel:tcg
:avocado: tags=cpu:max
--
2.34.1
- Re: [PATCH v3 04/13] docs/devel: add a maintainers section to development process, (continued)
- [PATCH v3 09/13] tests/avocado: introduce alpine virt test for CI, Alex Bennée, 2022/11/17
- [PATCH v3 07/13] docs/devel: try and improve the language around patch review, Alex Bennée, 2022/11/17
- [PATCH v3 06/13] docs/devel: simplify the minimal checklist, Alex Bennée, 2022/11/17
- [PATCH v3 08/13] tests/avocado: Raise timeout for boot_linux.py:BootLinuxPPC64.test_pseries_tcg, Alex Bennée, 2022/11/17
- [PATCH v3 03/13] tests/docker: allow user to override check target, Alex Bennée, 2022/11/17
- [PATCH v3 13/13] ci: replace x86_64 macos-11 with aarch64 macos-12, Alex Bennée, 2022/11/17
- [PATCH v3 10/13] tests/avocado: skip aarch64 cloud TCG tests in CI,
Alex Bennée <=
- [PATCH v3 12/13] tests/avocado/boot_linux.py: Bump aarch64 virt test timeout to 720s, Alex Bennée, 2022/11/17
- [PATCH v3 11/13] gitlab: integrate coverage report, Alex Bennée, 2022/11/17