From 2c1a0e8128363994e50ce09d0a936576658fbf0e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 16 Dec 2022 23:22:20 -0800 Subject: [PATCH] desktop_update_graphical: disable koji-rawhide on update tests ...or else we get stuff like https://openqa.fedoraproject.org/tests/1649309#step/desktop_update_graphical/40 Signed-off-by: Adam Williamson --- tests/desktop_update_graphical.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index df05fde2..ed347080 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -11,6 +11,12 @@ sub run { # use a tty console for repo config and package prep $self->root_console(tty => 3); assert_script_run 'dnf config-manager --set-disabled updates-testing'; + # for update tests, disable koji-rawhide at this point, otherwise + # gnome-software will complain about things being unsigned even + # though the repo has gpgcheck=0 + if (get_var("ADVISORY_OR_TASK") && get_var("VERSION") eq get_var("RAWREL")) { + assert_script_run 'dnf config-manager --set-disabled koji-rawhide'; + } prepare_test_packages; # get back to the desktop desktop_vt;