[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 06/35] tests/avocado/boot_linux_console: Remove the s390x subt
|
From: |
Thomas Huth |
|
Subject: |
[PATCH v4 06/35] tests/avocado/boot_linux_console: Remove the s390x subtest |
|
Date: |
Wed, 21 Aug 2024 10:27:07 +0200 |
We've got a much more sophisticated, Fedora-based test for s390x
("test_s390x_fedora" in another file) already, so the test in
boot_linux_console.py seems to be rather a waste of precious test
cycles. Thus move the command line check and delete the s390x
test in boot_linux_console.py.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/boot_linux_console.py | 20 --------------------
tests/avocado/machine_s390_ccw_virtio.py | 2 ++
2 files changed, 2 insertions(+), 20 deletions(-)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index cffdd6b5a2..18c69d6acc 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -1304,26 +1304,6 @@ def test_aarch64_raspi3_atf(self):
self.vm.launch()
self.wait_for_console_pattern('version UEFI Firmware v1.15')
- def test_s390x_s390_ccw_virtio(self):
- """
- :avocado: tags=arch:s390x
- :avocado: tags=machine:s390-ccw-virtio
- """
- kernel_url = ('https://archives.fedoraproject.org/pub/archive'
-
'/fedora-secondary/releases/29/Everything/s390x/os/images'
- '/kernel.img')
- kernel_hash = 'e8e8439103ef8053418ef062644ffd46a7919313'
- kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
-
- self.vm.set_console()
- kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=sclp0'
- self.vm.add_args('-nodefaults',
- '-kernel', kernel_path,
- '-append', kernel_command_line)
- self.vm.launch()
- console_pattern = 'Kernel command line: %s' % kernel_command_line
- self.wait_for_console_pattern(console_pattern)
-
def test_alpha_clipper(self):
"""
:avocado: tags=arch:alpha
diff --git a/tests/avocado/machine_s390_ccw_virtio.py
b/tests/avocado/machine_s390_ccw_virtio.py
index 26e938c9e9..7a214110fc 100644
--- a/tests/avocado/machine_s390_ccw_virtio.py
+++ b/tests/avocado/machine_s390_ccw_virtio.py
@@ -200,6 +200,8 @@ def test_s390x_fedora(self):
'-device', 'virtio-rng-ccw,devno=fe.1.9876',
'-device', 'virtio-gpu-ccw,devno=fe.2.5432')
self.vm.launch()
+ self.wait_for_console_pattern('Kernel command line: %s'
+ % kernel_command_line)
self.wait_for_console_pattern('Entering emergency mode')
# Some tests to see whether the CLI options have been considered:
--
2.46.0
- [PATCH v4 00/35] Convert avocado tests to normal Python unittests, Thomas Huth, 2024/08/21
- [PATCH v4 01/35] tests/avocado: machine aarch64: standardize location and RO access, Thomas Huth, 2024/08/21
- [PATCH v4 02/35] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Thomas Huth, 2024/08/21
- [PATCH v4 03/35] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image, Thomas Huth, 2024/08/21
- [PATCH v4 04/35] Bump avocado to 103.0, Thomas Huth, 2024/08/21
- [PATCH v4 06/35] tests/avocado/boot_linux_console: Remove the s390x subtest,
Thomas Huth <=
- [PATCH v4 05/35] tests/avocado/avocado_qemu: Fix the "from" statements in linuxtest.py, Thomas Huth, 2024/08/21
- [PATCH v4 07/35] python: Install pycotap in our venv if necessary, Thomas Huth, 2024/08/21
- [PATCH v4 08/35] tests/functional: Add base classes for the upcoming pytest-based tests, Thomas Huth, 2024/08/21
- [PATCH v4 09/35] tests/functional: Set up logging, Thomas Huth, 2024/08/21
- [PATCH v4 10/35] tests/Makefile.include: Increase the level of indentation in the help text, Thomas Huth, 2024/08/21