On Thu, 31 Oct 2024 12:09:25 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> [JDK-8343190](https://bugs.openjdk.org/browse/JDK-8343190) was in mainline 
> for a few days. I have now caught the case where JTReg fails to build due to 
> network failure (wget exit code 4):
> 
> 
> Run # Try building JTReg several times, backing off exponentially on failure.
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 1 seconds before retrying
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 2 seconds before retrying
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 4 seconds before retrying
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 8 seconds before retrying
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 16 seconds before retrying
> [build.sh][INFO] CYGWIN_OR_MSYS=0
> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
> [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
> Failure. Waiting 32 seconds before retrying
> [build.sh]...

This pull request has now been integrated.

Changeset: 2a4d9d9b
Author:    Aleksey Shipilev <sh...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/2a4d9d9b0d34c84adeae78fad18a96c286c569e8
Stats:     18 lines in 1 file changed: 0 ins; 16 del; 2 mod

8343379: [BACKOUT] 8343190 GHA: Try building JTReg several times

Reviewed-by: erikj, ihse

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

PR: https://git.openjdk.org/jdk/pull/21803

Reply via email to