Skip to content

Conversation

dejan2609
Copy link
Contributor

…rsion (i.e. file `unixStartScript.txt`) was being referenced
details:
 - gradle:       8.14.3 -->> 9.0.0
    - https://github.com/gradle/gradle/releases/tag/v9.0.0
    - https://gradle.org/whats-new/gradle-9
    - https://docs.gradle.org/9.0.0/userguide/upgrading_major_version_9.html#changes_major_9
 - shadow plugin: 8.3.6 -->> 9.0.2
    - https://github.com/GradleUp/shadow/releases/tag/9.0.0
    - https://github.com/GradleUp/shadow/releases/tag/9.0.1
    - https://github.com/GradleUp/shadow/releases/tag/9.0.2

refactoring (performed in order to accomodate Gradle 9 breaking changes):
 - tasks `siteDocsTar` and `releaseTarGz` are moved out of `core` (and into a new dummy module: `distribution`); note that distribution destination folder stays as-is (:core)
 - `preserveFileTimestamps` Tar taks property value explicitly set to `true` (default values: Gradle 8: `true`, Gradle 9: 'false')
 - files and folders permissions are introduced
 - git placeholder file (.gitkeep) is added in order to preserve `distribution` folder (Apache Rat check for that file is skipped)
 - `wrapper.gradle` changes: no need to check number of dots for Gradle versions >=9 anymore
 - redundant 'gradleVersion' ext property is removed (in favor of 'versions.gradle' usage)
… dependencies/plugins and GitHub Actions

details:
 - `setup-gradle` GitHub Action: 4.3.0 -->> 4.4.3 (note: this version was tested against Gradle 9)
 - grgit: 4.1.1 -->> 5.3.0
 - gradle versions plugin: 0.48.0 -->> 0.52.0
 - owasp dependency check : 8.2.1 -->> 12.1.3
 - spotbugs: 6.2.3  -->> 6.2.5
 - spotless: 6.25.0 -->> 7.2.1
 - Zinc Scala compiler: 1.9.2 -->> 1.10.8
…hen no test are discovered (i.e. solution for KAFKA-16801 is expanded)
note: spotbugs related Gradle tasks temporarily are disabled for Java 25
@github-actions github-actions bot added triage PRs from the community build Gradle build or GitHub Actions labels Sep 19, 2025
…o more places)

note:
`build / JUnit tests Java 25-ea` Github Action results with a previous commit: https://github.com/apache/kafka/actions/runs/17853628508/job/50769215024?pr=20561

```
Gradle task had a failure exit code. Failing this script.
25373 tests cases run in 1h17m30s.

17471 PASSED ✅, 5676 FAILED ❌, 0 FLAKY ⚠️ , 0 SKIPPED 🙈, 0 QUARANTINED 😷, and 0 errors.
Error: Process completed with exit code 1.
Error: $GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 6145k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary
```
@dejan2609
Copy link
Contributor Author

Thank you @brandboat 👌

matrix:
# If we change these, make sure to adjust ci-complete.yml
java: [ 24, 17 ]
java: [ 25-ea, 17 ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this "25-ea" instead of "25"?

Copy link
Contributor Author

@dejan2609 dejan2609 Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dejan2609 dejan2609 marked this pull request as draft September 23, 2025 15:18
@github-actions github-actions bot removed the triage PRs from the community label Sep 24, 2025
@dejan2609
Copy link
Contributor Author

It seems that Github Actions now supports Java 25 build; let's test that.

@dejan2609 dejan2609 marked this pull request as ready for review September 24, 2025 10:51
@dejan2609
Copy link
Contributor Author

Lots of test are failing when tested against Java 25:

 Gradle task had a failure exit code. Failing this script.
25373 tests cases run in 1h18m49s.

17471 PASSED ✅, 5676 FAILED ❌, 0 FLAKY ⚠️ , 0 SKIPPED 🙈, 0 QUARANTINED 😷, and 0 errors.
Error: Process completed with exit code 1.
Error: $GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 6105k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary

@dejan2609
Copy link
Contributor Author

And also: some references to Java 24 are still present.

@dejan2609 dejan2609 marked this pull request as draft September 24, 2025 17:28
@srdo
Copy link
Contributor

srdo commented Sep 24, 2025

@dejan2609 The references to Java 24 are likely due to #20295 (comment)

It might make sense to add a comment to ci-complete.yml, so the next person to come across this doesn't have to figure that out again :)

@dejan2609
Copy link
Contributor Author

Much obliged @srdo !

I was this close from digging into all related commits/PR's to figure out what is going on:
image

Yes, it does make sense to add a small comment, I will do that for sure 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Gradle build or GitHub Actions ci-approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants