Project

General

Profile

Actions

action #132779

closed

coordination #130072: [epic] Handle openQA adaptions in Yam squad - SLE 15 SP6

Remove remaining workarounds for bsc#1202234

Added by JRivrain 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2023-07-14
Due date:
% Done:

0%

Estimated time:

Description

Now that bsc1202234 is verified fixed, we need to remove the workarounds in place:

onathan@waaa-amazing:/var/lib/openqa/share/tests/sle/data (remove_wo_bsc1202234)$ grep -r 1202234
autoyast_qam/12-common_base_installation.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_qam/15-common_base_installation.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle12/create_hdd/create_hdd_ha_sles.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle12/create_hdd/create_hdd_sles_regression_aarch64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle12/create_hdd/create_hdd_sles_regression_ppc64le.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle12/create_hdd/create_hdd_sles_regression_s390x.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_sap.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_development_node_aarch64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_development_node_x86_64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_management_server_aarch64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_management_server_x86_64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_textmode_aarch64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_hpc_textmode_x86_64.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->
autoyast_sle15/create_hdd/create_hdd_maintenance.xml.ep: <!-- Workaround for bsc#1202234: [addon]-release packages are missing after autoyast installation. -->

The task would take few minutes, but if we want VRs, it will take more effort.
So

Acceptance criteria

AC1: Remove workarounds
AC2: Do some VRs

It is probably not necessary to check every single test suite.

Actions #1

Updated by JRivrain 10 months ago

  • Description updated (diff)
Actions #2

Updated by JERiveraMoya 10 months ago

  • Subject changed from Remove remaining workarounds for bsc1202234 to Remove remaining workarounds for bsc#1202234
  • Description updated (diff)
  • Status changed from New to Workable
  • Target version set to Current
  • Parent task set to #130072
Actions #3

Updated by tbaev 8 months ago

Actions #4

Updated by tbaev 8 months ago

  • Status changed from Workable to In Progress
  • Assignee set to tbaev
Actions #5

Updated by tbaev 8 months ago

Tests that are using the changed autoinst files.

# create_hdd_ha_sles.xml.ep
scenarios: sle-12-SP5-Server-DVD-Updates-x86_64
Test: ha_autoyast_create_hdd_textmode_12sp5
sle-12-SP5-Server-DVD-Updates-s390x :
Test: ha_autoyast_create_hdd_textmode_12sp5
Scenarios: sle-12-SP5-Server-DVD-ppc64le
Test: ha_autoyast_create_hdd_textmode_12sp5

# create_hdd_hpc_development_node_aarch64.xml.ep
# create_hdd_hpc_development_node_x86_64.xml.ep
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test : sle_autoyast_create_hdd_gnome_15sp5_hpc_dm_all
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test : sle_autoyast_create_hdd_gnome_15sp5_hpc_dm_all
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test : sle_autoyast_create_hdd_gnome_15sp5_hpc_dm_all
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test : sle_autoyast_create_hdd_gnome_15sp5_hpc_dm_all

# create_hdd_hpc_management_server_aarch64.xml.ep
# create_hdd_hpc_management_server_x86_64.xml.ep
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_ms_all
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_ms_def
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_ms_all
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_ms_def

# create_hdd_hpc_textmode_aarch64.xml.ep
# create_hdd_hpc_textmode_x86_64.xml.ep
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_tm_all
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_tm_def
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_tm_all
Test: sle_autoyast_create_hdd_textmode_15sp5_hpc_tm_def

# create_hdd_maintenance.xml.ep
Scenarios: sle-15-SP5-Server-DVD-Updates-x86_64
Test: create_hdd_maintenance.xml.ep

# create_hdd_sap.xml.ep
Scenarios: sle-15-SP2-Server-DVD-Updates-x86_64
Test: sap_autoyast_create_hdd_15sp2

# create_hdd_sles_regression_ppc64le.xml.ep
# create_hdd_sles_regression_s390x.xml.ep
Scenarios: sle-12-SP5-Server-DVD-Updates-aarch64
Test: sle_autoyast_create_hdd_gnome_12sp5_sdk_all_patterns
Test: sle_autoyast_create_hdd_gnome_12sp5_sdk_def_patterns
Scenarios: sle-12-SP5-Server-DVD-ppc64le
Test: sle_autoyast_create_hdd_gnome_12sp5_sdk_all_patterns
Scenarios: sle-12-SP5-Server-DVD-Updates-s390x
Test: sle_autoyast_create_hdd_gnome_12sp5_sdk_all_patterns

