From b71c5a961354ea46fa3cd4d177d28a366fd2c31f Mon Sep 17 00:00:00 2001 From: Aniket Sahu Date: Mon, 21 Sep 2026 13:40:10 +0530 Subject: [PATCH] tests/functional/ppc64: extend ppc64 powernv net device tests Added console checks as the probe log lines will appear before the S14Silence-console init scripts. Signed-off-by: Aniket Sahu Reviewed-by: Thomas Huth Reviewed-by: Amit Machhiwal Reviewed-by: Aditya Gupta Link: https://lore.kernel.org/qemu-devel/20260921081010.31778-3-asahu1x@linux.ibm.com Signed-off-by: Harsh Prateek Bora --- tests/functional/ppc64/test_powernv.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/functional/ppc64/test_powernv.py b/tests/functional/ppc64/test_powernv.py index f3e05e4d38..200fd2c894 100755 --- a/tests/functional/ppc64/test_powernv.py +++ b/tests/functional/ppc64/test_powernv.py @@ -201,9 +201,12 @@ class PowernvMachine(LinuxKernelTest): self.wait_for_console_pattern("CPU: " + proc + " generation processor") self.wait_for_console_pattern("INIT: Starting kernel at ") + # NVMe, e1000e, and xHCI are probed synchronously by the kernel + # during PCI enumeration, after OPAL hands off to Linux. + self.wait_for_console_pattern("nvme nvme0") + self.wait_for_console_pattern("e1000e") + self.wait_for_console_pattern("xhci_hcd") self.wait_for_console_pattern("Run /sbin/init as init process") - # Device detection output driven by udev probing is sometimes cut off - # from console output, suspect S14silence-console init script. def test_ppc64_powernv_external_dtb(self): self.set_machine('powernv11')