Actions
action #123556
closedos-autoinst git cloning of test case repo can fail with auto_review:"fatal.*unable to access.*Connection timed out":retry size:M
Description
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
Updated by livdywan almost 2 years ago
Updated by livdywan almost 2 years ago
- Related to action #118633: Re-try on cloning of wheel repositories size:M added
Updated by okurz almost 2 years ago
- Subject changed from os-autoinst git cloning of test case repo can fail with auto_review:"fatal.*unable to access.*Connection timed out":retry to os-autoinst git cloning of test case repo can fail with auto_review:"fatal.*unable to access.*Connection timed out":retry size:M
- Description updated (diff)
- Status changed from New to Workable
Updated by livdywan almost 2 years ago
- Related to action #123873: openQA test using wheel repo fails to clone: auto_review:"unable to access.*wheel.*Could not resolve host: github.com":retry added
Updated by jbaier_cz almost 2 years ago
- Related to action #123888: [os-autoinst] Clone retry attempts seem to be the wrong way around, retrying when not necessary and vice versa size:M added
Updated by jbaier_cz almost 2 years ago
- Status changed from Blocked to Resolved
The git clone should be fine again
[2023-02-09T12:42:31.209747+01:00] [info] [pid:66464] ::: OpenQA::Isotovideo::Utils::clone_git: Cloning git URL 'https://gitlab.suse.de/carwos/openqa-tests.git'
[2023-02-09T12:42:31.209796+01:00] [info] [pid:66464] ::: OpenQA::Isotovideo::Utils::clone_git: Checking out git refspec/branch 'special-image'
[2023-02-09T12:43:01.943362+01:00] [debug] [pid:66464] Cloning into 'openqa-tests'...
[2023-02-09T12:43:01.963580+01:00] [debug] [pid:66464] git hash in /var/lib/openqa/pool/12/openqa-tests: 33e1b5076801759358ffa0158da9eb2c46ea1486
Actions