Gather debug info on broken unit tests
kyua debug on broken unit tests, thus gathers various debug info as well as produces backtrace from a core.
kyua debug does not handle libtool binaries well and executes
gdb directly on the libtool script instead of the actual binary a way to trick
kyua debug is needed (
/usr/bin/gdb is moved to a backup location and a custom script finds the right binary and runs
gdb from the backup location on its own).
There are following outstanding issues:
CI hosts need
kernel.core_uses_pid=1set permanently otherwise
kyuawon't find it's cores (deliver via https://gitlab.isc.org/isc-private/devops/issues/51)
sid image does not have
gdb: https://gitlab.isc.org/isc-projects/bind9/-/jobs/452129 (Fix: image rebuild.)
Fedora 30 image does not have
sysctltool: https://gitlab.isc.org/isc-projects/bind9/-/jobs/452130 (Fix: images!12 (merged).)
- Add FreeBSD support: b9513898.
- ASAN sid image (ASAN suppressed coredump): Fix in 1af9eb3a.
- Add OpenBSD support: 986c47c1.