From 0d54e222f7ace75678db554a5d91c994c2618956 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 28 Nov 2018 17:42:58 -0800 Subject: [PATCH] Pull in the update that fixes the FreeIPA / authselect bug This bug is breaking all update FreeIPA tests; until the updates go stable, let's pull them in to update tests so the results are useful. Signed-off-by: Adam Williamson --- lib/utils.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 47e0d6cb..b065b412 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -466,6 +466,14 @@ 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 2018-11: an authselect change broke FreeIPA, grab the + # pending update that fixes that (F28 and F29) + if (get_var("VERSION") eq "29") { + assert_script_run "bodhi updates download --updateid FEDORA-2018-a7e4debd10", 600; + } + if (get_var("VERSION") eq "28") { + assert_script_run "bodhi updates download --updateid FEDORA-2018-892835660b", 600; + } # create the repo metadata assert_script_run "createrepo ."; # write a repo config file