[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/21] tests/acceptance: add replay kernel test for alpha
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 04/21] tests/acceptance: add replay kernel test for alpha |
Date: |
Mon, 27 Sep 2021 19:02:10 +0200 |
From: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
This patch adds record/replay test which boots Linux
kernel on alpha platform. The test uses kernel binaries
taken from boot_linux_console test.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id:
<162737553482.1735673.10021851966976933952.stgit@pasha-ThinkPad-X280>
---
tests/acceptance/replay_kernel.py | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/tests/acceptance/replay_kernel.py
b/tests/acceptance/replay_kernel.py
index 93251819927..c68a9537301 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -222,6 +222,23 @@ def test_s390x_s390_ccw_virtio(self):
console_pattern = 'Kernel command line: %s' % kernel_command_line
self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=9)
+ def test_alpha_clipper(self):
+ """
+ :avocado: tags=arch:alpha
+ :avocado: tags=machine:clipper
+ """
+ kernel_url = ('http://archive.debian.org/debian/dists/lenny/main/'
+ 'installer-alpha/20090123lenny10/images/cdrom/vmlinuz')
+ kernel_hash = '3a943149335529e2ed3e74d0d787b85fb5671ba3'
+ kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
+
+ uncompressed_kernel = archive.uncompress(kernel_path, self.workdir)
+
+ kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyS0'
+ console_pattern = 'Kernel command line: %s' % kernel_command_line
+ self.run_rr(uncompressed_kernel, kernel_command_line, console_pattern,
shift=9,
+ args=('-nodefaults', ))
+
def test_ppc64_pseries(self):
"""
:avocado: tags=arch:ppc64
--
2.31.1
- [PULL 00/21] Integration testing patches for 2021-09-27, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 01/21] tests/acceptance: add replay kernel test for s390x, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 02/21] tests/acceptance: add replay kernel test for openrisc, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 03/21] tests/acceptance: add replay kernel test for nios2, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 04/21] tests/acceptance: add replay kernel test for alpha,
Philippe Mathieu-Daudé <=
- [PULL 06/21] Acceptance tests: add myself as a reviewer for the acceptance tests, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 07/21] Acceptance Tests: add standard clean up at test tearDown(), Philippe Mathieu-Daudé, 2021/09/27
- [PULL 08/21] avocado_qemu: standardize super() call following PEP3135, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 05/21] tests/acceptance: Linux boot test for record/replay, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 09/21] avocado_qemu: fix import module based on isort, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 10/21] avocado_qemu: tweak ssh connect method, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 11/21] avocado_qemu: explicitly return None to avoid R1710, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 12/21] avocado_qemu: fix inheritance order on LinuxTest class, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 13/21] tests/Makefile: allow control over tags during check-acceptance, Philippe Mathieu-Daudé, 2021/09/27
- [PULL 14/21] docs/devel/testing: add instruction to run a single acceptance test, Philippe Mathieu-Daudé, 2021/09/27