Project

General

Profile

action #123556

Updated by okurz 4 months ago

## Observation
https://openqa.suse.de/tests/overview?distri=carwos&groupid=328&version=dev&build=1357219-carwos_master shows multiple test failures, one example https://openqa.suse.de/tests/10363914 :

```
[2023-01-23T13:44:47.701967+01:00] [info] [pid:21827] ::: OpenQA::Isotovideo::Utils::clone_git: Cloning git URL 'https://gitlab.suse.de/carwos/openqa-tests.git'
[2023-01-23T13:44:47.702054+01:00] [info] [pid:21827] ::: OpenQA::Isotovideo::Utils::clone_git: Checking out git refspec/branch 'special-image'
[2023-01-23T13:46:58.072283+01:00] [debug] [pid:21827] Cloning into 'openqa-tests'...
fatal: unable to access 'https://gitlab.suse.de/carwos/openqa-tests.git/': Failed to connect to gitlab.suse.de port 443 after 130347 ms: Connection timed out

Unable to clone Git repository 'https://gitlab.suse.de/carwos/openqa-tests.git#special-image' specified via CASEDIR (see log for details) at /usr/lib/os-autoinst/OpenQA/Isotovideo/Utils.pm line 52.
21827: EXIT 1
```

## Steps to reproduce

Find jobs referencing this ticket with the help of
https://raw.githubusercontent.com/os-autoinst/scripts/master/openqa-query-for-job-label ,
call `openqa-query-for-job-label poo#123556`

##
Acceptance criteria
* **AC1:** Multiple retry attempts are conducted when case dir can not be cloned initially

## Suggestions
* Find cases reproducing the problem with the "Steps to reproduce"
*
Look into what was done recently in #118633
* Ensure git cloning is retried on failures
* Check auto-review references to ensure we have caught all cases linked accordingly in production

Back