From: Michal Nowak Date: Tue, 11 Jul 2023 12:04:12 +0000 (+0200) Subject: Detect core dumps after BIND failed to stop cleanly X-Git-Tag: v9.19.16~46^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89c77daddb208b656e217d7f79d9f539ff1e8980;p=thirdparty%2Fbind9.git Detect core dumps after BIND failed to stop cleanly With the pytest runner, when BIND crashed during test runtime, the get_core_dumps.sh script hasn't been run, and core dumps were not detected. --- diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py index 9294198ba19..31ad1174e91 100644 --- a/bin/tests/system/conftest.py +++ b/bin/tests/system/conftest.py @@ -581,6 +581,7 @@ else: perl("stop.pl", [system_test_dir.name]) except subprocess.CalledProcessError as exc: mlogger.error("Failed to stop servers") + get_core_dumps() pytest.fail(f"stop.pl exited with {exc.returncode}") def get_core_dumps():