Project

General

Profile

action #175938

Updated by ph03nix about 1 month ago

e.g. [sle-15-SP4-BCI-Updates-x86_64-bci-base-fips_15.4_on_ubuntu_docker@64bit](https://openqa.suse.de/tests/16541976/modules/_root_BCI-tests_fips_/steps/1) fails due to no credentials available on this host. ## Observation 

 As discussed openQA test in https://confluence.suse.com/display/ENGCTNRSTORY/2025-01-28+-+BCI+Sync we should for now limit the LTSS testing to the LTSS hosts. This means: 

 * SLES12 LTSS containers should only be tested on a SLES 12 host with LTSS enabled subscription scenario sle-15-SP4-BCI-Updates-x86_64-bci-base-fips_15.4_on_ubuntu_docker@64bit fails in 
 * SLES15 LTSS containers should only be tested on a SLES 15 host with LTSS enabled subscription [_root_BCI-tests_fips_](https://openqa.suse.de/tests/16541976/modules/_root_BCI-tests_fips_/steps/1) 

 ## Implementation 

 * First To fix this issue, we need to ensure that the SLES12 and SLES15 hosts with available LTSS extensions have those extensions registered and enabled 
 * We need to find a way to skip LTSS tests in openQA include SCC credentials on the hosts, where they are not supposed to run. Probably we need to introduce a new openQA setting for doing so 
 * This setting needs to be added to LTSS containers in https://gitlab.suse.de/qac/container-release-bot/-/tree/main/containers 
 * We typically skip BCI tests in https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/ccf5fd29038660999115048b5b2ac04b1d35f34f/tests/containers/bci_test.pm#L28 all non-SLES hosts. 

 ## Acceptance criteria 

 * **AC1** : SLES12-LTSS BCI tests for containers are only being tested that require SCC credentials pass in OSD on a SLES 12 host with LTSS enabled subscription 
 * **AC2** : SLES15-LTSS containers are only being tested on a SLES 15 host with LTSS enabled subscription all non-SLES hosts 

 ## More Information 

 * https://opensource.suse.com/bci-docs/guides/container-suseconnect/

Back