From d7d3d40d833ebf6b0caa337ec18e3cdeec507659 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 15 Aug 2019 11:52:12 -0700 Subject: [PATCH] Work around lorax breakage in F29 A broken lorax got into F29 stable and is causing live image builds to fail in all F29 update tests. Work around that by downloading a newer fixed package in _repo_setup_updates. Signed-off-by: Adam Williamson --- lib/utils.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 9d25510e..8fc8e016 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -435,6 +435,12 @@ sub _repo_setup_updates { # installed, but was not assert_script_run 'rpm -qp *.rpm --qf "%{NAME} " > /var/log/updatepkgnames.txt'; upload_logs "/var/log/updatepkgnames.txt"; + # FIXME: workaround for broken lorax-29.29-1.fc29, remove when + # FEDORA-2019-8a3aa00d5e goes stable + my $relnum = get_release_number; + if ($relnum == 29) { + assert_script_run "bodhi updates download --updateid FEDORA-2019-8a3aa00d5e", 600; + } # create the repo metadata assert_script_run "createrepo ."; # write a repo config file, unless this is the support_server test