Project

General

Profile

action #165399

Updated by livdywan 4 months ago

## Observation 

 ``` 
 podman run --pull=newer --name openqa --device /dev/kvm -p 1080:80 -p 1443:443 --rm -it registry.opensuse.org/devel/openqa/containers/openqa-single-instance 
 ``` 

 fails to start up with 

 ``` 
 Trying to pull registry.opensuse.org/devel/openqa/containers/openqa-single-instance:latest... 
 Getting image source signatures 
 Copying blob a513c4d5e8db done     |  
 Copying blob 3f6d2e730494 done     |  
 Copying config 3df73baa0a done     |  
 Writing manifest to image destination 
 + dbname=openqa 
 + dbuser=geekotest 
 + running_systemd= 
 + skip_suse_specifics=1 
 + skip_suse_tests=1 
 + setup_web_proxy= 
 ++ ps --no-headers -o comm 1 
 + [[ openqa-bootstra = \s\y\s\t\e\m\d ]] 
 + [[ 0 -gt 0 ]] 
 + . /etc/os-release 
 ++ NAME='openSUSE Tumbleweed' 
 ++ ID=opensuse-tumbleweed 
 ++ ID_LIKE='opensuse suse' 
 ++ VERSION_ID=20240813 
 ++ PRETTY_NAME='openSUSE Tumbleweed' 
 ++ ANSI_COLOR='0;32' 
 ++ CPE_NAME='cpe:2.3:o:opensuse:tumbleweed:20240813:*:*:*:*:*:*:*' 
 ++ BUG_REPORT_URL=https://bugzilla.opensuse.org 
 ++ SUPPORT_URL=https://bugs.opensuse.org 
 ++ HOME_URL=https://www.opensuse.org 
 ++ DOCUMENTATION_URL=https://en.opensuse.org/Portal:Tumbleweed 
 ++ LOGO=distributor-logo-Tumbleweed 
 + [[ openSUSE Tumbleweed = \o\p\e\n\S\U\S\E\ \L\e\a\p ]] 
 + command -v retry 
 + zypper -n --gpg-auto-import-keys in retry 
 Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ..................................................................................................................................................................[error] 
 Repository 'openSUSE-Tumbleweed-Non-Oss' is invalid. 
 [repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL 
 History: 
  - [|] Error trying to read from 'http://download.opensuse.org/tumbleweed/repo/non-oss/' 

 Please check if the URIs defined for this repository are pointing to a valid repository. 
 Warning: Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error. 
 Retrieving repository 'Open H.264 Codec (openSUSE Tumbleweed)' metadata .......................................................................................................................................................[error] 
 Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is invalid. 
 [repo-openh264|http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed] Valid metadata not found at specified URL 
 History: 
  - [|] Error trying to read from 'http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed' 

 Please check if the URIs defined for this repository are pointing to a valid repository. 
 Warning: Skipping repository 'Open H.264 Codec (openSUSE Tumbleweed)' because of the above error. 
 Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ......................................................................................................................................................................[error] 
 Repository 'openSUSE-Tumbleweed-Oss' is invalid. 
 [repo-oss|http://download.opensuse.org/tumbleweed/repo/oss/] Valid metadata not found at specified URL 
 History: 
  - [|] Error trying to read from 'http://download.opensuse.org/tumbleweed/repo/oss/' 

 Please check if the URIs defined for this repository are pointing to a valid repository. 
 Warning: Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error. 
 Retrieving repository 'openSUSE-Tumbleweed-Update' metadata ...................................................................................................................................................................[error] 
 Repository 'openSUSE-Tumbleweed-Update' is invalid. 
 [repo-update|http://download.opensuse.org/update/tumbleweed/] Valid metadata not found at specified URL 
 History: 
  - [|] Error trying to read from 'http://download.opensuse.org/update/tumbleweed/' 

 Please check if the URIs defined for this repository are pointing to a valid repository. 
 Warning: Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error. 
 Some of the repositories have not been refreshed because of an error. 
 Loading repository data... 
 Reading installed packages... 
 'retry' not found in package names. Trying capabilities. 
 No provider of 'retry' found. 
 ``` 

 Could be related to https://github.com/os-autoinst/openQA/pull/5840, at least related to #163112 . We should try to avoid all zypper operations in bootstrap if the container can already provide necessary dependencies. 

 ## Acceptance criteria 
 * **AC1**: No errors due to retry not being installable from Tumbleweed sources 

 # Suggestions 
 * Install retry in the container - no need to install it and possibly fail to install it 
 * go back to using scripted retry inside bootstrap

Back