Project

General

Profile

Actions

action #153862

closed

coordination #151990: [epic] Optimize test coverage

Reduce migration milestone testsuites for SLES15SP3

Added by zoecao 11 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-01-18
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Reduce the migration milestone testsuites for SLES15SP3 as the following action items:

Acceptance criteria

[AC1:] Remove the following testsuites from migration milestone group:

  • offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full (aarch64)
  • offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full (s390x)
  • online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp (aarch64)
  • online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre (ppc64le)
  • online_sles15sp3_smt_basesys-srv-ltss_def_full_y (ppc64le)
  • online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y (s390x)
  • online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y (x86_64)

[AC2:] Add the following new testsuites for milestone group:

  • online_sles15sp3_smt_basesys-srv-desk_dev_all_full_y (aarch64) (gnome)
  • online_sles15sp3_scc_basesys-srv-desk-nvidia_def_full_zypp (x86_64) (gnome)
Actions #1

Updated by JERiveraMoya 11 months ago

  • Tags set to qe-yam-feb-sprint
  • Status changed from New to Workable
  • Parent task set to #151822
Actions #2

Updated by zoecao 11 months ago

The testuistes names may have been changed, in order to resolve the new names, please check the MR submitted within this ticket:
https://progress.opensuse.org/issues/152083

Actions #3

Updated by JERiveraMoya 10 months ago

  • Parent task changed from #151822 to #155815
Actions #4

Updated by JERiveraMoya 10 months ago

  • Parent task changed from #155815 to #151990
Actions #5

Updated by JERiveraMoya 10 months ago

  • Tags changed from qe-yam-feb-sprint to qe-yam-mar-sprint
Actions #6

Updated by JERiveraMoya 9 months ago

  • Tags changed from qe-yam-mar-sprint to qe-yam-apr-sprint
Actions #7

Updated by lmanfredi 9 months ago

  • Status changed from Workable to In Progress
  • Assignee set to lmanfredi
Actions #8

Updated by lmanfredi 9 months ago

Looking inside the repository it seems that these testsuites are no longer present.
@zoecao Could you please add some updates? Have they changed in the meantime?

Actions #9

Updated by JERiveraMoya 8 months ago

lmanfredi wrote in #note-8:

Looking inside the repository it seems that these testsuites are no longer present.
@zoecao Could you please add some updates? Have they changed in the meantime?

as discussed, you just need to pick the MR which rename them.

Actions #10

Updated by lmanfredi 8 months ago · Edited

by searching in Git log which commits are involved:

git log --oneline -G'- offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full:'
git log --oneline -G'- offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full:'
git log --oneline -G'- online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp:'
git log --oneline -G'- online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre:'
git log --oneline -G'- online_sles15sp3_smt_basesys-srv-ltss_def_full_y:'
git log --oneline -G'- online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y:'
git log --oneline -G'- online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y:'

the commits are:

52fbc82 Unify migration test suites names for sles15sp3
8ef79fe Add migration_milestone job group

Searching the diff by:

git diff 8ef79fe 52fbc82 | grep -A1 "\- offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- online_sles15sp3_smt_basesys-srv-ltss_def_full_y:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y:"
git diff 8ef79fe 52fbc82 | grep -A1 "\- online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y:"

the rename are:

-    - offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full:
+    - migr_sles15sp3_desk-phub:

-    - online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp:
+    - migr_sles15sp3_all:

-    - online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre:
+    - migr_sles15sp3_pre:

-    - online_sles15sp3_smt_basesys-srv-ltss_def_full_y:
+    - migr_sles15sp3:

-    - online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y:
+    - migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:

-    - offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full:
+    - migr_sles15sp3_desk:
--
-    - offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full:
+    - migr_sles15sp3_desk:

-    - online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y:
+    - migr_sles15sp3_desk-dev_all:

So, renamed as:

OLD NEW ARCH
offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full migr_sles15sp3_desk-phub aarch64
online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp migr_sles15sp3_all aarch64
online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre migr_sles15sp3_pre ppc64le
online_sles15sp3_smt_basesys-srv-ltss_def_full_y migr_sles15sp3 ppc64le
online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all s390x
offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full migr_sles15sp3_desk s390x
online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y migr_sles15sp3_desk-dev_all x86_64
Actions #11

