[
https://issues.apache.org/jira/browse/KAFKA-19707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dejan Stojadinović updated KAFKA-19707:
---------------------------------------
Description:
*Prologue:* this issue was discovered while working on Gradle upgrade (from 8
to 9); related JIRA tickets:
* KAFKA-19174
* KAFKA-19654
*Environment:*
* Develocity instance (version 2025.2.4):
[https://develocity.apache.org/scans?search.rootProjectNames=kafka]
* Gradle version 8.14.3, GitHub Actions for Gradle builds: 4.3.0
* Gradle version 9.0.0, GitHub Actions for Gradle builds: 4.4.3
* note: Github Actions for Gradle is using wrapper Gradle version (definition
is here: .github/actions/setup-gradle/action.yml)
*Scenario:*
* upgrade {{com.gradle.develocity}} Gradle plugin version from a current
version (3.19) to any recent version (3.19.1 and/or more recent)
* GitHub Action build breaks (with this error: "build scan failed to be
published") for both Gradle 8.14.3 and Gradle 9.0.0
* (!) note for commit that contains Gradle 9.0.0: Github Actions build shows
wrong Gradle version (8.14.3)
*Test cases:*
* test case [1]
** baseline: Gradle 8.14.3 /com.gradle.develocity 3.19
** git commit: last main branch (trunk) commit
** build result -->> everything works fine (/) (no surprises here, it's a
trunk after all)
* test case [2]
** Gradle version 8.14.3 / com.gradle.develocity 3.19.2
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
** Github actions error: (x)
[https://github.com/apache/kafka/actions/runs/17714050963]
* test case [3]
** Gradle version 9.0.0 / com.gradle.develocity 3.19
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
** build result -->> everything works fine (/)
** Giithub actions build:
([https://github.com/apache/kafka/actions/runs/17714609830/job/50338068122?pr=20450])
** scan for Java 17: [https://develocity.apache.org/s/o2v23hp2575mu]
** scan for Java 24: [https://develocity.apache.org/s/nui35ngzalmrm]
* test case [4]
** Gradle version 9.0.0 / com.gradle.develocity 3.19.2
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/e1a4ff5a5be79a7a9592795e48e40b2b421a10b0]
** Github actions error: (x)
[https://github.com/apache/kafka/actions/runs/17719128481]
** (!) _note: Gradle version displayed on Github Actions build is wrong:
8.14.3 (not 9.0.0)_
was:
*Prologue:* this issue was discovered while working on Gradle upgrade (from 8
to 9); related JIRA tickets:
* KAFKA-19174
* KAFKA-19654
*Environment:*
* Develocity instance (version 2025.2.4):
[https://develocity.apache.org/scans?search.rootProjectNames=kafka]
* Gradle version 8.14.3, GitHub Actions for Gradle builds: 4.3.0
* Gradle version 9.0.0, GitHub Actions for Gradle builds: 4.4.3
* note: Github Actions for Gradle is using wrapper Gradle version (definition
is here: .github/actions/setup-gradle/action.yml)
*Scenario:*
* upgrade {{com.gradle.develocity}} Gradle plugin version from a current
version (3.19) to any recent version (3.19.1 and/or more recent)
* GitHub Action build breaks (with this error: "build scan failed to be
published") for both Gradle 8.14.3 and Gradle 9.0.0
* (!) note for commit that contains Gradle 9.0.0: Github Actions build shows
wrong Gradle version (8.14.3)
*Test cases:*
* test case [1]
** baseline: Gradle 8.14.3 /com.gradle.develocity 3.19
** git commit: last main branch (trunk) commit
** build result -->> everything works fine (/) (no surprises here, it's a
trunk after all)
* test case [2]
** Gradle version 8.14.3 / com.gradle.develocity 3.19.2
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
** Github actions error: (x)
[https://github.com/apache/kafka/actions/runs/17714050963]
* test case [3]
** Gradle version 9.0.0 / com.gradle.develocity 3.19
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
** build result -->> everything works fine (/)
** Giithub actions build
[link]([https://github.com/apache/kafka/actions/runs/17714609830/job/50338068122?pr=20450])
** scan for Java 17: [https://develocity.apache.org/s/o2v23hp2575mu]
** scan for Java 24: [https://develocity.apache.org/s/nui35ngzalmrm]
* test case [4]
** Gradle version 9.0.0 / com.gradle.develocity 3.19.2
** git commit:
[https://github.com/apache/kafka/pull/20450/commits/e1a4ff5a5be79a7a9592795e48e40b2b421a10b0]
** Github actions error: (x)
[https://github.com/apache/kafka/actions/runs/17719128481]
** (!) _note: Gradle version displayed on Github Actions build is wrong:
8.14.3 (not 9.0.0)_
> Develocity Gradle plugin version can't be upgraded (CI build fails with
> error: "build scan failed to be published")
> -------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-19707
> URL: https://issues.apache.org/jira/browse/KAFKA-19707
> Project: Kafka
> Issue Type: Task
> Components: build
> Reporter: Dejan Stojadinović
> Priority: Minor
> Labels: CI, GitHub, Github, build, gradle, scan, update, upgrade
>
> *Prologue:* this issue was discovered while working on Gradle upgrade (from 8
> to 9); related JIRA tickets:
> * KAFKA-19174
> * KAFKA-19654
> *Environment:*
> * Develocity instance (version 2025.2.4):
> [https://develocity.apache.org/scans?search.rootProjectNames=kafka]
> * Gradle version 8.14.3, GitHub Actions for Gradle builds: 4.3.0
> * Gradle version 9.0.0, GitHub Actions for Gradle builds: 4.4.3
> * note: Github Actions for Gradle is using wrapper Gradle version
> (definition is here: .github/actions/setup-gradle/action.yml)
> *Scenario:*
> * upgrade {{com.gradle.develocity}} Gradle plugin version from a current
> version (3.19) to any recent version (3.19.1 and/or more recent)
> * GitHub Action build breaks (with this error: "build scan failed to be
> published") for both Gradle 8.14.3 and Gradle 9.0.0
> * (!) note for commit that contains Gradle 9.0.0: Github Actions build shows
> wrong Gradle version (8.14.3)
> *Test cases:*
> * test case [1]
> ** baseline: Gradle 8.14.3 /com.gradle.develocity 3.19
> ** git commit: last main branch (trunk) commit
> ** build result -->> everything works fine (/) (no surprises here, it's a
> trunk after all)
> * test case [2]
> ** Gradle version 8.14.3 / com.gradle.develocity 3.19.2
> ** git commit:
> [https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
> ** Github actions error: (x)
> [https://github.com/apache/kafka/actions/runs/17714050963]
> * test case [3]
> ** Gradle version 9.0.0 / com.gradle.develocity 3.19
> ** git commit:
> [https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
> ** build result -->> everything works fine (/)
> ** Giithub actions build:
> ([https://github.com/apache/kafka/actions/runs/17714609830/job/50338068122?pr=20450])
> ** scan for Java 17: [https://develocity.apache.org/s/o2v23hp2575mu]
> ** scan for Java 24: [https://develocity.apache.org/s/nui35ngzalmrm]
> * test case [4]
> ** Gradle version 9.0.0 / com.gradle.develocity 3.19.2
> ** git commit:
> [https://github.com/apache/kafka/pull/20450/commits/e1a4ff5a5be79a7a9592795e48e40b2b421a10b0]
> ** Github actions error: (x)
> [https://github.com/apache/kafka/actions/runs/17719128481]
> ** (!) _note: Gradle version displayed on Github Actions build is wrong:
> 8.14.3 (not 9.0.0)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)