aboutsummaryrefslogtreecommitdiff
path: root/tests/avocado
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-01-24 15:49:10 +1000
committerNicholas Piggin <npiggin@gmail.com>2024-02-23 23:16:34 +1000
commit458a6aa3b3346c33a9be9441f2f17f2937e88b72 (patch)
tree58e42fbf94aee39c1bd51439197bc97563cb1229 /tests/avocado
parente5f15001448a3cc2cf1b2181ea02cd7b4e03fc56 (diff)
tests/avocado: improve flaky ppc/pnv boot_linux_console.py test
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>
Diffstat (limited to 'tests/avocado')
-rw-r--r--tests/avocado/boot_linux_console.py3
1 files changed, 2 insertions, 1 deletions
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 @@ class BootLinuxConsole(LinuxKernelTest):
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):
"""