OK, try setting GDM to debug mode instead?
I tested this workaround on staging before pushing it to git and it worked, but then when I pushed it to prod it didn't work. On stg I also had this to set GDM to debugging mode, so maybe this is also needed for the workaround to work for some reason? Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b811d93c4c
commit
1c3106ebe3
@ -24,6 +24,9 @@ sub run {
|
|||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
# ensure we actually have some package updates available
|
# ensure we actually have some package updates available
|
||||||
prepare_test_packages;
|
prepare_test_packages;
|
||||||
|
# set GDM to debugging mode; seems to be needed as part of the
|
||||||
|
# #1821499 workaround
|
||||||
|
assert_script_run 'printf "[debug]\nEnable=true\n" > /etc/gdm/custom.conf';
|
||||||
if ($desktop eq 'gnome') {
|
if ($desktop eq 'gnome') {
|
||||||
# On GNOME, move the clock forward if needed, because it won't
|
# On GNOME, move the clock forward if needed, because it won't
|
||||||
# check for updates before 6am(!)
|
# check for updates before 6am(!)
|
||||||
@ -72,7 +75,6 @@ sub run {
|
|||||||
# hit GDM instead
|
# hit GDM instead
|
||||||
if (check_screen "graphical_login", 30) {
|
if (check_screen "graphical_login", 30) {
|
||||||
record_soft_failure "Hit GDM unexpectedly - #1821499";
|
record_soft_failure "Hit GDM unexpectedly - #1821499";
|
||||||
sleep 5;
|
|
||||||
send_key 'ret';
|
send_key 'ret';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user