1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Handle a persistent overlay warning on live boot (#2170544)

In today's F38 and Rawhide, changes to the persistent overlay
stuff result in a boot warning you have to spam through. Let's
handle this as a soft fail so we don't have floods of failed
tests till it's fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-16 09:10:30 -08:00
parent 94f92c8ae7
commit ca6ca2e490
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 204,
"ypos": 32,
"width": 168,
"height": 16,
"type": "match"
}
],
"properties": [],
"tags": [
"live_overview_warning"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -111,8 +111,12 @@ sub run {
}
}
else {
# on lives, we have to explicitly launch anaconda
if (get_var('LIVE')) {
if (check_screen "live_overlay_warning", 45) {
record_soft_failure "Got a persistent overlay warning - https://bugzilla.redhat.com/show_bug.cgi?id=2170544";
send_key "ret";
}
# on lives, we have to explicitly launch anaconda
my $count = 5;
while ($count > 0) {
$count -= 1;