Project

General

Custom queries

Profile

Actions

action #175950

closed

[Containers] Establish SLES16 test runs

Added by ph03nix 3 months ago. Updated 3 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2025-01-22
Due date:
% Done:

100%

Estimated time:

Description

We need to establish test runs for the Container host and Container images on SLES16.

This means create job groups on OSD similar to latest SLES 15 test runs (Container Host and Container Image)

SLES16 is different than SLES15, so we need to first figure out what the differences are. e.g. SELinux is used instead of AppArmor by default or Agama.

Acceptance criteria

  • AC1 We have Container host and Container image test runs for SLES16 on OSD
  • AC2 New test runs are being scheduled for new build
  • AC3 Perform a squad-internal workshop where the novelties of SLES16 will be presented
Actions #1

Updated by mdati 3 months ago

  • Assignee set to mdati
Actions #2

Updated by mdati 3 months ago

  • Status changed from Workable to In Progress
Actions #3

Updated by ph03nix 2 months ago

  • Tags set to containers
Actions #4

Updated by ph03nix about 2 months ago

  • Description updated (diff)
Actions #5

Updated by ph03nix about 2 months ago

  • Description updated (diff)
Actions #6

Updated by mdati about 2 months ago · Edited

PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21285 Merged,
introducing the new schedule yaml schedule/containers/create_hdd_agama.yaml, using AGAMA ISOs to generate SLE-16 images for containers and publish as HDD.

This new yaml can be references in the YAML_SCHEDULE parameter in group Container Host settings, for create_hdd_* tests

Actions #7

Updated by mdati about 1 month ago · Edited

Last days the sle16 image generation from iso had some issues, like a repomd.xml file not signed in a local repo and also an installation repo type 'dir' remained, causing zypper refresh issues.

MR https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2083 merged 4/3/25, adding to OSD the job group 630, temporary without create_hdd, because sles16 iso were not unattended then boot not automated yet: the SLE 16 / Container Host - https://openqa.suse.de/group_overview/630 was created.
An HDD_1 was generated manually, for use in other container tests that revealed some missing application, like firewalld and setfacl.
Other yaml MR was merged, to fix some parameters: 2096, 2097, 2098.

Then today 5/3 the last ISO available resulted ready for unattended boot, then create_hdd test was restored in grp.630, with MR https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2099

Actions #8

Updated by ph03nix about 1 month ago · Edited

For now, let's not work on ppc64le but focus on all other architectures.

I will raise the topic that "ppc64le jobs do not work in the current configuration" on Wednesday.

Actions #9

Updated by mdati about 1 month ago · Edited

To better clarify note-8:
the SLE16 tests in group 630 have been prepared and are present for all 4 cpu types: x86_64, aarch64, s390x, ppc64le.

Updated the schedule/containers/create_hdd_agama.yaml in PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21352, to introduce the agama boot modules for the create_hdd_host test.

But that test, creating the HDD_1 images from iso, for container tests, using agama, a.t.m. work fine for x86_64, aarch64, s390x, but and not yet for ppc64le (power9), whose configuration appeared more problematic.

So, we're working on hdd-ready container tests, to make all pass.
A bug affecting tests, bsc: https://bugzilla.suse.com/show_bug.cgi?id=1239088

Actions #10

Updated by mdati about 1 month ago · Edited

Another issue affected tests run, about python version bsc1239211, but a fix allowed tests to pass.

A.t.m. all the SLE16 scheduled tests of new build PASS, only BATS checks ongoing.
For ppc64le, waiting next discussion.

Actions #11

Updated by mdati about 1 month ago · Edited

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 80

As lasst update of this ticket: the test group 630 is ready for 3 arch
In the last build60.3, all tests implemented, but for ppc64le don't yet.

The present tests pass, but 1 only, the podman_testsuite for BAT tests, is under analysis related to bsc#1239088.

When it comes to ppc64le, in the last P.O. meeting it was decided to temporary suspend the hdd creation from iso and related tests, waiting for power10 workers, that likely will be ready in next months.

Then, ppc apart, the above expected AP 1 + 2 are satisfied for 3 architectures: x86_64, aarch64, s390x.

Actions #12

Updated by mdati about 1 month ago

  • Status changed from Feedback to In Progress

The ticket is resumed, to proceed setting the SLE16 Container Image group, as in the p-oo header, for the 3 available cpu types.

Actions #13

Updated by mdati about 1 month ago

  • % Done changed from 80 to 50
Actions #14

Updated by ph03nix about 1 month ago

  • Description updated (diff)
Actions #15

Updated by mdati about 1 month ago

As by ticket AC1, also test group SLE 16/Container Image created, id 634, updated with MR https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2127.

Actions #16

Updated by mdati about 1 month ago · Edited

Since last Mar'15 create_hdd_agama_containers@s390x-kvm test fails connecting SUT after reboot:
relation found with bug https://bugzilla.suse.com/show_bug.cgi?id=1238590.

Actions #17

Updated by mdati 29 days ago

MR https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2135 merged, to add informations about ppc64le.

Working on SLE16 Documentation and more, to trace the differences from SLE15.

Actions #18

Updated by mdati 21 days ago

Related to ticket's AC 3, I creted a first draft SLE16 presentation, for internal use only, collecting info-s from documentation found.It contains synthetic basic informations of main features and a list of useful reference links. See it in SLE 16 Presentation.
Suggestions and comments welcome.

Actions #19

Updated by mdati 21 days ago · Edited

Actually SLE 16 Beta 3 ISOs are now online.

An ssh issue was impacting s390x create_hdd_agama_containers, blocking the HDD image creation from ISO: after reboot, the kvm refused ssh access;

After some analysis and tests, the EXTRABOOTPARAMS resulted needing updated:
the previous working setting for s390x:
"EXTRABOOTPARAMS": "kernel.softlockup_panic=1 live.password=[redacted] inst.register_url=http://all-66.1.proxy.scc.suse.de"

now result needing only:
"EXTRABOOTPARAMS": "SetHostname=0"
see https://openqa.suse.de/tests/17182850.
Previous extra settings applied now via proxy, with the related jsonnet configuration.

This last setting already is present in OSD section Machines, for machine=s390x-kvm.

Therefore EXTRABOOTPARAMS have been removed from group 630 with MR:
https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2152

Actions #21

Updated by mdati 18 days ago

The aarch64 hdd creation test was affected by a new screen sequencing appeared with Beta 3, after reboot. Issue fixed after needle added: install_updates-sle16-login-after-reboot-20250331.

Status of test group 630 is: aarch64, s390x, x86_64 test pass; ppc64le waiting, see note-11.

An issue in x86_64 on BATs fixed with MR https://gitlab.suse.de/qac/qac-openqa-yaml/-/merge_requests/2123.

Actions #22

Updated by mdati 17 days ago · Edited

Since new Build71.1 yesterday, the test in in group 630 s390x create_hdd containers is failing because install phase incomplete , investigation on going.

Actions #23

Updated by mdati 16 days ago

Followup to note-22: the config. containers/agama/sle_default_s390x_kvm.jsonnet needed an update in post-install script, to enable ssh (similar as agama_auto/sle_default_s390x_kvm.jsonnet)

Fix in PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21659

Actions #24

Updated by ph03nix 15 days ago

I think this ticket can be resolved for now. PowerPC will be handled later, once the workers are ready.

Actions #25

Updated by ph03nix 3 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF