[
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]
- kafka main Git branch (trunk)
- GitHub PR's related to Gradle version upgrade (8 to 9):
-- main PR: Gradle upgrade related commits only:
[https://github.com/apache/kafka/pull/19513]
-- helper PR (so to say): used to test issues related to CI build (i.e. with
GitHub Actions <<-->> Develocity scan publishing issues):
[https://github.com/apache/kafka/pull/20450]
{*}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) and
GitHub Action build breaks (with this error: {_}"build scan failed to be
published"{_})
*Test cases:*
* test case #1 (Gradle version 8.14.3):
** git branch: main branch (trunk)
** GitHub Actions for Gradle builds version used in trunk: 4.3.0
** `com.gradle.develocity` Gradle plugin version used in trunk: 3.19 -->>
everything works fine (/)
** however, any upgrade for `com.gradle.develocity` Gradle plugin (to 3.19.1
or more recent) breaks the build (x) (i.e. build scan failed to be published):
***
[https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
*** [https://github.com/apache/kafka/actions/runs/17714050963]
* test case #2 (Gradle version 9.0.0):
** git branch: GitHub PR that bumps gradle version from 8.14.3 to 9.0.0
** GitHub Actions for Gradle builds version used in PR: 4.4.3
** `com.gradle.develocity` Gradle plugin version used in PR: 3.19 -->>
everything works fine (/)
***
[https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
***
[https://github.com/apache/kafka/actions/runs/17714609830/job/50338068122?pr=20450]
*** [https://develocity.apache.org/s/o2v23hp2575mu]
*** [https://develocity.apache.org/s/nui35ngzalmrm]
** same as above (in test case #1): any upgrade for `com.gradle.develocity`
Gradle plugin (to 3.19.1 or more recent) breaks the build (x) (i.e. build scan
failed to be published)
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]
- kafka main Git branch (trunk)
- GitHub PR's related to Gradle version upgrade (8 to 9):
-- main PR: Gradle upgrade related commits only:
[https://github.com/apache/kafka/pull/19513]
-- helper PR (so to say): used to test issues related to CI build (i.e. with
GitHub Actions <<-->> Develocity scan publishing issues):
[https://github.com/apache/kafka/pull/20450]
{*}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) and
GitHub Action build breaks (with this error: {_}"build scan failed to be
published"{_})
*Test cases:*
* test case #1 (Gradle version 8.14.3):
** git branch: main branch (trunk)
** GitHub Actions for Gradle builds version used in trunk: 4.3.0
** `com.gradle.develocity` Gradle plugin version used in trunk: 3.19 -->>
everything works fine (/)
** however, any upgrade for `com.gradle.develocity` Gradle plugin (to 3.19.1
or more recent) breaks the build (x) (i.e. build scan failed to be published):
***
[https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
*** [https://github.com/apache/kafka/actions/runs/17714050963]
* test case #2 (Gradle version 9.0.0):
** git branch: GitHub PR that bumps gradle version from 8.14.3 to 9.0.0
** GitHub Actions for Gradle builds version used in PR: 4.4.3
** `com.gradle.develocity` Gradle plugin version used in PR: 3.19 -->>
everything works fine (/)
***
[https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
*** <build result>
** same as above (in test case #1): any upgrade for `com.gradle.develocity`
Gradle plugin (to 3.19.1 or more recent) breaks the build (x) (i.e. build scan
failed to be published)
> 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]
> - kafka main Git branch (trunk)
> - GitHub PR's related to Gradle version upgrade (8 to 9):
> -- main PR: Gradle upgrade related commits only:
> [https://github.com/apache/kafka/pull/19513]
> -- helper PR (so to say): used to test issues related to CI build (i.e. with
> GitHub Actions <<-->> Develocity scan publishing issues):
> [https://github.com/apache/kafka/pull/20450]
> {*}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) and
> GitHub Action build breaks (with this error: {_}"build scan failed to be
> published"{_})
> *Test cases:*
> * test case #1 (Gradle version 8.14.3):
> ** git branch: main branch (trunk)
> ** GitHub Actions for Gradle builds version used in trunk: 4.3.0
> ** `com.gradle.develocity` Gradle plugin version used in trunk: 3.19 -->>
> everything works fine (/)
> ** however, any upgrade for `com.gradle.develocity` Gradle plugin (to 3.19.1
> or more recent) breaks the build (x) (i.e. build scan failed to be published):
> ***
> [https://github.com/apache/kafka/pull/20450/commits/d930867e8c2b4dd3f79f032e7b17328cf0ea97ef]
> *** [https://github.com/apache/kafka/actions/runs/17714050963]
> * test case #2 (Gradle version 9.0.0):
> ** git branch: GitHub PR that bumps gradle version from 8.14.3 to 9.0.0
> ** GitHub Actions for Gradle builds version used in PR: 4.4.3
> ** `com.gradle.develocity` Gradle plugin version used in PR: 3.19 -->>
> everything works fine (/)
> ***
> [https://github.com/apache/kafka/pull/20450/commits/3b624732469835abc54ce06c2a554361578e7c6a]
> ***
> [https://github.com/apache/kafka/actions/runs/17714609830/job/50338068122?pr=20450]
> *** [https://develocity.apache.org/s/o2v23hp2575mu]
> *** [https://develocity.apache.org/s/nui35ngzalmrm]
> ** same as above (in test case #1): any upgrade for `com.gradle.develocity`
> Gradle plugin (to 3.19.1 or more recent) breaks the build (x) (i.e. build
> scan failed to be published)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)