On Tue, 29 Oct 2024 14:16:57 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

>> .github/actions/build-jtreg/action.yml line 56:
>> 
>>> 54:       run: |
>>> 55:         # Try building JTReg several times, backing off exponentially 
>>> on failure.
>>> 56:         # ~500 seconds in total should be enough to capture most of the 
>>> transient
>> 
>> Since building jtreg will block building the code (not just running tests), 
>> this feels like a potentially quite long waiting time. 
>> 
>> Are we sure waiting even helps? What kind of issues is it we are 
>> encoutering? Downloading resources from the net?
>
> Well, we are seeing transient network errors like:
> 
> 
> [build.sh][INFO] Downloading 
> https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip to 
> /home/runner/work/jdk/jdk/jtreg/src/make/../build/deps/apache-ant-1.10.8-bin.zip
> Error: sh][ERROR] wget exited with exit code 4 
> 
> 
> wget exit code 4 means "Network failure". We "know" waiting helps in the 
> sense that job restarts help.

I _heavily suspect_ GH cloud instances are getting throttled by apache.org when 
pulling the dependencies. If so, backoff should help.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21758#discussion_r1820903727

Reply via email to