Project

General

Profile

Actions

action #163943

closed

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

Boot Agama Live ISO in all the architectures

Added by JERiveraMoya 5 months ago. Updated 4 months ago.

Status:
Resolved
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 (0 open1 closed)

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

Actions
Actions #1

Updated by JERiveraMoya 5 months ago

  • Related to action #163949: Enable patch agama in interactive installation added
Actions #2

Updated by JERiveraMoya 5 months ago

  • Priority changed from Normal to High
Actions #3

Updated by leli 5 months ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #4

Updated by leli 5 months ago

Actions #5

Updated by leli 5 months 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

Actions #6

Updated by leli 5 months ago

On build 9.32, installation finished and system reboot works well on x86_64 and aarch64 https://openqa.opensuse.org/tests/overview?distri=opensuse&version=16.0&build=9.32&groupid=127

On ppc64le, sometimes failed as incomplete for 'QEMU terminated before QMP connection could be established'(maybe worker issue), sometimes hang before select product to install.

On s390x, something wrong for dracut so enter maintenance.

Actions #7

Updated by leli 5 months ago

Filed a bug https://bugzilla.opensuse.org/show_bug.cgi?id=1228621 for the s390x maintenance issue to quicken the fix.

Actions #8

Updated by rainerkoenig 5 months ago

  • Tags changed from qe-yam-jul-sprint, qe-yam-aug-sprint to qe-yam-aug-sprint
Actions #9

Updated by leli 5 months ago

The test on ppc64le failed as incomplete after build 9.32, https://openqa.opensuse.org/tests/4372072

Actions #10

Updated by leli 5 months ago

Filed a bug for ppc64le imcomplete issue: https://bugzilla.suse.com/show_bug.cgi?id=1228790

Actions #11

Updated by leli 4 months ago

For boot of agama:
On x86_64 and aarch64, the boot is ok.
On s390x, the dracut report isse and enter maintenance mode, I filed a bug for it: https://bugzilla.opensuse.org/show_bug.cgi?id=1228621
On ppc64le, the auto installation already finished from log but the screen stay at the beginning before selection of product. See https://suse.slack.com/archives/C02TLF25571/p1722847736998329

Actions #12

Updated by leli 4 months ago

On latest build we have two issues,

  1. sometimes stop at product selection page and won't continue for default auto installation. See https://suse.slack.com/archives/C02TLF25571/p1723608129948599 for detail
    Now there is no workaround method on test side, wait dev to fix the issue.

  2. shouldn't trust signing key during auto installation: see https://suse.slack.com/archives/C02TLF25571/p1723608621939659 for detail.

Now we can workaround it by trust the signing key through needle.

Actions #13

Updated by leli 4 months ago

Actions #14

Updated by leli 4 months ago

Actions #15

Updated by leli 4 months ago

Actions #16

Updated by leli 4 months ago

Run test on developer's build and it seems the issue is gone. https://bugzilla.opensuse.org/show_bug.cgi?id=1228621#c18

Actions #17

Updated by leli 4 months ago

Ask the connect console issue on s390x z/VM, https://suse.slack.com/archives/C02CANHLANP/p1724143129307809

Actions #19

Updated by leli 4 months ago

Filed a bug for UI hang issue on ppc64le, https://bugzilla.opensuse.org/show_bug.cgi?id=1229594

Actions #21

Updated by JERiveraMoya 4 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF