Project

General

Profile

Actions

action #93817

closed

action #99588: [epic] Fixing SLE Base Image test runs

Create hdd failures investigation

Added by jlausuch about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2021-06-10
Due date:
% Done:

0%

Estimated time:

Description

Since the addition of a new group to create HDD of released SLE products, we have some problems installing some of them:

aarch64:
* 15-SP2-Online-QR-aarch64 -> installation fails at some point... -->HINT: try without <pattern>enhanced_base</pattern> in the autoyast profile
* aarch64 jobs fail to boot -> maybe we are missing a variable or something.

s390x:


Files

containers_x3690s_autoyast.xml (49.5 KB) containers_x3690s_autoyast.xml autoyast.xml for s390 by yast clone_system ybonatakis, 2021-06-18 18:42

Related issues 2 (0 open2 closed)

Related to Containers - action #98111: sle12 image base container tests hosted on sle15+ attempt to register incorrect product versionResolvedjlausuch2021-09-03

Actions
Has duplicate Containers - action #96022: Non-existing asset requested Rejected2021-07-26

Actions
Actions #1

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #2

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #3

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #4

Updated by jlausuch about 3 years ago

I found the fix for the 15-SP2 aarch64 installation and created https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12693

Actions #5

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #6

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #7

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #8

Updated by jlausuch about 3 years ago

  • Description updated (diff)

Fond the problem when aarch64 doesn't boot. I created the HDDs with grub timeout=-1, so the test stalls in aarch64 looking for grub window.
I have updated the autoyast profile with timeout=10 and it boots without problems... https://openqa.suse.de/tests/6231657#

Actions #9

Updated by jlausuch about 3 years ago

  • Description updated (diff)
Actions #10

Updated by ybonatakis about 3 years ago

  • Status changed from New to In Progress
  • Assignee set to ybonatakis
Actions #11

Updated by ybonatakis about 3 years ago

i didnt manage to make the jobs[0] run successfuly. So i ssh into the sut and i run clone command manually.
finally i have a template of autoyast.xml(15SP1) created by clone_system. containers_x3690s_autoyast.xml needs some adjustments obviously and then i will try with the create_hdd_autoyast_containers.

[0] https://openqa.suse.de/tests/6290638

Actions #12

Updated by jlausuch about 3 years ago

ybonatakis wrote:

i didnt manage to make the jobs[0] run successfuly. So i ssh into the sut and i run clone command manually.
finally i have a template of autoyast.xml(15SP1) created by clone_system. containers_x3690s_autoyast.xml needs some adjustments obviously and then i will try with the create_hdd_autoyast_containers.

[0] https://openqa.suse.de/tests/6290638

Cool. Let's see if we can inject that autoyast into the generic one... If it's impossible, then let's have a separate yaml for s390x.

Actions #14

Updated by ybonatakis about 3 years ago

i have a running job against s390x 15sp1 https://openqa.suse.de/tests/6302435#
But i havent modified the original autoyast file which i guess we would like to adjust a bit. Lets talk about that.

I am thinking to do the same for the rest. problem is that i want it to have that automated but it is not fully. But i have saved the steps and hopefully it will not a big issue

Actions #15

Updated by jlausuch about 3 years ago

ybonatakis wrote:

i have a running job against s390x 15sp1 https://openqa.suse.de/tests/6299223
But i havent modified the original autoyast file which i guess we would like to adjust a bit. Lets talk about that.

I am thinking to do the same for the rest. problem is that i want it to have that automated but it is not fully. But i have saved the steps and hopefully it will not a big issue

But that job is based on SLE Updates we use for maintenance, not on stable QR release... not sure I get it..

Actions #16

Updated by ybonatakis about 3 years ago

jlausuch wrote:

ybonatakis wrote:

i have a running job against s390x 15sp1 https://openqa.suse.de/tests/6299223
But i havent modified the original autoyast file which i guess we would like to adjust a bit. Lets talk about that.

I am thinking to do the same for the rest. problem is that i want it to have that automated but it is not fully. But i have saved the steps and hopefully it will not a big issue

But that job is based on SLE Updates we use for maintenance, not on stable QR release... not sure I get it..

sorry for confusion. link was wrong. i updated in the original post

Actions #18

Updated by jlausuch about 3 years ago

Thanks! I will take over from here.

Actions #19

Updated by ybonatakis about 3 years ago

  • Assignee changed from ybonatakis to jlausuch
Actions #20

Updated by asmorodskyi almost 3 years ago

  • Has duplicate action #96022: Non-existing asset requested added
Actions #21

Updated by jlausuch almost 3 years ago

  • Status changed from In Progress to Workable
  • Assignee deleted (jlausuch)

I dont expect to take this for at least 1 week due to other things.

Actions #22

Updated by ph03nix almost 3 years ago

  • Parent task set to #99588
Actions #23

Updated by jlausuch almost 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to jlausuch
Actions #24

Updated by jlausuch almost 3 years ago

First PR to unify all the autoyast profiles: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13367

Second PR with minor adjustments: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13378

And final modification of the job groups: https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/448

Basically, the hdd creation jobs now need:

  • AUTOYAST: "containers/autoyast_containers.xml.ep"
  • FLAVOR=Container-Host -> I created a unique flavor for this purpose, the mediums are created in OSD with SCC_REGCODE only.
  • Option INSTALL_RUNTIMES=1 to pre-install docker and podman packages into the image (to save time during test runtime)
  • The HDD published will have a single pattern: PUBLISH_HDD_1: "SLES-%VERSION%-%ARCH%-containers.qcow2"
Actions #25

Updated by jlausuch almost 3 years ago

  • Related to action #98111: sle12 image base container tests hosted on sle15+ attempt to register incorrect product version added
Actions #26

Updated by jlausuch almost 3 years ago

  • Status changed from In Progress to Feedback
Actions #27

Updated by jlausuch almost 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF