damccorm opened a new pull request, #41065:
URL: https://github.com/apache/beam/pull/41065

   ## Summary
   Fixes flaky Gradle wrapper download failures in `Java Tests` (e.g. 
https://github.com/apache/beam/actions/runs/42317153978 
`SocketTimeoutException: Read timed out`, 
https://github.com/apache/beam/actions/runs/42045645481 `HTTP response code: 
504`, and https://github.com/apache/beam/actions/runs/41878489533 
`SSLHandshakeException` when downloading `gradle-8.14.3-bin.zip`).
   
   1. Increases `networkTimeout` in `gradle/wrapper/gradle-wrapper.properties` 
from `10000` (10s) to `60000` (60s) so downloading the 137MB Gradle 
distribution does not time out on brief socket read stalls.
   2. In `.github/actions/gradle-command-self-hosted-action/action.yml`, when 
the Gradle wrapper distribution is not already present in 
`$GRADLE_USER_HOME/wrapper/dists`, runs `./gradlew --version --no-daemon` in a 
3-attempt retry loop before executing the main Gradle command.
   
   ## Verification
   - Triggered `Java Tests` on this branch: 
https://github.com/apache/beam/actions/runs/42322290668


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to