action #169414
opencoordination #169657: [epic] Handle test fixes and adjustments
Fix sporadic fails in disable_boot_menu_timeout
0%
Description
Motivation¶
openQA test in scenario sle-15-SP7-Online-x86_64-lvm+RAID1@64bit fails in
disable_boot_menu_timeout
Additional info¶
Comparing the yui-log.txt
beetween good and fail shows one intesting difference:
Good yui-log.txt¶
[2024-10-31T15:17:04.145055Z] [info] [pid:4907] disable_boot_menu_timeout test module started
270 [2024-10-31T15:17:04.145921Z] [debug] [pid:4907] Finding widget by url: http://localhost:39124/v1/widgets?id=proposal
271 [2024-10-31T15:17:05.149971Z] [debug] [pid:4907] Sending action to widget by url: http://localhost:39124/v1/widgets?action=select&id=proposal&value=bootloader_stuff
272 [2024-10-31T15:17:06.172149Z] [error] [pid:4907] Widget not found by url: http://localhost:39124/v1/widgets?action=select&id=proposal&value=bootloader_stuff
273 [2024-10-31T15:17:08.176762Z] [debug] [pid:4907] Finding widget by url: http://localhost:39124/v1/widgets
274 [2024-10-31T15:17:09.180816Z] [debug] [pid:4907] Finding widget by url: http://localhost:39124/v1/widgets?id=%22Bootloader%3A%3ALoaderTypeWidget%22
275 [2024-10-31T15:17:10.183594Z] [debug] [pid:4907] Finding widget by url: http://localhost:39124/v1/widgets?id=%22CWM%3A%3ADumbTabPager%22
276 [2024-10-31T15:17:11.186422Z] [debug] [pid:4907] Sending action to widget by url: http://localhost:39124/v1/widgets?action=select&id=%22CWM%3A%3ADumbTabPager%22&value=Boo%26tloader+Options
Bad yui-log.txt¶
[2024-11-05T13:03:38.398279Z] [info] [pid:40042] disable_boot_menu_timeout test module started
270 [2024-11-05T13:03:38.399043Z] [debug] [pid:40042] Finding widget by url: http://localhost:39105/v1/widgets?id=proposal
271 [2024-11-05T13:03:39.401598Z] [debug] [pid:40042] Sending action to widget by url: http://localhost:39105/v1/widgets?action=select&id=proposal&value=bootloader_stuff
272 [2024-11-05T13:03:40.408439Z] [debug] [pid:40042] Finding widget by url: http://localhost:39105/v1/widgets
273 [2024-11-05T13:03:41.411789Z] [debug] [pid:40042] Finding widget by url: http://localhost:39105/v1/widgets
274 [2024-11-05T13:03:42.415015Z] [debug] [pid:40042] Finding widget by url: http://localhost:39105/v1/widgets?id=%22CWM%3A%3ADumbTabPager%22
275 [2024-11-05T13:03:43.417584Z] [error] [pid:40042] Widget not found by url: http://localhost:39105/v1/widgets?id=%22CWM%3A%3ADumbTabPager%22
See the difference in line 273 and 274. In the failed log we don't see Finding widget by url: http://localhost:39124/v1/widgets?id=%22Bootloader%3A%3ALoaderTypeWidget%22
.
This log entry should be created when the YaST::Bootloader::BootCodeOptionsPage::is_shown()
method is executed, so if we don't see this messages something is definitely off track.
Acceptance critera¶
- AC1: Root cause identified and fixed.
Updated by JERiveraMoya 18 days ago
- Tags set to qe-yam-nov-sprint
- Project changed from openQA Tests to qe-yam
- Category deleted (
Bugs in existing tests) - Status changed from New to Workable
- Parent task set to #151816
Updated by JERiveraMoya 18 days ago
- Subject changed from Investigate sporadic fails in disable_boot_menu_timeout to Fix sporadic fails in disable_boot_menu_timeout
Updated by JERiveraMoya 11 days ago
the failure also appears here:
https://openqa.suse.de/tests/15928209#step/disable_boot_menu_timeout/1
As mentioned in the daily, let's try to narrow the scope of the fix in the automation instead of trying to boost resources as good practice.
The rate of failure should 0 in verification runs but when fixed properly you don't even need to calculate any rate of course.
Updated by leli 10 days ago
It seems there are still several failures in the VRs of this PR. I think just wait may couldn't fix this issue. The Tab " Bootloader Options " is shown very slow of never shown even wait 1800s. I guess it maybe a refresh issue, so could we try the workaround to make it stable, ex: send alt-h key to show the help dialog and close it to force the refreshment.