Project

General

Profile

action #70528

Updated by szarate over 3 years ago

## Observation 

 Often enough we end up having to investigate multiple reasons why a test can fail, but `Valid metadata not found at specified URL` is common enough, and happens when a repo is not properly created or the url is malformed. 

 This is what happens when we get a 104 error code 

 ``` 
 Refreshing service 'Basesystem_Module_15_SP3_ppc64le'. 
 Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_ppc64le'. 
 Refreshing service 'SUSE_Package_Hub_15_SP3_ppc64le'. 
 Refreshing service 'Server_Applications_Module_15_SP3_ppc64le'. 
 Error building the cache: 
 [SUSE_Package_Hub_15_SP3_ppc64le:SUSE-PackageHub-15-SP3-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP3_ppc64le/standard?bTDqr14xJVQJUz88I2mAkFE0V3i_qZyXqBIsqNaINlKJBy7N0IH7I0unSFtoQGtI80rs5ss-7RYpIug2IQmosbaG_C1RvCukwKRQCYBeIJ1fXsVTeOKD_iLJ6HqewVE_3VAwyntimVyX] Valid metadata not found at specified URL 
 History: 
  - [SUSE_Package_Hub_15_SP3_ppc64le:SUSE-PackageHub-15-SP3-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP3_ppc64le/standard?bTDqr14xJVQJUz88I2mAkFE0V3i_qZyXqBIsqNaINlKJBy7N0IH7I0unSFtoQGtI80rs5ss-7RYpIug2IQmosbaG_C1RvCukwKRQCYBeIJ1fXsVTeOKD_iLJ6HqewVE_3VAwyntimVyX] Repository type can't be determined. 

 Warning: Skipping repository 'SUSE-PackageHub-15-SP3-Backports-Pool' because of the above error. 
 Some of the repositories have not been refreshed because of an error. 
 Loading repository data... 
 Reading installed packages... 
 'machinery' not found in package names. Trying capabilities. 
 No provider of 'machinery' found. 
 IdFND-104- 
 ``` 

 openQA test in scenario sle-15-SP3-Online-ppc64le-extra_tests_textmode_phub@ppc64le fails in 
 [machinery](https://openqa.suse.de/tests/4575827/modules/machinery/steps/27) 

 ## Suggestions 

 Solution should be similar to https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10868 

 Test suite description 
 Maintainer: slindomansilla. Extra tests about CLI software in package hub 


 ## Reproducible 

 Fails since (at least) Build [18.1](https://openqa.suse.de/tests/4575827) (current job) 


 ## Expected result 

 Last good: (unknown) (or more recent) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=ppc64le&distri=sle&flavor=Online&machine=ppc64le&test=extra_tests_textmode_phub&version=15-SP3) 

Back