mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-20 17:33:08 +00:00
Catch and upload coredumps in post-fail hook
We were doing this in a post-install test, but not on failures. We need it to figure out why Firefox is crashing on aarch64... Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
07527a8afa
commit
cdf33cc2ae
@ -49,6 +49,11 @@ sub post_fail_hook {
|
||||
upload_logs "/var/spool/abrt/spoolabrt.tar.gz";
|
||||
}
|
||||
|
||||
# upload any core dump files caught by coredumpctl
|
||||
unless (script_run "tar czvf /var/tmp/coredumps.tar.gz /var/lib/systemd/coredump/") {
|
||||
upload_logs "/var/tmp/coredumps.tar.gz";
|
||||
}
|
||||
|
||||
# Upload /var/log
|
||||
# lastlog can mess up tar sometimes and it's not much use
|
||||
unless (script_run "tar czvf /tmp/var_log.tar.gz --exclude='lastlog' /var/log") {
|
||||
|
Loading…
Reference in New Issue
Block a user