[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/49] tests/avocado: improve flaky ppc/pnv boot_linux_console.py
From: |
Nicholas Piggin |
Subject: |
[PULL 04/49] tests/avocado: improve flaky ppc/pnv boot_linux_console.py test |
Date: |
Mon, 19 Feb 2024 18:28:53 +1000 |
The expected MTD partition detection output does not always appear on
the console, despite the test reaching the boot loader and the string
appearing in dmesg. Possibly due to an init script that quietens the
console output. Using an earlier log message improves reliability.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
tests/avocado/boot_linux_console.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index 3f0180e1f8..af104fff1c 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -1368,7 +1368,8 @@ def do_test_ppc64_powernv(self, proc):
self.wait_for_console_pattern("CPU: " + proc + " generation processor")
self.wait_for_console_pattern("zImage starting: loaded")
self.wait_for_console_pattern("Run /init as init process")
- self.wait_for_console_pattern("Creating 1 MTD partitions")
+ # Device detection output driven by udev probing is sometimes cut off
+ # from console output, suspect S14silence-console init script.
def test_ppc_powernv8(self):
"""
--
2.42.0
- [PULL 00/49] ppc-for-9.0 queue, Nicholas Piggin, 2024/02/19
- [PULL 01/49] target/ppc: Fix lxv/stxv MSR facility check, Nicholas Piggin, 2024/02/19
- [PULL 02/49] target/ppc: Fix crash on machine check caused by ifetch, Nicholas Piggin, 2024/02/19
- [PULL 03/49] tests/avocado: mark boot_linux.py long runtime instead of flaky, Nicholas Piggin, 2024/02/19
- [PULL 04/49] tests/avocado: improve flaky ppc/pnv boot_linux_console.py test,
Nicholas Piggin <=
- [PULL 05/49] tests/avocado: ppc add powernv10 boot_linux_console test, Nicholas Piggin, 2024/02/19
- [PULL 06/49] tests/avocado: Add ppc pseries and powernv hash MMU tests, Nicholas Piggin, 2024/02/19
- [PULL 07/49] tests/avocado: Add pseries KVM boot_linux test, Nicholas Piggin, 2024/02/19
- [PULL 08/49] tests/avocado: ppc add hypervisor tests, Nicholas Piggin, 2024/02/19
- [PULL 10/49] tests/avocado: Use default CPU for pseries machine, Nicholas Piggin, 2024/02/19
- [PULL 09/49] tests/avocado: Add FreeBSD distro boot tests for ppc, Nicholas Piggin, 2024/02/19
- [PULL 12/49] target/ppc: Rename registers to match ISA, Nicholas Piggin, 2024/02/19
- [PULL 14/49] hw/ppc/spapr_hcall: Allow elision of softmmu_resize_hpt_prep, Nicholas Piggin, 2024/02/19