T551 adds uefi support to tests where it makes sence
ClosedPublic

Authored by pschindl on Sep 8 2015, 1:07 PM.

Details

Summary

Depends on D562
postinstall controll added and uefi boot needles, uefi tests added to template

Test Plan

I used ammended template to add uefi runs. Then I run few tests on uefi enabled worker. Livecds and netinst booted and installed fine with uefi. Postinstall works as expected too.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Branch
T551_Add_support_for_UEFI
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 189
Build 189: arc lint + arc unit
pschindl retitled this revision from to T551 adds uefi support to tests where it makes sence.
pschindl updated this object.
pschindl edited the test plan for this revision. (Show Details)
jskladan requested changes to this revision.Sep 8 2015, 2:13 PM

Moar docs pls, and check da inline comment.

tests/_boot_to_anaconda.pm
57

Pls try to hit ctrl+x in the UEFI's main menu. If that works to launch the boot process even without editing the kernel line, you could easily get rid of the && ... part of the if clause.

This revision now requires changes to proceed.Sep 8 2015, 2:13 PM
adamwill added inline comments.Sep 8 2015, 4:38 PM
tests/_boot_to_anaconda.pm
57

Also you could just unconditionally hit both every time. (And even add f10, too). Where's the harm? :)

pschindl updated this revision to Diff 1480.Sep 9 2015, 12:49 PM

As Adam suggested it now tries both ctrl+x and then return to boot

  • ctrl+x works only when it is in menu edit.

I create one needle for both Live and netinst uefi boots as Josef suggested.
It now looks for 'Test this media' text.
And I added UEFI to Test variables documentation with the note that it
is used in machine definition not in tests (usually).

jskladan accepted this revision.Sep 15 2015, 7:59 AM
This revision is now accepted and ready to land.Sep 15 2015, 7:59 AM
garretraziel accepted this revision.Sep 15 2015, 8:12 AM

Looks good to me.

needles/bootloader_uefi.json
7

Please, change this according to D577.