dejan2609 commented on PR #24353:
URL: https://github.com/apache/kafka/pull/24353#issuecomment-7109752375
_Note: tested in a Claude session (in order to mimic Github Action CI jobs
as much as possible)._
___
**Note:** this PR is based on trunk (Gradle 9.8.2). It was also tested on
top of the Gradle 9.9.2 upgrade from #24175 (not yet in trunk), because 9.9.x
is the first version that reports the Ant deprecation warnings.
This PR does not depend on #24175: it uses only long-standing Gradle APIs
(`Copy`, `filter { }`, `inputs.properties`) and can be merged into trunk as-is
(before or after the Gradle 9.9.2 upgrade).
The same full round was run on both (`GITHUB_ACTIONS=true
-Pkafka.test.xml.output.dir=quarantined` where relevant; CI scripts with
`GITHUB_WORKSPACE=$PWD` and `GRADLE_TEST_EXIT_CODE` set as CI does):
| Check | Gradle 9.8.2 (trunk + this PR) | Gradle 9.9.2 (trunk + #24175 +
this PR) |
|---|---|---|
| `copyTestXml`, passing tests | 15 XML files copied | 15 XML files copied |
| `junit.py`, passing run | 166 passed, exit 0 | 166 passed, exit 0 |
| `junit.py --export-test-catalog` | exit 0 | exit 0 |
| `copyTestXml`, one test made to fail on purpose | still ran; 15 files
incl. the failure | still ran; 15 files incl. the failure |
| `junit.py`, failing run | failure listed, exit 1 (expected) | failure
listed, exit 1 (expected) |
| `copyTestXml --dry-run` | no dependency on `test` | no dependency on
`test` |
| `plugin.xml` vs. `ReplaceTokens` output | byte-identical | byte-identical |
| Warnings in `api-checker/maven-plugin/build.gradle` | 0 | 0 |
| `processResources`, second run | `UP-TO-DATE` | `UP-TO-DATE` |
| `Task.getAnt()` deprecation warnings | not reported by 9.8.2 | 0 (trunk:
3) |
| `rat.py` / `checkstyle.py` | exit 0 / exit 0 | exit 0 / exit 0 |
The two remaining warnings in `copyTestXml` (implicit lookup of
`isGithubActions` and `projectToJUnitXmlPath` in the parent project) are
already on trunk and appear across the whole build; they are out of scope here.
This PR's own CI run covers the full multi-module and both-JDK case.
--
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]