This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new d148c22  [SPARK-55371] Increase `Gradle` retry setting to stablize CIs
d148c22 is described below

commit d148c22e5d9ecda76b3b5f96ce4329f3ba9cac96
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Feb 5 10:01:29 2026 -0800

    [SPARK-55371] Increase `Gradle` retry setting to stablize CIs
    
    ### What changes were proposed in this pull request?
    
    This PR aims to increase `Gradle` retry setting to stablize CIs.
    
    - `systemProp.org.gradle.internal.repository.max.retries`: 3 -> 10
    - `systemProp.org.gradle.internal.repository.initial.backoff`: 125ms -> 
500ms
    
    ### Why are the changes needed?
    
    `Gradle` build is flaky in CI environment like the following. We had better 
do more re-tries.
    - https://github.com/apache/spark-kubernetes-operator/pull/485
      - 
https://github.com/apache/spark-kubernetes-operator/actions/runs/21708261370/job/62604908573?pr=485
    
    <img width="778" height="398" alt="Screenshot 2026-02-05 at 02 49 06" 
src="https://github.com/user-attachments/assets/f34f8451-3d7f-46e0-b7b2-5d4684418681";
 />
    
    ```
    Execution failed for task ':spark-operator-api:compileJava'.
    > Error while evaluating property 'javaCompiler' of task 
':spark-operator-api:compileJava'.
       > Failed to calculate the value of task 
':spark-operator-api:compileJava' property 'javaCompiler'.
          > Cannot find a Java installation on your machine (Linux 
6.14.0-1014-azure aarch64) matching: {languageVersion=25, vendor=Azul Zulu, 
implementation=vendor-specific, nativeImageCapable=false}. No matching 
toolchain could be found in the configured toolchain download repositories.
    ```
    
    ```
    Execution failed for task ':spark-operator-api:compileJava'.
    > Error while evaluating property 'javaCompiler' of task 
':spark-operator-api:compileJava'.
      > Failed to calculate the value of task ':spark-operator-api:compileJava' 
property 'javaCompiler'.
        > Cannot find a Java installation on your machine (Linux 
6.11.0-1018-azure amd64) matching: {languageVersion=25, vendor=Azul Zulu, 
implementation=vendor-specific, nativeImageCapable=false}. Some toolchain 
resolvers had internal failures: foojay (Requesting vendor list failed: <html>
             <head><title>503 Service Temporarily Unavailable</title></head>
    ```
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: `Gemini 3 Pro (High)` on `Antigravity`.
    
    Closes #486 from dongjoon-hyun/SPARK-55371.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 gradle.properties | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gradle.properties b/gradle.properties
index d407788..f52e1dd 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,3 +17,5 @@
 
 # Gradle
 org.gradle.jvmargs=-Xmx4g
+systemProp.org.gradle.internal.repository.max.retries=10
+systemProp.org.gradle.internal.repository.initial.backoff=500


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to