Project

General

Profile

Actions

coordination #29589

closed

[sle][functional][epic][sle15][hard] Revisit default role and module preselection

Added by riafarov about 7 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Enhancement to existing tests
Start date:
2017-12-19
Due date:
2018-02-13
% Done:

0%

Estimated time:
Difficulty:

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.


Related issues 2 (0 open2 closed)

Related to openQA Tests (public) - action #29640: [sle][functional] test fails in addon_products_sle - Desktop module and Server module not selected on all-packages-iso scenarioResolvedqmsu2017-12-202018-01-30

Actions
Has duplicate openQA Tests (public) - action #29700: [sle][functional][medium]revisit module preselectionRejected2017-12-212018-01-30

Actions
Actions

Also available in: Atom PDF