RFR: 8343190: GHA: Try building JTReg several times
Magnus Ihse Bursie
ihse at openjdk.org
Tue Oct 29 13:42:20 UTC 2024
On Tue, 29 Oct 2024 10:58:34 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> We still sometimes have problems checking out JTReg build dependencies. [JDK-8342988](https://bugs.openjdk.org/browse/JDK-8342988) makes it less pronounced, but it still happens. We might need to do a retries for JTReg builds to make them more reliable.
>
> Additional testing:
> - [x] GHA (seeing retries with deliberately broken JTReg build)
> - [x] GHA (passing JTReg build)
Perhaps we should start the build of jtreg concurrently with the product build; then we can easily wait 10 minutes for it to complete, as long as it is done before the testing begins.
.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?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21758#issuecomment-2444265336
PR Review Comment: https://git.openjdk.org/jdk/pull/21758#discussion_r1820819865
More information about the build-dev
mailing list