Project

General

Profile

Actions

action #104373

open

[qe-core][ci] git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error

Added by livdywan over 2 years ago. Updated about 2 months ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Infrastructure
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

@tonyyuan made me aware of it in chat. Although I couldn't see this occur on master, it's failed multiple times in forks with no apparent changes to the GHA workflow. The compile tests fail to fetch from git:

git clone https://github.com/os-autoinst/os-autoinst.git
Cloning into 'os-autoinst'...
fatal: unable to access 'https://github.com/os-autoinst/os-autoinst.git/': GnuTLS recv error (-54): Error in the pull function.
make: *** [Makefile:12: prepare] Error 128
Error: Process completed with exit code 2.

I wasn't able to re-produce this in podman run --pull=always --rm -it perldocker/perl-tester:5.26, so it could be an issue specific to GitHub infra.

The offending code is specifically the git fetch origin/master in ci.yml.

Suggestions

Actions #1

Updated by kraih over 2 years ago

Could be a GnuTLS specific problem too.

Actions #2

Updated by okurz over 2 years ago

  • Project changed from openQA Project to openQA Tests
  • Category set to Infrastructure
Actions #3

Updated by maritawerner over 2 years ago

Hello Oli, you have moved the ticket to openQa tests and Infrastructure but no label "[..]“ yet. What would be the right label: tools?

Actions #4

Updated by okurz over 2 years ago

  • Subject changed from git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error to [qe-core] git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error

Not tools. This is about os-autoinst-distri-opensuse so in the domain of testing related squads, fallback to qe-core

Actions #5

Updated by tjyrinki_suse about 2 years ago

https://github.com/curl/curl/issues/1707 and https://stackoverflow.com/questions/48035434/git-error-rpc-failed-curl-56-gnutls-recv-error-54-error-in-the-pull-functi indicate it'd be either network problem or "use curl with openssl instead" if I read it correctly. But since it's sometimes, it's maybe a network problem and one could try curl with automatic retry option with some delay for example? (if git allows such a thing)

Actions #6

Updated by tjyrinki_suse about 2 years ago

  • Subject changed from [qe-core] git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error to [qe-core][ci] git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error
  • Description updated (diff)
  • Status changed from New to Workable
  • Start date deleted (2021-12-27)

As hinted by Oliver, possibility to also check if https://github.com/marketplace/actions/retry-step could be used to mitigate the problem.

Actions #7

Updated by slo-gin about 1 year ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #8

Updated by slo-gin about 2 months ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions

Also available in: Atom PDF