Project

General

Profile

Actions

action #152011

closed

coordination #151990: [epic] Optimize test coverage

Unify migration test suites names according to each row in migration matrix for SLES 12 SP5

Added by JERiveraMoya about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2023-12-04
Due date:
% Done:

0%

Estimated time:

Description

Motivation

As a Project Owner I would like to follow the migration process in a simple way using test matrix, checking the support image test suites and its corresponding migration test suites.

At the moment due we are exposing migration details in the name of the test suite it is very difficult to track in openQA the whole path. Our spreadsheet for migration matrix contains all the information needed to translate this, but still tricky, additionally we created recently a Confluence page https://confluence.suse.com/display/qasle/How+to+generate+Migration+test+suites+base+on+test+matrix

One example of unification:
(1) Check row in spreadsheet about migrations with no module selection.
(2) Go to support images job group and found sle_autoyast_support_image_gnome_12sp5 for the 4 architectures, so far so good!
(3) Due to the migration have different migration parameters the cell content is not exactly the same in (1) and this fact spread the test suites in, "offline_sles12sp5_pscc_def_full", "offline_sles12sp5_pscc_def_full_lock", "offline_sles12sp5_media_def_full", "offline_sles12sp5_media_base_def_full_zVM@s390x-zVM-vswitch-l2".

  • Visually it is difficult to related all this related migrations.
  • From the point of view of functional testing, we just need to provide migration with different origin system (meaning system role + packages/patterns). Other than that we are dealing just with detail which are not particularly fixed to any test suite, more like features that need to be tested in any test suite where it makes sense.

Acceptance criteria

AC1: Group all test suites for extension/module combination in migration matrix + role under same test suite name
AC2: Fill in test suite description differently for each case in job group yaml indicating the differences contained in the cells of the migration matrix.

Actions #1

Updated by JERiveraMoya about 1 year ago

  • Subject changed from Unify test suites doing functionally the same with small differences under same name for SLE 12 SP5 to Unify test suites doing functionally the same with small differences under same name for SLES 12 SP5
Actions #2

Updated by JERiveraMoya about 1 year ago

  • Subject changed from Unify test suites doing functionally the same with small differences under same name for SLES 12 SP5 to Unify migration test suites doing functionally the same with small differences under same name for SLES 12 SP5
Actions #3

Updated by JERiveraMoya about 1 year ago

  • Description updated (diff)
Actions #4

Updated by JERiveraMoya about 1 year ago

  • Subject changed from Unify migration test suites doing functionally the same with small differences under same name for SLES 12 SP5 to Unify migration test suites names according to each row in migration matrix for SLES 12 SP5
Actions #5

Updated by zoecao about 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to zoecao
Actions #6

Updated by JERiveraMoya 12 months ago

  • Tags changed from qe-yam-dec-sprint, qe-yam-jan-sprint to qe-yam-jan-sprint
Actions #7

Updated by zoecao 12 months ago

Updated the SLES12SP5 cases names in a dev job group, triggered the jobs on all arches:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=45.1&groupid=251

Actions #8

Updated by zoecao 11 months ago

Re-updated the 12sp5 testsuites names and triggered the jobs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=44.1&groupid=251

Actions #9

Updated by JERiveraMoya 11 months ago

I noticed regarding naming that _all might get confused with all modules, so perhaps better to use _*allpatterns. Also media and pscc should disappear when we will use Online and Full flavors (but for now I guess we need different names).

Actions #10

Updated by zoecao 11 months ago

Updated the 12sp5 testsuites names (s/_all/_allpatterns) and triggered the jobs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=42.1&groupid=251

And will remove the _pscc, _media, _dvd after we use Online and Full flavors.

Q: Do we need to update the ha and sap cases names?
ha_mig_sles12sp5_media -> mig_ha_sles12sp5_media
sap_mig_dvd_sles4sap_12sp5 -> mig_sles4sap_12sp5_dvd

Actions #11

Updated by JERiveraMoya 11 months ago

zoecao wrote in #note-10:

Updated the 12sp5 testsuites names (s/_all/_allpatterns) and triggered the jobs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=42.1&groupid=251

And will remove the _pscc, _media, _dvd after we use Online and Full flavors.

Q: Do we need to update the ha and sap cases names?
ha_mig_sles12sp5_media -> mig_ha_sles12sp5_media
sap_mig_dvd_sles4sap_12sp5 -> mig_sles4sap_12sp5_dvd

Yes, we can do it and see how alphabetically all is ordered.

Actions #12

Updated by zoecao 11 months ago

JERiveraMoya wrote in #note-11:

zoecao wrote in #note-10:

Updated the 12sp5 testsuites names (s/_all/_allpatterns) and triggered the jobs:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=42.1&groupid=251

And will remove the _pscc, _media, _dvd after we use Online and Full flavors.

Q: Do we need to update the ha and sap cases names?
ha_mig_sles12sp5_media -> mig_ha_sles12sp5_media
sap_mig_dvd_sles4sap_12sp5 -> mig_sles4sap_12sp5_dvd

Yes, we can do it and see how alphabetically all is ordered.

I update the ha and sap testsuites names, and this is the order:
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=50.1&groupid=251 (new order)
https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=49.1&groupid=251 (old order)

Actions #13

Updated by JERiveraMoya 11 months ago

  • Tags changed from qe-yam-jan-sprint to qe-yam-feb-sprint
Actions #14

Updated by JERiveraMoya 11 months ago ยท Edited

Actions #16

Updated by JERiveraMoya 11 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF