Skip to content

improve error reporting & resilience in unit tests

Bruce Richardson dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: add location info to interrupt error messagelib/eal/common/eal_common_interrupts.c+1 -10 replies
2/3test/eal_flags: add EAL debug flags to recursive callsapp/test/test_eal_flags.c+121 -1070 replies
3/3test/eal_flags: remove PCI probing for recursive callsapp/test/test_eal_flags.c+34 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] improve error reporting & resilience in unit tests

In the EAL flags unit tests sporadic errors were encountered which were proving both difficult to debug and to reproduce. This series aims to improve the situation by firstly adding more debug logs and output so we can better root cause any issues experienced. The final patch then removes pci probing from many test runs where its not needed, so as to avoid issues with unexpected drivers being loaded or probed due to the HW on the system running the tests.

V2: split second patch into two, to separate out logging and no-pci changes

Bruce Richardson (3):
eal: add location info to interrupt error message test/eal_flags: add EAL debug flags to recursive calls test/eal_flags: remove PCI probing for recursive calls

 app/test/test_eal_flags.c              | 229 +++++++++++++------------
 lib/eal/common/eal_common_interrupts.c |   2 +-
 2 files changed, 123 insertions(+), 108 deletions(-)

--
2.51.0