-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Component/s: Evergreen Tools
-
None
-
Not Needed
The download script occasionally fails with this type of error: "curl: (18) transfer closed with X bytes", for example"
[2023/05/08 20:00:48.612] linux-rhel-8.4-x86_64 [2023/05/08 20:00:48.612] http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel80-7.0.0-rc0.tgz [2023/05/08 20:00:49.494] curl: (18) transfer closed with 116339528 bytes remaining to read [2023/05/08 20:00:49.494] Command 'shell.exec' in function 'bootstrap mongo-orchestration' failed: shell script encountered problem: exit code 18.
The problem is that this type of error isn't retried by default. We need to use the --retry-all-errors flag: https://everything.curl.dev/usingcurl/downloads/retry#retry-on-any-and-all-errors
This flag is a fairly recent addition in curl 7.71 released June 24 2020:
Fixed in 7.71.0 - June 24 2020 Changes: ... - tool: Add option --retry-all-errors to retry on any error
We'll need to add this flag in a way that doesn't break if some of the curl versions in EVG are <7.71.
- related to
-
PYTHON-3721 Stop Testing on AWS Linux 2018
- Closed