From 3208d15725ee25c01143dd610b84388afcd505ce Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 20 Oct 2022 18:10:23 -0700 Subject: [PATCH] _advisory_update: stop the graphical desktop at the start We have a big problem with Rawhide KDE update tests getting OOM killed during this phase. Stopping the desktop before we install updates should save some RAM and help avoid this. Signed-off-by: Adam Williamson --- tests/_advisory_update.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/_advisory_update.pm b/tests/_advisory_update.pm index 8aa983f7..fa5218db 100644 --- a/tests/_advisory_update.pm +++ b/tests/_advisory_update.pm @@ -8,6 +8,11 @@ sub run { # do the 'repo setup' steps, which set up a repo containing the # update packages and run 'dnf update' $self->root_console(tty => 3); + # stop the graphical desktop; this should help with a problem + # we're having in Rawhide as of 2022-10 where KDE update tests + # are frequently getting OOM killed here: + # https://bugzilla.redhat.com/show_bug.cgi?id=2133829 + script_run "systemctl isolate multi-user.target"; repo_setup; if (get_var("ADVISORY_BOOT_TEST")) { # to test boot stuff - in case the update touched grub2, or dracut,