From dc306ec71ebc01818f1025817def91f74f1d3642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 9 Sep 2025 09:08:04 +0000 Subject: [PATCH] ci: wnc-freedom: 015-platform.t: fix lspci Flags: flapping check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is a race condition somewhere in the system causing randomly different lspci output in various test runs, like for example: --- .gitlab/tests/cram/wnc-freedom/015-platform.t +++ .gitlab/tests/cram/wnc-freedom/015-platform.t.err @@ -8,7 +8,7 @@ 0000:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308 lspci: Unable to load libkmod resources: error -2 \tSubsystem: Qualcomm Technologies, Inc Device 5201 (esc) - \tFlags: fast devsel, IRQ 35 (esc) + \tFlags: bus master, fast devsel, latency 0, IRQ 35 (esc) \tMemory at 28300000 (64-bit, non-prefetchable) [size=4K] (esc) \tMemory at 28301000 (64-bit, non-prefetchable) [size=4K] (esc) Purpose of this test is to assure, that the modem is available on the PCI bus and this Flag: check is not necessary for this purpose, simply fix it by removing the check. Fixes: PCF-2050 Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/10930563907#L247 Signed-off-by: Petr Štetiar --- .gitlab/tests/cram/wnc-freedom/015-platform.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab/tests/cram/wnc-freedom/015-platform.t b/.gitlab/tests/cram/wnc-freedom/015-platform.t index 10ef59ab1e..94c85465ad 100644 --- a/.gitlab/tests/cram/wnc-freedom/015-platform.t +++ b/.gitlab/tests/cram/wnc-freedom/015-platform.t @@ -4,11 +4,10 @@ Create R alias: Check that Quectel RM520N-GL is available on PCI bus and uses correct mhi-pci-generic kernel driver: - $ R lspci -v -d 17cb:0308 + $ R "lspci -v -d 17cb:0308" | grep -v Flags: 0000:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308 lspci: Unable to load libkmod resources: error -2 \tSubsystem: Qualcomm Technologies, Inc Device 5201 (esc) - \tFlags: bus master, fast devsel, latency 0, IRQ 34 (esc) \tMemory at 28300000 (64-bit, non-prefetchable) [size=4K] (esc) \tMemory at 28301000 (64-bit, non-prefetchable) [size=4K] (esc) \tCapabilities: [40] Power Management version 3 (esc)