Project

General

Profile

Actions

action #123556

closed

os-autoinst git cloning of test case repo can fail with auto_review:"fatal.*unable to access.*Connection timed out":retry size:M

Added by okurz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-01-23
Due date:
% Done:

0%

Estimated time:

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

Related issues 3 (0 open3 closed)

Related to openQA Project - action #118633: Re-try on cloning of wheel repositories size:MResolvedlivdywan2022-10-13

Actions
Related to openQA Project - action #123873: openQA test using wheel repo fails to clone: auto_review:"unable to access.*wheel.*Could not resolve host: github.com":retryResolvedjbaier_cz2023-02-01

Actions
Related to openQA Project - action #123888: [os-autoinst] Clone retry attempts seem to be the wrong way around, retrying when not necessary and vice versa size:MResolvedjbaier_cz2023-02-022023-02-21

Actions
Actions #2

Updated by livdywan over 1 year ago

  • Related to action #118633: Re-try on cloning of wheel repositories size:M added
Actions #3

Updated by okurz over 1 year 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
Actions #4

Updated by livdywan over 1 year 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
Actions #5

Updated by jbaier_cz over 1 year ago

  • Assignee set to jbaier_cz
Actions #6

Updated by jbaier_cz over 1 year 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
Actions #7

Updated by jbaier_cz over 1 year ago

  • Status changed from Workable to Blocked

Blocked by #123888

Actions #8

Updated by jbaier_cz over 1 year 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

Also available in: Atom PDF