Project

General

Profile

Actions

action #25658

closed

[sle][functional][migration][opensuse][virtualization]Increase/disable timeout of initial grub menue to ensure tests do not miss it

Added by okurz about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Start date:
2017-09-29
Due date:
2017-10-25
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

There are many openQA tests in all different scenarios regardless of the worker or machine type which sometimes happen to skip over the grub menue and then fail in a fully booted desktop still looking for "grub2". Sometimes it shows up in the video for a glimpse, sometimes not.

Example: opensuse-5.10.90-Krypton-Live-x86_64-krypton-live-installation@64bit-2G fails in grub_test

Reproducible

All different kind of scenarios but not reproducible every time

Expected result

After the machine reboots the grub screen should be catched within the 8 second default timeout: https://openqa.opensuse.org/tests/494564#step/grub_test/1

Problem

It seems we can not ensure a reliable testing environment where the full screen content shows up in the early phases of boot. This is either a problem we always had but was not important enough to handle because of less test scenarios or there were changes in os-autoinst that introduced a regression.

Suggestion

In any case a fix to prevent this would be to configure the bootloader in the installer to use a much higher timeout, e.g. 60 seconds, or disable it fully.

  • take a look in tests/installation/disable_grub_graphics.pm how it enters the bootloader configuration menue from the installer and disables the grub graphics (time estimation: 0.1 - 0.5h)
  • use the same approach in a new test module with explicit name, e.g. 'change_grub_timeout.pm' to bump the timeout to 60 seconds (or a similar high value) or disable the grub timeout (time estimation: 0.5 - 2h)
  • make sure this test module is used in all relevant tests, e.g. all openSUSE+SLE installation tests, including the live cd (time estimation: 0.5 - 4h)
  • changes to "first_boot" or the wait_boot function should not be necessary because the bootloader menue should then still show up and is searched for within the normal timeout but by bumping the grub timeout itself we should ensure the bootloader menue to show up long enough so that it can be catched

Further details

Always latest result in this scenario: latest


Related issues 11 (0 open11 closed)

Related to openQA Tests (public) - action #26116: [sle][functional] test fails in disable_grub_timeout - test flow seems wrongResolvedokurz2017-10-172017-11-08

Actions
Related to openQA Tests (public) - action #26868: [sle][functional][hyperv]test fails in disable_grub_timeout, 'alt-t' was pressed when it should have been 'alt-r'ResolvedJERiveraMoya2017-10-192017-11-08

Actions
Related to openQA Tests (public) - action #26898: [sle][functional][opensuse]boot_to_snapshot: test fails in first_bootResolvedzluo2017-10-19

Actions
Related to openQA Tests (public) - action #26936: disable_grub_timeout test brokenResolvedokurz2017-10-222017-10-23

Actions
Related to openQA Tests (public) - action #26978: autoyast/gnome installation stuck on grubResolvedJERiveraMoya2017-10-242017-11-08

Actions
Blocks openQA Tests (public) - action #12894: [sles][functional][ppc64] boot_to_snapshot sporadic fails in grub_testResolvedokurz2016-07-27

Actions
Blocks openQA Tests (public) - action #17502: [sle][functional]test fails in grub_test on timeout waiting for inst-bootmenu Resolvedokurz2017-03-032017-11-08

Actions
Blocks openQA Tests (public) - action #18304: [sles][migration] test fails in grub_test_snapshot: Can't find desired snapshot in grub menuRejectedmitiao2017-04-03

Actions
Blocks openQA Tests (public) - action #25388: [sle][functional][sle15][aarch64]test fails in grub_testResolvedJERiveraMoya2017-09-182017-11-08

Actions
Blocks openQA Tests (public) - action #25376: [sle][functional][ppc64le][hard] test fails in grub_test - stuck in grub screen, expected encrypted password prompt (was: boots completely)ResolvedSLindoMansilla2017-09-182017-12-06

Actions
Blocks openQA Tests (public) - action #25664: [opensuse][qam]test fails to see grub menue in time in console_reboot even though it's visible but probably just a little bit too lateClosed2017-09-29

Actions
Actions

Also available in: Atom PDF