Project

General

Profile

action #123888

Updated by livdywan almost 2 years ago

## Observation 
 From https://openqa.opensuse.org/tests/3089742/logfile?filename=autoinst-log.txt 

 ``` 
 [2023-02-02T11:16:59.522322+01:00] [info] [pid:7469] ::: OpenQA::Isotovideo::Utils::clone_git: Cloning git URL 'https://github.com/os-autoinst/os-autoinst-distri-openQA.git' 
 [2023-02-02T11:16:59.522363+01:00] [info] [pid:7469] ::: OpenQA::Isotovideo::Utils::clone_git: Checking out git refspec/branch 'use_podman_everywhere' 
 [2023-02-02T11:16:59.997119+01:00] [debug] [pid:7469] Cloning into 'os-autoinst-distri-openQA'... 
  
 [2023-02-02T11:16:59.997200+01:00] [debug] [pid:7469] Clone failed, retries left: 1 of 2 
 [2023-02-02T11:17:04.997519+01:00] [debug] [pid:7469] Skipping to clone 'https://github.com/os-autoinst/os-autoinst-distri-openQA.git'; os-autoinst-distri-openQA already exists 
 [2023-02-02T11:17:05.008632+01:00] [debug] [pid:7469] git hash in /var/lib/openqa/pool/15/os-autoinst-distri-openQA: 552d068b96cf247e2191c4ee6af16dc8f016a4f8 
 ``` 

 ## Acceptance criteria 
 - **AC1**: Clones are re-tried up to 2 times in case of failures 

 ## Suggestions 
 - Review the retry logic in os-autoinst 
 - Extend unit test coverage

Back