1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-01-17 14:13:23 +00:00

ostree_build: ensure python3-rpm is available for updvercheck

We've *usually* already installed it for bodhi or koji clients
(on the update and task paths), but on the COPR path, we have
not, and updvercheck crashes. If it's already there this will
do nothing and return 0 so it's OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-01-13 15:13:33 -08:00
parent af1a85e5ea
commit 256731a63a

View File

@ -103,6 +103,8 @@ sub run {
$cmd .= " --repo=/etc/yum.repos.d/openqa-testtag.repo" if ($tag || $copr);
$cmd .= " ./results";
assert_script_run $cmd, 9000;
# needed for updvercheck, usually here already but not on COPR path
assert_script_run 'dnf -y install python3-rpm', 180;
# do a package version check on the packages installed to the
# installer environment - see
# https://pagure.io/releng/failed-composes/issue/6538#comment-917347