coordination #29589
closed[sle][functional][epic][sle15][hard] Revisit default role and module preselection
0%
Description
User story¶
As a QA engineer I want to verify that system role is selected according to the modules selection and do not install additional software when installing SLES.
Motivation¶
With bsc#1056413 resolved we removed the soft-failure needles and removed the record_soft_failure from the test code but we still add the "desktop module" in many places to make our tests comparable to what we did for SLE12. With updated default module selection and a new default system role we should rethink our default for testing as well potentially extend the test coverage to test more module combinations as well as module+role combinations.
Acceptance criteria¶
- AC1: Desktop module is not added by default to SLE15 tests
- AC2: There is at least one test scenario that executes the non-default (e.g. still selecting desktop module)
- AC3: Test suites still work for SLE 12 SP4 and SLE 15
Tasks¶
- read http://bugzilla.suse.com/show_bug.cgi?id=1056413#c21 and compare against our current test default (lib/registration.pm)
- update test default for SLE15 to SLE15 product default, e.g. "textmode" -> suggestion (okurz): Add a new testsuite "default" for all openSUSE and SLE12+SLE15 instead of "gnome" which does exactly this, the default. "gnome" can then explicitly select the desktop module for SLE15, for SLE12 "gnome" would just be the same as "default" but why not :)
- add non-default scenarios as explicit additional ones
- Adjust default_desktop subroutine to return textmode accordingly for SLES15
- Set DESKTOP variable to gnome explicitly in all scenarios where we expect it
- Adjust tests to pre-select desktop applications module where required
Further details¶
The relevant content of c21 in the above bug is:
The following modules should be marked as enabled by default:
SLES:
- Basesystem Module
- Server Applications Module
SLED:
- Basesystem Module
- Desktop Applications Module
- Desktop Productivity Module
SLES for SAP:
- Basesystem Module
- Server Applications Module
- High Availability Module
- SAP Applications Module
Current situation¶
Since build ~400.4 for SLES basesystem and server applications modules are preselected. This also means that gnome system role is not available for selection and text mode is default. At the moment default desktop is gnome for SLE 15, except minimal installation or installation without registration.