Project

General

Profile

action #119767

Updated by mkittler over 1 year ago

## Observation 

 https://gitlab.suse.de/openqa/salt-states-openqa 
 https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1217506 

 ``` 
 Retrieving: os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm [not found] 
 Abort, retry, ignore? [a/r/i/...? shows all options] (a): a 
 [ERROR     ] stderr: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
 Problem occurred during or after installation or removal of packages: 
 Installation has been aborted as directed. 
 Please see the above error message for a hint. 
 [ERROR     ] retcode: 8 
 [ERROR     ] An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
 Problem occurred during or after installation or removal of packages: 
 Installation has been aborted as directed. 
 … 
           ID: worker.packages 
     Function: pkg.installed 
       Result: False 
      Comment: Attempt 1: Returned a result of "False", with the following comment: "An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
               Problem occurred during or after installation or removal of packages: 
               Installation has been aborted as directed. 
               Please see the above error message for a hint." 
               Attempt 2: Returned a result of "False", with the following comment: "An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
               Problem occurred during or after installation or removal of packages: 
               Installation has been aborted as directed. 
               Please see the above error message for a hint." 
               Attempt 3: Returned a result of "False", with the following comment: "An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
               Problem occurred during or after installation or removal of packages: 
               Installation has been aborted as directed. 
               Please see the above error message for a hint." 
               Attempt 4: Returned a result of "False", with the following comment: "An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
               Problem occurred during or after installation or removal of packages: 
               Installation has been aborted as directed. 
               Please see the above error message for a hint." 
               An error was encountered while installing package(s): Zypper command failure: File './x86_64/os-autoinst-4.6.1666985981.c33e9ef-1421.1.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Tumbleweed/' 
               Problem occurred during or after installation or removal of packages: 
               Installation has been aborted as directed. 
               Please see the above error message for a hint. 
 ``` 

 Retried the pipeline for now: https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1222315 

 ## Acceptance criteria 
 * **AC1:** Pipeline passes again 
 * **AC2:** It is known why the pipeline failed 

 ## Suggestions 
 * We already have instructed salt to call zypper multiple times for retry. But it looks like the repository data is not refreshed between each call. So we need to ensure that also the refreshing is done multiple times. In https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/openqa/server.sls#L8 we say "refresh: False" to save time but here it does not help us. So we should check if we change back to refresh how long it takes in comparison.

Back