mbox series

[0/3] Move parselog ignores from code to data

Message ID 20231204182419.2455488-1-ross.burton@arm.com
Headers show
Series Move parselog ignores from code to data | expand

Message

Ross Burton Dec. 4, 2023, 6:24 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

Hi,

This series changes the parselogs runtime QA test so that the list of warnings
to ignore is not embedded in a huge dictionary but instead read at test time
from text files in the layers. The generic ignores remain in oe-core, but
ignores that are specific to e.g. genericx86-64 can be moved to meta-yocto-bsp.

This ultimately allows BSPs that are not in in oe-core/meta-yocto-bsp to use
parselogs without having to add their ignore lists into core.

The final patch in this series is for meta-poky, but as they need to be applied
in unison I thought it best to post them together. There will also need to be a
follow-up patch for meta-intel, which I have queued locally.

Ross

Ross Burton (3):
  oeqa/runtime/parselogs: load ignores from disk
  oeqa/runtime/parselogs: migrate ignores
  meta-yocto-bsp/oeqa/parselogs: add BSP-specific ignores

 .../parselogs-ignores-beaglebone-yocto.txt    |   4 +
 .../cases/parselogs-ignores-genericx86-64.txt |   7 +
 .../cases/parselogs-ignores-common.txt        |  59 +++++
 .../cases/parselogs-ignores-mipsarch.txt      |   2 +
 .../cases/parselogs-ignores-qemuall.txt       |  27 +++
 .../cases/parselogs-ignores-qemuarm64.txt     |   6 +
 .../cases/parselogs-ignores-qemuarmv5.txt     |  15 ++
 .../cases/parselogs-ignores-qemuppc.txt       |   6 +
 .../cases/parselogs-ignores-qemuppc64.txt     |   4 +
 .../cases/parselogs-ignores-qemux86.txt       |   2 +
 .../runtime/cases/parselogs-ignores-x86.txt   |  10 +
 .../cases/parselogs-ignores-x86_64.txt        |   1 +
 meta/lib/oeqa/runtime/cases/parselogs.py      | 214 +++---------------
 13 files changed, 175 insertions(+), 182 deletions(-)
 create mode 100644 meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-beaglebone-yocto.txt
 create mode 100644 meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericx86-64.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-mipsarch.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuall.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarm64.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarmv5.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc64.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-qemux86.txt
 create mode 100644 meta/lib/oeqa/runtime/cases/parselogs-ignores-x86.txt
 create mode 120000 meta/lib/oeqa/runtime/cases/parselogs-ignores-x86_64.txt