# from schedule
# /yast/maintenance/sap_autoyast_create_hdd_gnome_netweaver_sle12.yaml
Scenarios: sle-12-SP5-SAP-DVD-Updates-x86_64
Test: sap_autoyast_create_hdd_gnome_12sp5
Scenarios: sle-12-SP5-SAP-DVD-Updates-ppc64le
Test: sap_autoyast_create_hdd_gnome_12sp5
Actions #6

Updated by JRivrain 8 months ago

tbaev wrote in #note-3:

https://github.com/tbaev/os-autoinst-distri-opensuse/tree/remove_bsc1202234_softfailure
workarounds are removed , I will run the VR next

Please post a link to the PR rather than a branch, thanks!

Actions #7

Updated by tbaev 8 months ago

JRivrain wrote in #note-6:

tbaev wrote in #note-3:

https://github.com/tbaev/os-autoinst-distri-opensuse/tree/remove_bsc1202234_softfailure
workarounds are removed , I will run the VR next

Please post a link to the PR rather than a branch, thanks!

I have created the PR, some VRs are failing I am working on them, don't think the failures are related to the PR

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17767

Actions #8

Updated by tbaev 8 months ago

Failing runs have two distinct issues

Issue scc_deregistration
https://openqa.suse.de/tests/12123943

Debugging: Found in scc_deregistration-SUSEConnect.debug

-> "{\"type\":\"error\",\"error\":\"Cannot deactivate the product \\\"Basesystem Module\\\". Other activated products depend upon it.\",\"localized_error\":\"Cannot deactivate the product \\\"Basesystem Module\\\". Other activated products depend upon it.\"}"

Issue System Profile Location

https://openqa.suse.de/tests/12109243
https://openqa.suse.de/tests/12107038
https://openqa.suse.de/tests/12108167
https://openqa.suse.de/tests/12107040
https://openqa.suse.de/tests/12107042
https://openqa.suse.de/tests/12107037
https://openqa.suse.de/tests/12108174
https://openqa.suse.de/tests/12107039
https://openqa.suse.de/tests/12121314
https://openqa.suse.de/tests/12127441

Debugging:
Looking at test sle_autoyast_create_hdd_textmode_15sp5_hpc_tm_def
Using my master branch the test will work https://openqa.suse.de/tests/12125183 , using the PR branch will give the error https://openqa.suse.de/tests/12125941.

One strange thing I have found in vars.json is the IP is missing for the failed tests.
Working example:
"AUTOYAST" : "http://10.0.2.2:20113/39ioL3fQk745LCWR/files/yam/autoyast/support_images/create_hdd_hpc_textmode_x86_64.xml"
Failure example:
"AUTOYAST" : "yam/autoyast/support_images/create_hdd_hpc_textmode_x86_64.xml.ep"

The VR are created with this command no extra variables have been added

openqa-clone-custom-git-refspec https://github.com/tbaev/os-autoinst-distri-opensuse/tree/remove_bsc1202234_softfailure https://openqa.suse.de/tests/12101663
Actions #9

Updated by tbaev 8 months ago

Made some progress, one issue is that the installer complains when having empty <packages config:type="list"> </packages> block. Will remove then and run more VRs.

Actions #10

Updated by JRivrain 8 months ago

Note that bsc#1202234 is a bug for sle 15, but this workaround was also used for sle12, which is wrong in my opinion. I see that you have some issues with netweaver tests, but that's not our problem really, you can re-run them with "EXCLUDE_MODULES=netweaver_install,netweaver_test_instance". Feel free to use this script with caution to re-run all at once (./batch-clone.sh "https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17767" "https://openqa.suse.de/tests/overview?result=failed&arch=&flavor=&machine=&test=&modules=&module_re=&build=tbaev%2Fos-autoinst-distri-opensuse%23remove_bsc1202234_softfailure&version=12-SP5&distri=sle" "EXCLUDE_MODULES=netweaver_install,netweaver_test_instance" should do the job.)

Actions #11

Updated by tbaev 7 months ago

I will share the VR results in the PR and we can ignore the netweaver_test_instance fail. Thank you for the feedback, I wanted to be extra cautious with my first VRs in this squad.

Actions #12

Updated by tbaev 7 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF