1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-23 22:43:07 +00:00

Tweak dnf log uploads in upgrade_run for dnf5-only systems

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-14 16:47:01 -04:00
parent cda78a4020
commit 234f103c44

View File

@ -21,8 +21,9 @@ sub run {
assert_script_run "dnf ${params} system-upgrade download", 6000;
}
upload_logs "/var/log/dnf.log";
upload_logs "/var/log/dnf.rpm.log";
upload_logs "/var/log/dnf.log", failok => 1;
upload_logs "/var/log/dnf5.log", failok => 1;
upload_logs "/var/log/dnf.rpm.log", failok => 1;
script_run "dnf system-upgrade reboot", 0;
# fail immediately if we see a DNF error message, but keep an eye