mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-16 18:21:27 +00:00
anaconda.core dumps have PID suffix, so correct for that
Summary: Apparently it'll be something like anaconda.core.(PID). This should result in that getting compressed and uploaded only if it exists. Test Plan: Try and hit the Mystery Crasher and see if we get the damn core file this time. Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D688
This commit is contained in:
parent
659367c31b
commit
f5207d75f2
@ -44,7 +44,8 @@ sub post_fail_hook {
|
||||
upload_logs "/tmp/var_log.tar.gz";
|
||||
|
||||
# Upload anaconda core dump, if there is one
|
||||
upload_logs "/tmp/anaconda.core";
|
||||
script_run "ls /tmp/anaconda.core.* && tar czf /tmp/anaconda.core.tar.gz /tmp/anaconda.core.*";
|
||||
upload_logs "/tmp/anaconda.core.tar.gz";
|
||||
}
|
||||
else {
|
||||
save_screenshot;
|
||||
|
Loading…
Reference in New Issue
Block a user