Project

General

Profile

Actions

action #169414

closed

coordination #169657: [epic] Handle test fixes and adjustments

Fix sporadic fails in disable_boot_menu_timeout

Added by rainerkoenig 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-11-06
Due date:
% Done:

0%

Estimated time:

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.
Actions

Also available in: Atom PDF