Updated by lmanfredi 8 months ago · Edited

Again, searching in Git log which commits are involved for the new names:

git log --oneline -G'- migr_sles15sp3_desk-phub:'
git log --oneline -G'- migr_sles15sp3_all:'
git log --oneline -G'- migr_sles15sp3_pre:'
git log --oneline -G'- migr_sles15sp3:'
git log --oneline -G'- migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:'
git log --oneline -G'- migr_sles15sp3_desk:'
git log --oneline -G'- migr_sles15sp3_desk-dev_all:'

the commits are:

# - migr_sles15sp3_desk-phub:
5e77551 Unify the test suite name to change addon from SCC_ADDONS
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3_all:
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3_pre:
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3:
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:
5e77551 Unify the test suite name to change addon from SCC_ADDONS
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3_desk:
5e77551 Unify the test suite name to change addon from SCC_ADDONS
52fbc82 Unify migration test suites names for sles15sp3

# - migr_sles15sp3_desk-dev_all:
5e77551 Unify the test suite name to change addon from SCC_ADDONS
52fbc82 Unify migration test suites names for sles15sp3

so, four of them are again changed:

NEW ARCH STATUS TO
migr_sles15sp3_desk-phub aarch64 changed migr_sles15sp3_desktop-phub
migr_sles15sp3_all aarch64
migr_sles15sp3_pre ppc64le
migr_sles15sp3 ppc64le
migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all s390x changed migr_sles15sp3_live-contm-lgm-tsm-pcm-wsm_all
migr_sles15sp3_desk s390x changed migr_sles15sp3_desktop
migr_sles15sp3_desk-dev_all x86_64 changed migr_sles15sp3_desktop-dev_all

Then, searching the diff by:

git diff 52fbc82 5e77551  JobGroups/migration_milestone/aarch64.yaml  | grep -A1 '\- migr_sles15sp3_desk-phub:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/aarch64.yaml  | grep -A1 '\- migr_sles15sp3_all:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/ppc64le.yaml  | grep -A1 '\- migr_sles15sp3_pre:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/ppc64le.yaml  | grep -A1 '\- migr_sles15sp3:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/s390x.yaml    | grep -A1 '\- migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/s390x.yaml    | grep -A1 '\- migr_sles15sp3_desk:' 
git diff 52fbc82 5e77551  JobGroups/migration_milestone/x86_64.yaml   | grep -A1 '\- migr_sles15sp3_desk-dev_all:'

the rename are:

# - migr_sles15sp3_desk-phub:
-    - migr_sles15sp3_desk-phub:
+    - migr_sles15sp3_desktop-phub:

# - migr_sles15sp3_all:

# - migr_sles15sp3_pre:

# - migr_sles15sp3:

# - migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:
-    - migr_sles15sp3_lp-contm-lgm-tsm-pcm-wsm_all:
+    - migr_sles15sp3_live-contm-lgm-tsm-pcm-wsm_all:

# - migr_sles15sp3_desk:
-    - migr_sles15sp3_desk:
+    - migr_sles15sp3_desktop:

# - migr_sles15sp3_desk-dev_all:
-    - migr_sles15sp3_desk-dev_all:
+    - migr_sles15sp3_desktop-dev_all:
Actions #12

Updated by lmanfredi 8 months ago · Edited

Final renames of testsuites in JobGroups/migration_milestone/$ARCH.yaml are:

OLD ARCH NEW
offline_sles15sp3_rmt_basesys-srv-ltss-desk-nvidia_def_full aarch64 migr_sles15sp3_desktop-phub
online_sles15sp3_smt_basesys-srv-ltss_all_full_zypp aarch64 migr_sles15sp3_all
online_sles15sp3_smt_basesys-srv-ltss_def_full_y_pre ppc64le migr_sles15sp3_pre
online_sles15sp3_smt_basesys-srv-ltss_def_full_y ppc64le migr_sles15sp3
online_sles15sp3_rmt_basesys-srv-lp-ltss-contm-lgm-tsm-pcm-wsm_all_full_y s390x migr_sles15sp3_live-contm-lgm-tsm-pcm-wsm_all
offline_sles15sp3_rmt_basesys-srv-ltss-desk_def_full s390x migr_sles15sp3_desktop
online_sles15sp3_smt_basesys-srv-ltss-desk-dev_all_full_y x86_64 migr_sles15sp3_desktop-dev_all
Actions #13

