action #163256
closedcoordination #152769: [epic] Reduction of yaml files in YaST installations
Reduce yaml files for minimal+role_minimal
0%
Description
Motivation¶
See epic and tickets in the epic for best practices.
Some general summary as a hint (after reading previous tickets):
Main goals are to reduce for single test suite to single yaml file comparing the ones created per each architecture before and drive the schedule having different yaml default files per each architecture. The final yaml should be stored in a folder where we have the representation of each test case: schedule/yam/test_cases
In order to do that you have to consider if it is just about yaml or would require some code changes to make things more homogeneous, there are multiple approaches ranging from simple dropping small tested functionality in some specific architecture to some more fancy code strategy.
At the same time we should care of variables, basically moving all of them to job group yaml.
Specific from this test suite:
Schedules for this test suite exists in schedule/yast/minimal+role_minimal
.
Acceptance criteria¶
AC1: Reduce yaml files for corresponding test suite over all the architectures
AC2: Clean-up unused files.
Updated by zoecao 6 months ago
Added a yaml schedule file and running vrs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=chcao_0
Updated by zoecao 6 months ago
Different with other arches, on s390x, the Systemd default target is set to 'graphical'
https://openqa.suse.de/tests/14992549#
Filed a bug for it: [bsc#1228243]
Updated by zoecao 6 months ago
PR and MR were submitted for this ticket:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19803
https://gitlab.suse.de/qe-yam/openqa-job-groups/-/merge_requests/287
Updated by zoecao 6 months ago
The bug ( [bsc#1228243]) was closed as WORKSFORME:
In s390x kvm installation, the Graphical is the expected target. If the installation is done via VNC, then Graphical target is selected independently on the role, see [1]. That machine is supposed to be remotely managed via VNC, so Graphical target would be needed.
And in the [PR], skip loading the test module of verify_default_target, and check the default target via test module validate_default_target.