Project

General

Profile

action #104373

Updated by tjyrinki_suse over 2 years ago

## 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](https://github.com/os-autoinst/os-autoinst-distri-opensuse/runs/4640628250?check_suite_focus=true) 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](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/c27b0d46363113b1ec1506128d7b8687fc7aed1a/.github/workflows/ci.yml#L39). 

 ## 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

Back