action #96801
closedcoordination #93668: [epic] Redesign Installation test modules
Refactor existing select_role test module to be explicit and not use test_data
Description
We have nicely implemented select_role
test module which already uses OOP and Libyui. But since we've discovered that it will be more transparent to have test module to be explicit in what it does, we need to refactor the existing select_role
test module a bit.
Scope:¶
Job Groups: YaST, openSUSE Tumbleweed, openSUSE Leap 15
Task:¶
- Find all the places where
select_role
is used to identify which roles it selects; - Create as many test modules as this test module selects and name them respectively (e.g. select_role_textmode, select_role_transactional_server`);
- Replace all the occurrences of
select_role
with the new test modules.
If possible (not to long name, call it select(install)_system_role_X.
Updated by oorlov over 3 years ago
- Related to action #96803: Replace system_role test module with the ones that explicit in what role is selected added
Updated by oorlov over 3 years ago
- Subject changed from Refactor existing select_role test module to be concrete and not use test_data to Refactor existing select_role test module to be explicit and not use test_data
Updated by JERiveraMoya about 3 years ago
- Tags deleted (
qe-yast-refinement) - Description updated (diff)
- Status changed from New to Workable
Updated by JRivrain about 3 years ago
- Status changed from Workable to In Progress
- Assignee set to JRivrain
Updated by JRivrain about 3 years ago
list of affected yamls:
`
jonathan@waaa-amazing:/var/lib/openqa/share/tests/sle/schedule (select_role)$ for i in $(grep -r select_role |cut -d: -f1); do echo $i; grep "system_role:" $i -a2 ; echo \ ; done |egrep -v "- |software"
yast/lvm/lvm_thin_provisioning.yaml
test_data:
system_role:
default: 'SLES with GNOME'
yast/transactional_server/create_hdd_transactional_server.yaml
test_data:
system_role:
default: 'Transactional Server'
yast/textmode/textmode.yaml
test_data:
system_role:
default: 'Text Mode'
yast/textmode/textmode@svirt-xen.yaml
test_data:
system_role:
default: 'Text Mode'
yast/installer_extended/installer_extended.yaml
text: 版軟體的
system_role:
default: 'Text Mode'
yast/minimalx_zvm.yaml
test_data:
system_role:
selection: 'Generic Desktop'
yast/addon-module-ftp.yaml
test_data:
system_role:
default: 'HA node'
selection: 'Text Mode'
yast/opensuse/lvm/lvm_thin_provisioning.yaml
test_data:
<<: !include test_data/yast/lvm_thin_provisioning/lvm_thin_provisioning.yaml
system_role:
default: null
selection: 'Desktop with GNOME'
yast/opensuse/lvm_raid1/lvm+raid1.yaml
test_data:
system_role:
default: null
selection: 'Desktop with KDE Plasma'
yast/opensuse/transactional_server/create_hdd_transactional_server.yaml
test_data:
system_role:
default: null
selection: 'Transactional Server'
yast/opensuse/transactional_server/transactional_server.yaml
test_data:
system_role:
default: null
selection: 'Transactional Server'
qam/QR/15-SP3/lvm/lvm_thin_provisioning.yaml
test_data:
system_role:
default: 'SLES with GNOME'
qam/QR/15-SP3/textmode/textmode.yaml
test_data:
system_role:
default: 'Text Mode'`
Updated by JRivrain about 3 years ago
- Status changed from In Progress to Feedback
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13273
I considered refactoring or removing yast/minimalx_zvm.yaml, it looks like it is not scheduled anywhere, waiting for access to openqa DBs to verify.
Updated by JRivrain about 3 years ago
- Status changed from Feedback to In Progress
Updated by JRivrain about 3 years ago
- Status changed from In Progress to Feedback
Updated by JERiveraMoya about 3 years ago
- Status changed from Feedback to Closed