Skip to content

Use retry command on circleci build tools uploads #184

Open
@agjohnson

Description

@agjohnson

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.

Metadata

Metadata

Assignees

Labels

AcceptedAccepted issue on our roadmapImprovementMinor improvement to code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions