ci: wnc-freedom: 015-platform.t: fix lspci Flags: flapping check

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 <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2025-09-09 09:08:04 +00:00
parent ab5fabf231
commit dc306ec71e
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -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)