Updated by lmanfredi 8 months ago

Created MR#155

Actions #14

Updated by JERiveraMoya 8 months ago

lmanfredi wrote in #note-13:

Created MR#155

Good job finding out! let's set the MR in wip and not merge it until we have the new test cases developed, otherwise we would lost test coverage.

Actions #15

Updated by lmanfredi 8 months ago

About

[AC2:] Add the following new testsuites for milestone group:

  • online_sles15sp3_smt_basesys-srv-desk_dev_all_full_y (aarch64) (gnome)
  • online_sles15sp3_scc_basesys-srv-desk-nvidia_def_full_zypp (x86_64) (gnome)

a proposal for the new test cases, following the new name conventions:

# JobGroups/migration_milestone/aarch64.yaml
aarch64:
  sle-15-SP6-Migration-from-SLE15-SPx-Milestone-aarch64:
    - migr_sles15sp3_desktop_smt:
        description: online migration smt yast
        settings:
          <<: *gnome_and_qemuram
          BOOTFROM: d
          BOOT_HDD_IMAGE: '1'
          FULL_UPDATE: '1'
          HDDVERSION: 15-SP3
          HDD_1: 'autoyast-SLES-%HDDVERSION%-%ARCH%-%DESKTOP%-updated.qcow2'
          MIGRATION_METHOD: 'yast'
          ONLINE_MIGRATION: '1'
          PATCH: '1'
          SCC_ADDONS: base,serverapp,desktop,ltss
          SCC_URL: 'none'
          SMT_URL: **********
          UPGRADE: '1'
        testsuite: null

# JobGroups/migration_milestone/x86_64.yaml
x86_64:
  sle-15-SP6-Migration-from-SLE15-SPx-Milestone-x86_64:
    - migr_sles15sp3_desktop_scc:
        description: online migration scc zypper
        settings:
          <<: *gnome_and_qemuram
          BOOTFROM: d
          BOOT_HDD_IMAGE: '1'
          FULL_UPDATE: '1'
          HDDVERSION: 15-SP3
          HDD_1: SLES-%HDDVERSION%-%ARCH%-GM-ltss-desktop-nvidia-%DESKTOP%-updated.qcow2
          MIGRATION_METHOD: 'zypper'
          ONLINE_MIGRATION: '1'
          PATCH: '1'
          SCC_ADDONS: base,serverapp,desktop,nvidia,ltss
          SCC_REGCODE_LTSS: **********
          UPGRADE: '1'
        testsuite: null

@JERiveraMoya, @zoecao what do you think about?

Actions #16

Updated by JERiveraMoya 8 months ago · Edited

wrong place to comment code, it is easier in gitlab for review, comments, suggestions, compare with other test suites, and of course, run verification if the settings makes sense or not.

Actions #17

Updated by lmanfredi 8 months ago

Added new test suites in MR#155

Actions #18

Updated by lmanfredi 8 months ago

Added VRs in dev job group

Actions #19

Updated by lmanfredi 8 months ago

The VRs fails for smt test case in test module yast2_migration.
The same test works when use scc end set SMT_URL="".
I guess that the problem could be related with the smt server. See slack comments:

Maybe SMT server need update the repos

Actions #20

Updated by lmanfredi 8 months ago

By using the RMT server, it works fine. See VRs
According with the doc, I will change the name, using rmt instead of smt for test case

Actions #21

Updated by lmanfredi 8 months ago

VRs passed

Actions #22

Updated by JERiveraMoya 8 months ago

  • Tags changed from qe-yam-apr-sprint to qe-yam-may-sprint
Actions #23

Updated by lmanfredi 8 months ago

Merged MR#155

Actions #24

Updated by lmanfredi 8 months ago

Verified in production on Build 82.1

Actions #25

Updated by lmanfredi 8 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF