mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
_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 <awilliam@redhat.com>
This commit is contained in:
parent
5ea921b17b
commit
3208d15725
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user