action #163943
opencoordination #163919: [epic] Create automation setup for testing Agama
Boot Agama Live ISO in all the architectures
0%
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.
Updated by JERiveraMoya 12 days ago
- Related to action #163949: Enable patch agama in interactive installation added
Updated by leli 4 days ago
We haven't got the flavor for Puppeteer in https://build.opensuse.org/project/show/systemsmanagement:Agama:Devel
Updated by leli 2 days ago ยท Edited
Download ISOs from https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/ :
leli@ariel:/var/lib/openqa/factory/iso/fixed> la | grep agama
-rw-r--r-- 1 geekotest nogroup 735707136 Jul 23 12:04 agama-installer-openSUSE.aarch64-9.0.0-openSUSE-Build9.14.iso
-rw-r--r-- 1 geekotest nogroup 590741504 Jul 24 15:46 agama-installer-openSUSE.ppc64le-9.0.0-openSUSE-Build9.17.iso
-rw-r--r-- 1 geekotest nogroup 494862336 Jul 24 15:47 agama-installer-openSUSE.s390x-9.0.0-openSUSE-Build9.17.iso
-rw-r--r-- 1 geekotest nogroup 719781888 Jul 24 15:46 agama-installer-openSUSE.x86_64-9.0.0-openSUSE-Build9.17.iso