dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5202864379

   Update: verified once more locally (on top of Gradle 9.6.1 that was recently 
merged into trunk):
    - `./gradlew build -x test` passes (spotlessCheck + checkstyle + spotbugs + 
compile all green) :white_check_mark: 
    - `./gradlew clean spotlessApply --rerun-tasks --no-build-cache` ran 1000 
times with 0 failures :white_check_mark: 
   
   ```
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo 
"**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running 
again... ###"
       echo 
"**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$ date
   Tue 28 Jul 14:44:06 CEST 2026
   dejan@dejan:~/kafka$
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo 
"**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running 
again... ###"
       echo 
"**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$ date
   Thu  6 Aug 11:28:39 CEST 2026
   dejan@dejan-HP-ProBook-450-G7:~/kafka$
   ```
   
   ```
   BUILD SUCCESSFUL in 5s
   207 actionable tasks: 207 executed
   Consider enabling configuration cache to speed up this build: 
https://docs.gradle.org/9.6.1/userguide/configuration_cache_enabling.html
   **************************************************************************
   ### Build succeeded (execution number: 1002) -->> running again... ###
   **************************************************************************
   
   > Configure project :
   Starting build with version 4.4.0-SNAPSHOT (commit id 11b3ec95) using Gradle 
9.6.1, Java 25 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=8, 
maxScalacThreads=8, maxTestRetries=0
   
   [Incubating] Problems report is available at: 
file:///home/dejan/kafka/build/reports/problems/problems-report.html
   
   Deprecated Gradle features were used in this build, making it incompatible 
with Gradle 10.
   
   You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to 
https://docs.gradle.org/9.6.1/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.
   
   BUILD SUCCESSFUL in 5s
   207 actionable tasks: 207 executed
   Consider enabling configuration cache to speed up this build: 
https://docs.gradle.org/9.6.1/userguide/configuration_cache_enabling.html
   **************************************************************************
   ### Build succeeded (execution number: 1003) -->> running again... ###
   **************************************************************************
   ```


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