Proposal: All downloads should have retry logic
- Dominant language
- Jinja
- Stars
- 168
- Forks
- 77
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 12
Description
**Summary**
3 create_installer_linux jobs failed due to failed downloads. Looks like temporary networking issues, as the files can be downloaded fine now.
**Error message**
```
5.428 E: Failed to fetch http://deb.debian.org/debian-security/pool/updates/main/g/gnupg2/gnupg-utils_2.2.27-2%2bdeb11u3_amd64.deb Error reading from server - read (104: Connection reset by peer) [IP: 146.75.74.132 80]
```
```
Download failed:
504 Server Error: Gateway Time-out for url: https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.32%2B9/OpenJDK11U-jre_x64_linux_hotspot_11.0.32_9.tar.gz.sha256.txt
```
**Links**
- https://ci.adoptium.net/job/build-scripts/job/release/job/create_installer_linux/2350/
- https://ci.adoptium.net/job/build-scripts/job/release/job/create_installer_linux/2349/
- https://ci.adoptium.net/job/build-scripts/job/release/job/create_installer_linux/2351/
**Proposal**
I propose that all downloads have "retry after 5 minutes" logic.
Contributor guide
Research direction
Start with the installer scripts used by the create_installer_linux jobs and trace the download paths involved in the reported Debian and GitHub failures. Confirm the retry policy and scope with maintainers, then verify that the Linux installer jobs recover from temporary network failures.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100