Project

General

Profile

Actions

action #163943

open

coordination #163919: [epic] Create automation setup for testing Agama

Boot Agama Live ISO in all the architectures

Added by JERiveraMoya 12 days ago. Updated 2 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2024-07-15
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Ensure that automation of Agama Live in O3 can boot in all architectures (aarch64, ppc64le, s390x, x86_64), no exception for exotic architectures like s390x, because it is easier to test in x86_64 for sure, but our approach for testing needs to cover all from the first moment, otherwise we need to rethink what we are doing.

Boot for Agama will require dropping/adaption of linuxrc and wicked options that now are not present in new products.

This is a PoC to adapt those for s390x that worked nicely:
https://github.com/jknphy/os-autoinst-distri-opensuse/commit/e9c51bb1ddd45066dfef660a5f6a201d10d58c69
Corresponding parmfile was workout on that moment to boot:

cio_ignore=all,!condev,!0.0.0150
rd.zdev=dasd,0.0.0150
rd.zdev=qeth,0.0.0A00:0.0.0A01:0.0.0A02,layer2=0,portno=0
ip=10.150.1.152::10.150.1.254:24:openqanet.opensuse.org:enca00:none
nameserver=10.150.1.11 hostname=o3zvm003
root=live:ftp://10.150.1.11/agama-pupetter.iso

This is the the command used to trigger the run with that configuration:

openqa-clone-custom-git-refspec https://github.com/jknphy/os-autoinst-distri-opensuse/tree/puppeteer https://openqa.opensuse.org/tests/4243618 _SKIP_POST_FAIL_HOOKS=1 ISO=agama-puppeteer.iso REPO_0=agama-live.s390x-8.0.0-openSUSE-Puppeteer-Build6.37 S390_NETWORK_PARAMS="rd.zdev=qeth,0.0.0A00:0.0.0A01:0.0.0A02,layer2=0,portno=0 ip=10.150.1.152::10.150.1.254:24:openqanet.opensuse.org:enca00:none nameserver=10.150.1.11 hostname=o3zvm003" EXTRABOOTPARAMS='cio_ignore=all,!condev,!0.0.0150 rd.zdev=dasd,0.0.0150' QEMURAM=2048

textmode in s390x should be our reference to work on.

Acceptance criteria

  • AC1: Agama Live ISO automation can boot for all architectures in O3.
  • AC2: Prioritize s390x over qemu (aarch64, ppc64le, x86_64) as it will not be enough to make it work in qemu.

Additional information

This ticket can be worked out without #163922, just grab the 4 isos and store them temporary in hdd/fixed in O3, and replace them manually with some frequency if needed during development.
s390x is quite special and might need some code reviews from other colleagues regarding bootloader, the other architectures are qemu and will be more straightforward.


Related issues 1 (1 open0 closed)

Related to qe-yam - action #163949: Enable patch agama in interactive installationWorkable2024-07-15

Actions
Actions

Also available in: Atom PDF