Project

General

Profile

Actions

action #135413

closed

Replace LIVECD and LIVETEST with UEFI for all agama tests.

Added by JRivrain about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-09-08
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently, all tests on x86_64 are using the variables LIVECD, LIVETEST, LIVECD_LOADER and not UEFI, however those livecds are made for uefi.
These variables are problematic, should not be used, and don't serve any purpose.
They cause some issues and inconstistencies, for example:

  • for x86_64 the installation medium is not ejected after install, unlike for other arches - and need to scroll down to get to "boot from hdd".
  • some other variables like BOOTFROM do not work as expected.

example of vrs showing we don't need these variables: https://openqa.opensuse.org/tests/overview?version=agama-3.0-staging&distri=alp&build=JRivrain%2Fos-autoinst-distri-opensuse%23master

Acceptance criteria

AC1: Remove LIVECD* variables and use MACHINE=uefi in Agama job groups.

Actions #1

Updated by JRivrain about 1 year ago

  • Description updated (diff)
Actions #2

Updated by JRivrain about 1 year ago

  • Description updated (diff)
Actions #3

Updated by JRivrain about 1 year ago

  • Description updated (diff)
Actions #4

Updated by JRivrain about 1 year ago

  • Description updated (diff)
Actions #5

Updated by JRivrain about 1 year ago

  • Description updated (diff)
Actions #6

Updated by leli about 1 year ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Priority changed from Normal to High
  • Target version set to Current
Actions #7

Updated by rfan1 about 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to rfan1
Actions #8

Updated by rfan1 about 1 year ago

https://openqa.opensuse.org/admin/job_templates/96?

 .livecd_settings: &livecd_settings
   DESKTOP: gnome
   HDDSIZEGB: '40'
-  LIVECD: '1'
-  LIVECD_LOADER: grub2
-  LIVETEST: '1'
   QEMUCPUS: '2'
   QEMURAM: '6144'

 defaults:
   x86_64:
-    machine: 64bit-2G
+    machine: uefi
     priority: 50
   s390x:
     machine: s390x-kvm-sle15
Actions #9

Updated by rfan1 about 1 year ago

https://openqa.opensuse.org/admin/job_templates/116?

 .livecd_settings: &livecd_settings
   DESKTOP: gnome
   HDDSIZEGB: '40'
-  LIVECD: '1'
-  LIVECD_LOADER: grub2
-  LIVETEST: '1'
   QEMUCPUS: '2'  
   QEMURAM: '6144'

 defaults:
   x86_64:
-    machine: 64bit-2G
+    machine: uefi
     priority: 50
   s390x:
     machine: s390x-kvm-sle15
Actions #10

Updated by rfan1 about 1 year ago

Sanity tests with the changes:VR

Actions #11

Updated by JRivrain about 1 year ago

Warning, I just noticed that UEFI=1 alone allows to use the UEFI menu which is in use in the live cd, but you are still on a legacy (bios boot) machine: MACHINE is 64bit-2G, not uefi. So we may want to clarify that.

Actions #12

Updated by rfan1 about 1 year ago

JRivrain wrote in #note-11:

Warning, I just noticed that UEFI=1 alone allows to use the UEFI menu which is in use in the live cd, but you are still on a legacy (bios boot) machine: MACHINE is 64bit-2G, not uefi. So we may want to clarify that.

Thanks much @JRivrain!
I can see some UEFI settings on both x86_64 and aarch64. I just deleted the settings since it has been defined in machine type uefi[x86_64] and aarch64 [aarch64]

Actions #13

Updated by rfan1 about 1 year ago

  • Status changed from In Progress to Feedback

The latest openQA results seems fine, no new issues found so far:

Agama Devel
Agama Staging

Actions #14

Updated by rfan1 about 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF