RFR: 8361288: Fix build of JTReg: wget exited with exit code 4 [v2]

Aleksey Shipilev shade at openjdk.org
Fri Jul 4 13:27:49 UTC 2025


On Thu, 3 Jul 2025 11:00:28 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:

>> https://github.com/jankratochvil/jdk21u-dev/actions/runs/16026488095/job/45215623689
>> [build.sh][INFO] Downloading https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip to /home/runner/work/jdk21u-dev/jdk21u-dev/jtreg/src/make/../build/deps/apache-ant-1.10.8-bin.zip
>> Error: sh][ERROR] wget exited with exit code 4
>> Error: Process completed with exit code 1.
>> 
>> It is enough to make an empty commit "retry CI" and push it to re-run the Github CI.
>> It happened for me twice:
>> https://github.com/openjdk/jdk21u-dev/pull/1663#event-18416642257
>> -> (I did not save the log, unaware how to access it now)
>> https://github.com/openjdk/jdk21u-dev/pull/1664#commits-pushed-c00e2ab
>> -> https://github.com/jankratochvil/jdk21u-dev/actions/runs/16026488095/job/45215623689
>
> Jan Kratochvil has updated the pull request incrementally with one additional commit since the last revision:
> 
>   retries 20->3
>   add a sleep 30

> > Not each time, once per PR, then it gets cached :) It is a small consolation, though. It would be better once I have enough mental fortitude to complete [JDK-8343546](https://bugs.openjdk.org/browse/JDK-8343546) -- then jtreg would be cached across different PRs.
> 
> FWIW, I now have a version that works, but it is somewhat ugly: [master...shipilev:JDK-8343546-gha-master-cache](https://github.com/openjdk/jdk/compare/master...shipilev:JDK-8343546-gha-master-cache) :)

Got a much cleaner version here: https://github.com/openjdk/jdk/pull/26134

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26100#issuecomment-3036278152


More information about the build-dev mailing list