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

Use retry command on circleci build tools uploads #184

Open
agjohnson opened this issue May 31, 2022 · 1 comment
Open

Use retry command on circleci build tools uploads #184

agjohnson opened this issue May 31, 2022 · 1 comment
Assignees
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code

Comments

@agjohnson
Copy link
Contributor

We hit what looks to be an intermittent failure to download a Python tarball:

Downloading python-build...
Cloning into '/home/docs/.asdf/plugins/python/pyenv'...
python-build 3.6.15 /home/docs/.asdf/installs/python/3.6.15
Downloading Python-3.6.15.tar.xz...
-> https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tar.xz
error: failed to download Python-3.6.15.tar.xz

BUILD FAILED (Ubuntu 22.04 using python-build 2.3.1-3-g4456e64c)

Inspect or clean up the working tree at /tmp/python-build.20220531190113.690
Results logged to /tmp/python-build.20220531190113.690.log

Last 10 log lines:
/tmp/python-build.20220531190113.690 ~/.asdf/plugins/python/pyenv
curl: (56) OpenSSL SSL_read: error:0A000119:SSL routines::decryption failed or bad record mac, errno 0

We can maybe protect against this with the retry command:

https://github.com/minfrin/retry

Or even just a basic bash hack of this to retry 3 times.

@agjohnson agjohnson added the Improvement Minor improvement to code label May 31, 2022
@humitos humitos added the Accepted Accepted issue on our roadmap label Jun 1, 2022
@humitos humitos self-assigned this Jun 23, 2023
@humitos humitos changed the title Use retry command on circleci build tools uploads Use retry command on circleci build tools uploads Feb 1, 2024
@humitos
Copy link
Member

humitos commented Feb 1, 2024

I may need to take a look at this since I'm hitting random issues while compiling the build tools today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

2 participants