ci: catch coredumps
authorDavid Marchand <david.marchand@redhat.com>
Mon, 25 Jan 2021 15:05:39 +0000 (16:05 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 3 Mar 2021 09:05:23 +0000 (10:05 +0100)
commit3cd7290c1603db0606264c2f41f06204fde03402
treecd4299ce4a09095ccdd137713979b568ac954ab6
parent8d63961fc7137cab823f85a50ee82779792f21e4
ci: catch coredumps

Parts of the unit tests code rely on forked/secondary processes
(expectedly) failing.
A crash in those situations could be missed so add a check on coredumps
presence after unit tests have run.
When unit tests fail, it can also help checking for coredumps as it
could give more insights on what happened.

In some situations (like explicit call to rte_panic), coredump generation
must be disabled to avoid false positives.

Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Aaron Conole <aconole@redhat.com>
.ci/linux-build.sh
.github/workflows/build.yml
app/test/test_debug.c
app/test/test_mbuf.c