From 6f1d9565d747f766898998ed800d617e81b4988d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 9 Oct 2018 16:40:31 -0700 Subject: [PATCH] Add a temp hotfix for #1636633 for F29 update tests Signed-off-by: Adam Williamson --- lib/utils.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index e26eab9c..d1d35851 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -442,6 +442,11 @@ sub _repo_setup_updates { # source packages and epochs assert_script_run 'rpm -qp *.rpm --qf "%{SOURCERPM} %{EPOCH} %{NAME}-%{VERSION}-%{RELEASE}\n" | sort -u > /var/log/updatepkgs.txt'; upload_logs "/var/log/updatepkgs.txt"; + # HOTFIX for f29 2018-10: a rogue krb5 update went stable and broke + # the FreeIPA tests, grab the pending update that fixes that + if (get_var("VERSION") eq "29") { + assert_script_run "bodhi updates download --updateid FEDORA-2018-b1048ce2df", 600; + } # create the repo metadata assert_script_run "createrepo ."; # write a repo config file