Project

General

Profile

coordination #29589

Updated by okurz over 6 years ago

## 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](http://bugzilla.suse.com/show_bug.cgi?id=1056413) resolved we removed the soft-failure needles Since build ~400.4 for SLES basesystem 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 server applications modules are preselected. This also means that gnome system role is not available for SLE12. With updated default module selection and a new text mode is default. 
 At the moment default system role we should rethink *our* default desktop is gnome for testing as well potentially extend the test coverage to test more module combinations as well as module+role combinations. SLE 15, except minimal installation or installation without registration. 

 ## Acceptance criteria 
 * **AC1:** Desktop module <**AC1:** Default desktop is not added by default to SLE15 tests set correctly, as well as system role 
 * **AC2:** There <**AC2:** All tests where gnome is at least one test scenario that executes the non-default (e.g. still selecting desktop module) expected pre-select desktop-applications module 
 * **AC3:** <**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. 

Back