hachikuji opened a new pull request, #12657: URL: https://github.com/apache/kafka/pull/12657
We have recently been seeing a lot of build failures: ``` [2022-09-18T10:01:25.947Z] * What went wrong: [2022-09-18T10:01:25.947Z] Execution failed for task ':core:unitTest'. [2022-09-18T10:01:25.947Z] > Process 'Gradle Test Executor 116' finished with non-zero exit value 1 ``` It is difficult to track this back from the build output because we don't know which test was executing on 'Gradle Test Executor 116.' There is a test logging property `displayGranularity`, which lets us see the executor for each test run: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.logging.TestLogging.html#org.gradle.api.tasks.testing.logging.TestLogging:displayGranularity. When `displayGranularity` is set to 2 (the default), we get the following: ``` AdminZkClientTest > testGetBrokerMetadatas() PASSED ``` When set to 0, it looks like this instead: ``` Gradle Test Run :core:test > Gradle Test Executor 76 > AdminZkClientTest > testGetBrokerMetadatas() PASSED ``` Hopefully having this extra information makes it easier to debug failures. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
