Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry git clone failures #14

Open
ben-z opened this issue Dec 25, 2024 · 0 comments
Open

Retry git clone failures #14

ben-z opened this issue Dec 25, 2024 · 0 comments

Comments

@ben-z
Copy link
Member

ben-z commented Dec 25, 2024

Sometimes, we get the following error when cloning repos:

│ GitCommandError: Cmd('git') failed due to: exit code(128)                                                                                                                                              │
│   cmdline: git clone -v --                                                                                                                                                                             │
│ https://github.com/WATonomous/sentry-kubernetes-charts.git                                                                                                                                             │
│ /tmp/workspace/https:/github.com/WATonomous/sentry-kubernetes-charts.git                                                                                                                               │
│   stderr: 'Cloning into                                                                                                                                                                                │
│ '/tmp/workspace/https:/github.com/WATonomous/sentry-kubernetes-charts.git'...                                                                                                                          │
│ POST git-upload-pack (175 bytes)                                                                                                                                                                       │
│ POST git-upload-pack (317 bytes)                                                                                                                                                                       │
│ error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received                                                                                                                         │
│ TLS packet.                                                                                                                                                                                            │
│ error: 12 bytes of body are still expected                                                                                                                                                             │
│ fetch-pack: unexpected disconnect while reading sideband packet                                                                                                                                        │
│ fatal: early EOF                                                                                                                                                                                       │
│ fatal: fetch-pack: invalid index-pack output                                                                                                                                                           │
│ '      

This is usually retriable. Implement a retry mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant