action #55052

Updated by okurz 8 months ago

## 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

Back