Project

General

Profile

Actions

action #55052

closed

Support for ovmf => 2019 or "current Tumbleweed can not execute UEFI tests anymore"

Added by okurz almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2019-08-02
Due date:
% Done:

0%

Estimated time:

Description

Observation

ybonatakis reported a problem that he fails to successfully run a cloned UEFI Tumbleweed test onto their openSUSE Tumbleweed 20190704 . The package qemu-ovmf-x86_64 is installed but apparently in newer versions it does not ship the file /usr/share/qemu/ovmf-x86_64-ms.bin anymore which the openQA tests reference in the variable "BIOS".

Problem

os-autoinst still adds the BIOS and UEFI_PFLASH variables referencing the shared code+vars file but also complains that the deprecated BIOS and UEFI_PFLASH variables are used.

Workaround

The following adjustements to vars.json are necessary:

# diff -Naur vars.json.orig vars.json
--- vars.json.orig      2019-08-02 14:41:15.404504951 +0200
+++ vars.json   2019-08-02 14:56:50.819597082 +0200
@@ -2,7 +2,7 @@
    "ARCH" : "x86_64",
    "ASSETDIR" : "/var/lib/openqa/share/factory",
    "BACKEND" : "qemu",
-   "BIOS" : "/usr/share/qemu/ovmf-x86_64-ms.bin",
+   "BIOS" : "/usr/share/qemu/ovmf-x86_64-ms-code.bin",
    "BUILD" : "20190801",
    "CASEDIR" : "/var/lib/openqa/share/tests/opensuse",
    "CDMODEL" : "scsi-cd",
@@@ -56,9 +56,12 @@
    "SUSEMIRROR" : "openqa.opensuse.org/assets/repo/openSUSE-Tumbleweed-oss-i586-x86_64-Snapshot20190801",
    "SYSTEM_ROLE_STYLE" : "1",
    "TEST" : "uefi",
    "UEFI" : 1,
-   "UEFI_PFLASH" : 1,
+   "UEFI_BIOS" : "/usr/share/qemu/ovmf-x86_64-ms-code.bin",
+   "UEFI_PFLASH" : null,
+   "UEFI_PFLASH_CODE" : "/usr/share/qemu/ovmf-x86_64-ms-code.bin",
+   "UEFI_PFLASH_VARS" : "/usr/share/qemu/ovmf-x86_64-ms-vars.bin",
    "VERSION" : "Tumbleweed",
    "VIRTIO_CONSOLE" : 1,
    "VNC" : "102",

simply cloning the job with the additional override settings BIOS=/usr/share/qemu/ovmf-x86_64-ms-code.bin UEFI_PFLASH_CODE=/usr/share/qemu/ovmf-x86_64-ms-code.bin UEFI_PFLASH_VARS=/usr/share/qemu/ovmf-x86_64-ms-vars.bin should work


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #49010: [opensuse][functional][y] Add test suite for NET install + expert partitioner on TumbleweedResolvedriafarov2019-03-112019-08-13

Actions
Actions

Also available in: Atom PDF