1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Upload dbus.log on anaconda failure

This log file was quite recently added to anaconda, let's upload
it with all the others.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-01-14 12:57:38 -08:00
parent a1bb5bd1f7
commit 9df8be32cb

View File

@ -47,6 +47,8 @@ sub post_fail_hook {
script_run "cat /tmp/dnf.librepo.log > /dev/${serialdev}";
script_run 'printf "\n** DNF.RPM.LOG **\n" > /dev/' . $serialdev;
script_run "cat /tmp/dnf.rpm.log > /dev/${serialdev}";
script_run 'printf "\n** DBUS.LOG **\n" > /dev/' . $serialdev;
script_run "cat /tmp/dbus.log > /dev/${serialdev}";
return;
}
@ -59,6 +61,7 @@ sub post_fail_hook {
upload_logs "/tmp/dnf.log", failok=>1;
upload_logs "/tmp/dnf.librepo.log", failok=>1;
upload_logs "/tmp/dnf.rpm.log", failok=>1;
upload_logs "/tmp/dbus.log", failok=>1;
if ($has_traceback) {
# Upload Anaconda traceback logs