action #104373
open[qe-core][ci] git fetch origin master in distri-opensuse perl tests sometimes fails with GnuTLS recv error
0%
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¶
- Confirm what the fetch is needed for, maybe it could simply be dropped
- Look for relevant upstream issues or report one
- If all else fails, try https://github.com/marketplace/actions/retry-step
Updated by okurz over 2 years ago
- Project changed from openQA Project to openQA Tests
- Category set to Infrastructure
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?
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
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)
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.
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.
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.