[freeipa PR#4479][opened] Azure: gather coredumps
by stanislavlevin
URL: https://github.com/freeipa/freeipa/pull/4479
Author: stanislavlevin
Title: #4479: Azure: gather coredumps
Action: opened
PR body:
"""
Applications may crash. If a crash happens on a remote system during CI run it's sometimes very hard to understand the reason. The most important means to analyze such is a stack trace. It's also very important to check whether there was a core dump or not, even a test passed.
For Docker environment, the core dumps are collected by the host's `systemd-coredump`, which knows nothing about such containers (for now). To build an informative thread stack trace `debuginfo` packages should be installed. But they can't be installed on the host OS (ubuntu), That's why after all the tests completed an additional container should be up and the host's core dumps and host's journal should be passed into it.
Even if there weren't enough debuginfo packages at CI-runtime, the core dump could be analyzed locally later.
Fixes: https://pagure.io/freeipa/issue/8251
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4479/head:pr4479
git checkout pr4479
4 years