Project

General

Profile

Actions

action #122059

closed

coordination #120534: [epic] Provide auto-installation test suites for supporting testing

Add AutoYaST testsuite for Tumbleweed on s390x z/VM

Added by geor over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
2022-12-15
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Kernel squad would like to have similar test suites sequence in Tumbleweed that what they use for SLE to run later on LTP tests. (more info on slack thread)
In SLE is used create_hdd_minimal_base:

  • Module selected: base, desktop, development, server
  • guided partitioning: no separate home
  • system role: gnome (shouldn't be better to select textmode?)
  • pattern: base and minimal
  • Major Linux security: none
  • disable grub timeout

But this is s390x kvm, and in openSUSE there is only support for z/VM.
Therefore Yam squad could provide similar auto-installation than for SLE but for this backend as Kernel squad needs something that run fast, because there is not booting snapshots for z/VM so any LTP test needs to run first the installation.

Starting point could be to convert in AutoYaST this interactive installation: https://openqa.opensuse.org/tests/2956964 :

  • disk activation
  • system role: server
  • patterns: it could be more minimal comparing with the job above
  • disable grub timeout

Scope

A new autoyast installation testsuite is to be created in openqa.opensuse.org.
Currently we run there a guided installation which takes around 42 mins.
Products: opensuse Tumbleweed
Architectures: s390x with backend s390x (which just means z/VM, the only supported backend for s390x in o3 right now)

Acceptance criteria

AC1: Create auto-installation for Tumbleweed in s390x zVM
AC2: File a bug if any is found for AutoYaST cloning or service order after booting to YaST
AC3: Investigate and file a infrastructure bug if found
AC4: if some blocker is found, consider as last option using libyui-rest-api, which is also fast (but not ideal to have interactive installation)

Additional information

afir there was some issues with z/VM when booting but we will see what is the state. This is completely new area where to enable AutoYaST.

Actions #1

Updated by geor over 1 year ago

  • Description updated (diff)
Actions #2

Updated by geor over 1 year ago

  • Subject changed from Add AutoYaST testsuite for s390x z/VM on opensuse Tumbleweed to Add AutoYaST testsuite for opensuse Tumbleweed on s390x z/VM
Actions #3

Updated by geor over 1 year ago

  • Description updated (diff)
Actions #4

Updated by geor over 1 year ago

  • Description updated (diff)
Actions #5

Updated by JERiveraMoya about 1 year ago

  • Tags deleted (qe-yam-refinement)
  • Subject changed from Add AutoYaST testsuite for opensuse Tumbleweed on s390x z/VM to Add AutoYaST testsuite for Tumbleweed on s390x z/VM
  • Description updated (diff)
  • Status changed from New to Workable
  • Target version set to Current
Actions #6

Updated by JERiveraMoya about 1 year ago

  • Parent task set to #120534
Actions #7

Updated by syrianidou_sofia about 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia
Actions #8

Updated by JERiveraMoya about 1 year ago

  • Description updated (diff)
Actions #9

Updated by syrianidou_sofia about 1 year ago

The initial problem with url shortener not allowing an o3 test to have access, as it runs internally, was solved by using a very short name for autoyast file and saving it in the data directory instead of the data/autoyast_opensuse diractory.

Now the installation is finishing succesfully, but first boot fails with black screen. https://openqa.opensuse.org/tests/3101373
I have also tried videomode=text but still, after first boot, the SUT cannot reconnect.

I cannot access s390x SUTs via VNC on o3, so I will try to collect data via automation and contact yast developer, in case there are logs that point to yast failure.

Actions #10

Updated by szarate about 1 year ago

  • Related to action #124733: [qe-core] Ensure Libyui is used across where autoyast isn't possible - Wrong product selected during welcome screen. added
Actions #11

Updated by szarate about 1 year ago

  • Related to deleted (action #124733: [qe-core] Ensure Libyui is used across where autoyast isn't possible - Wrong product selected during welcome screen.)
Actions #12

Updated by JERiveraMoya about 1 year ago

Let's clean the branch for having this job in dev group in O3 and file a bug (with our without logs if we find infra issues).
For remaining task, file another ticket.

Actions #13

Updated by syrianidou_sofia 12 months ago

  • Status changed from In Progress to Resolved

There is a test running on Tumbleweed development group ( https://openqa.opensuse.org/tests/3161276 ), but the installation cannot move forward due to bug : https://bugzilla.suse.com/show_bug.cgi?id=1209497

Actions

Also available in: Atom PDF