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]...

Marked as reviewed by ihse (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21803#pullrequestreview-2409048940

Reply via email to