From 8c07149ec70577272cc321c5c3bf6530a133c964 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 29 Oct 2019 18:03:59 -0700 Subject: [PATCH] Workaround #1766451 in update tests Download the fixed jss to the advisory repo. Signed-off-by: Adam Williamson --- lib/utils.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index 7f7431a2..dddf3c5a 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -425,6 +425,9 @@ 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 #1766451; remove this once the updates are all + # stable + assert_script_run "koji download-build --arch=" . get_var("ARCH") . " --arch=noarch jss-4.6.2-2.fc" . get_var("VERSION"), 600; # create the repo metadata assert_script_run "createrepo ."; # write a repo config file, unless this is the support_server test