You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "andyhuangdev (via GitHub)" <gi...@apache.org> on 2026/09/06 10:56:32 UTC

[PR] MINOR: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

andyhuangdev opened a new pull request, #23384:
URL: https://github.com/apache/kafka/pull/23384

   The existing Testcontainers version can fail Docker detection on Docker 29 due to Docker API incompatibility, causing ClientAssertionKeycloakIntegrationTest to be skipped.
   
   This change upgrades Testcontainers from 1.20.2 to 2.0.5 and testcontainers-keycloak from 3.5.1 to 4.3.1. It also updates the JUnit integration artifact to testcontainers-junit-jupiter, matching the Testcontainers 2.x naming.
   
   ### Testing
   
   - Ran ClientAssertionKeycloakIntegrationTest: all 26 tests passed with zero failures or skips.
   - Verified with clients:dependencyInsight that Testcontainers core and JUnit integration both resolve to 2.0.5.
   
   Commands:
   ```shell
   ./gradlew clients:dependencyInsight \
     --dependency testcontainers \
     --configuration testRuntimeClasspath
   
   ./gradlew clients:cleanTest clients:test \
     --tests org.apache.kafka.common.security.oauthbearer.ClientAssertionKeycloakIntegrationTest


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on PR #23384:
URL: https://github.com/apache/kafka/pull/23384#issuecomment-5558846600

   @andyhuangdev The PR title should include the JIRA number. Also, please attach the results from running it on your local machine.


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on PR #23384:
URL: https://github.com/apache/kafka/pull/23384#issuecomment-5565567024

   ### Test results
   
   `ClientAssertionKeycloakIntegrationTest`: 26 tests passed, 0 failures, 0 skipped.
   
   <details>
   <summary>Full test output</summary>
   
   ```text
   Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
   > Task :api-checker:gradle-plugins:pluginDescriptors UP-TO-DATE
   > Task :api-checker:gradle-plugins:processResources UP-TO-DATE
   > Task :api-checker:core:compileJava UP-TO-DATE
   > Task :api-checker:core:processResources NO-SOURCE
   > Task :api-checker:core:classes UP-TO-DATE
   > Task :api-checker:core:jar UP-TO-DATE
   > Task :api-checker:gradle-plugins:compileJava UP-TO-DATE
   > Task :api-checker:gradle-plugins:classes UP-TO-DATE
   > Task :api-checker:gradle-plugins:jar UP-TO-DATE
   
   > Configure project :
   Starting build with version 4.5.0-SNAPSHOT (commit id 8189312b) using Gradle 9.7.1, Java 17 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
   
   > Task :clients:cleanTest
   > Task :test-common:test-common-util:compileJava UP-TO-DATE
   > Task :test-common:test-common-util:processResources UP-TO-DATE
   > Task :test-common:test-common-util:classes UP-TO-DATE
   > Task :test-common:test-common-util:jar UP-TO-DATE
   > Task :generator:compileJava UP-TO-DATE
   > Task :generator:processResources NO-SOURCE
   > Task :generator:classes UP-TO-DATE
   > Task :generator:jar UP-TO-DATE
   > Task :clients:processResources UP-TO-DATE
   > Task :clients:processMessages UP-TO-DATE
   > Task :clients:compileJava UP-TO-DATE
   > Task :clients:classes UP-TO-DATE
   > Task :clients:createVersionFile
   > Task :clients:shadowJar
   > Task :clients:jar SKIPPED
   > Task :clients:compileTestFixturesJava UP-TO-DATE
   > Task :clients:processTestFixturesResources NO-SOURCE
   > Task :clients:testFixturesClasses UP-TO-DATE
   > Task :clients:testFixturesJar UP-TO-DATE
   > Task :clients:checkstyleMain UP-TO-DATE
   > Task :clients:processTestMessages UP-TO-DATE
   > Task :clients:compileTestJava UP-TO-DATE
   > Task :clients:processTestResources UP-TO-DATE
   > Task :clients:testClasses UP-TO-DATE
   > Task :clients:checkstyleTest UP-TO-DATE
   > Task :clients:spotbugsMain UP-TO-DATE
   
   > Task :clients:test
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testSwitchFromFileBasedToLocallyGenerated() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithExpiredAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientSecretFormatterUsesBasicAuth() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testMissingTokenEndpointUrl() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testFallbackToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testReconfigureFromAssertionToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testEncryptedRsaPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testEncryptedPrivateKeyWithWrongPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testMissingPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testEncryptedEcPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testTokenRefreshWithClientAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testMultipleTokenRetrievalsProduceDifferentTokens() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_ES256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_RS256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testNetworkFailureUnreachableTokenEndpoint() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testFileAssertionTakesPrecedence() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithMalformedAssertionFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testNonexistentPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidAudience() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testSwitchFromLocallyGeneratedToFileBased() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithFileBasedJWT() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testHttpRequestFormatCompliance() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testUnretryableHttpErrorFailsFast() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientCredentialsJwtRetrieverLifecycle() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testAssertionConfigOverridesClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 1 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidSignature() PASSED
   
   > Task :clients:copyTestXml SKIPPED
   
   [Incubating] Problems report is available at: file:///Users/andyhuang/Developer/kafka/build/reports/problems/problems-report.html
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/9.7.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD SUCCESSFUL in 31s
   26 actionable tasks: 4 executed, 22 up-to-date
   ```
   
   </details>


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on PR #23384:
URL: https://github.com/apache/kafka/pull/23384#issuecomment-5560026632

   ### Test results
   
   `ClientAssertionKeycloakIntegrationTest`: 26 tests passed, 0 failures, 0 skipped.
   
   <details>
   <summary>Full test output</summary>
   
   ```text
   > Task :api-checker:gradle-plugins:pluginDescriptors UP-TO-DATE
   > Task :api-checker:gradle-plugins:processResources UP-TO-DATE
   > Task :api-checker:core:compileJava UP-TO-DATE
   > Task :api-checker:core:processResources NO-SOURCE
   > Task :api-checker:core:classes UP-TO-DATE
   > Task :api-checker:core:jar UP-TO-DATE
   > Task :api-checker:gradle-plugins:compileJava UP-TO-DATE
   > Task :api-checker:gradle-plugins:classes UP-TO-DATE
   > Task :api-checker:gradle-plugins:jar UP-TO-DATE
   
   > Configure project :
   Starting build with version 4.5.0-SNAPSHOT (commit id 049430b7) using Gradle 9.7.1, Java 17 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
   
   > Task :clients:cleanTest
   > Task :test-common:test-common-util:compileJava UP-TO-DATE
   > Task :test-common:test-common-util:processResources UP-TO-DATE
   > Task :test-common:test-common-util:classes UP-TO-DATE
   > Task :clients:processResources UP-TO-DATE
   > Task :test-common:test-common-util:jar UP-TO-DATE
   > Task :generator:compileJava UP-TO-DATE
   > Task :clients:createVersionFile
   > Task :generator:processResources NO-SOURCE
   > Task :generator:classes UP-TO-DATE
   > Task :clients:processTestFixturesResources NO-SOURCE
   > Task :clients:processTestResources UP-TO-DATE
   > Task :generator:jar UP-TO-DATE
   > Task :clients:processMessages UP-TO-DATE
   > Task :clients:compileJava UP-TO-DATE
   > Task :clients:classes UP-TO-DATE
   > Task :clients:shadowJar
   > Task :clients:jar SKIPPED
   > Task :clients:compileTestFixturesJava UP-TO-DATE
   > Task :clients:testFixturesClasses UP-TO-DATE
   > Task :clients:testFixturesJar UP-TO-DATE
   > Task :clients:checkstyleMain UP-TO-DATE
   > Task :clients:processTestMessages UP-TO-DATE
   > Task :clients:compileTestJava UP-TO-DATE
   > Task :clients:testClasses UP-TO-DATE
   > Task :clients:checkstyleTest UP-TO-DATE
   > Task :clients:spotbugsMain UP-TO-DATE
   
   > Task :clients:test
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testSwitchFromFileBasedToLocallyGenerated() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithExpiredAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientSecretFormatterUsesBasicAuth() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testMissingTokenEndpointUrl() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testFallbackToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testReconfigureFromAssertionToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testEncryptedRsaPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testEncryptedPrivateKeyWithWrongPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testMissingPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testEncryptedEcPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testTokenRefreshWithClientAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testMultipleTokenRetrievalsProduceDifferentTokens() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_ES256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_RS256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testNetworkFailureUnreachableTokenEndpoint() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testFileAssertionTakesPrecedence() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithMalformedAssertionFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testNonexistentPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidAudience() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testSwitchFromLocallyGeneratedToFileBased() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithFileBasedJWT() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testHttpRequestFormatCompliance() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testUnretryableHttpErrorFailsFast() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientCredentialsJwtRetrieverLifecycle() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testAssertionConfigOverridesClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 3 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidSignature() PASSED
   
   > Task :clients:copyTestXml SKIPPED
   
   [Incubating] Problems report is available at: file:///Users/andyhuang/Developer/kafka/build/reports/problems/problems-report.html
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/9.7.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD SUCCESSFUL in 33s
   26 actionable tasks: 4 executed, 22 up-to-date
   Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.7.1/userguide/configuration_cache_enabling.html
   
   ```
   
   </details>


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on code in PR #23384:
URL: https://github.com/apache/kafka/pull/23384#discussion_r3946578488


##########
gradle/dependencies.gradle:
##########
@@ -130,8 +130,8 @@ versions += [
   slf4j: "1.7.36",
   snappy: "1.1.10.7",
   spotbugs: "4.9.8",
-  testcontainers: "1.20.2",
-  testcontainersKeycloak: "3.5.1",
+  testcontainers: "2.0.5",

Review Comment:
   Agreed! I'll update it later.



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040 Upgrade testcontainers-keycloak to 4.3.1 for Docker 29 compatibility [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #23384:
URL: https://github.com/apache/kafka/pull/23384


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #23384:
URL: https://github.com/apache/kafka/pull/23384#discussion_r3944154484


##########
gradle/dependencies.gradle:
##########
@@ -240,7 +240,7 @@ libs += [
   snappy: "org.xerial.snappy:snappy-java:$versions.snappy",
   spotbugs: "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs",
   swaggerAnnotations: "io.swagger.core.v3:swagger-annotations:$swaggerVersion",
-  testcontainersJunitJupiter: "org.testcontainers:junit-jupiter:$versions.testcontainers",
+  testcontainersJunitJupiter: "org.testcontainers:testcontainers-junit-jupiter:$versions.testcontainers",

Review Comment:
   the test does not use it actually, so we can remove it :)



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "m1a2st (via GitHub)" <gi...@apache.org>.
m1a2st commented on code in PR #23384:
URL: https://github.com/apache/kafka/pull/23384#discussion_r3946374085


##########
gradle/dependencies.gradle:
##########
@@ -130,8 +130,8 @@ versions += [
   slf4j: "1.7.36",
   snappy: "1.1.10.7",
   spotbugs: "4.9.8",
-  testcontainers: "1.20.2",
-  testcontainersKeycloak: "3.5.1",
+  testcontainers: "2.0.5",

Review Comment:
   The `testcontainers` variable is now unused, its only consumer was the `testcontainersJunitJupiter` library alias. We can consider removing it.



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on PR #23384:
URL: https://github.com/apache/kafka/pull/23384#issuecomment-5558944144

   ### Test results
   
   `ClientAssertionKeycloakIntegrationTest`: 26 tests passed, 0 failures, 0 skipped.
   
   <details>
   <summary>Full test output</summary>
   
   ```text
   > Task :api-checker:gradle-plugins:pluginDescriptors UP-TO-DATE
   > Task :api-checker:gradle-plugins:processResources UP-TO-DATE
   > Task :api-checker:core:compileJava UP-TO-DATE
   > Task :api-checker:core:processResources NO-SOURCE
   > Task :api-checker:core:classes UP-TO-DATE
   > Task :api-checker:core:jar UP-TO-DATE
   > Task :api-checker:gradle-plugins:compileJava UP-TO-DATE
   > Task :api-checker:gradle-plugins:classes UP-TO-DATE
   > Task :api-checker:gradle-plugins:jar UP-TO-DATE
   
   > Configure project :
   Starting build with version 4.5.0-SNAPSHOT (commit id 40d71eb8) using Gradle 9.7.1, Java 17 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
   
   > Task :clients:cleanTest
   > Task :clients:processResources UP-TO-DATE
   > Task :clients:createVersionFile UP-TO-DATE
   > Task :clients:processTestFixturesResources NO-SOURCE
   > Task :clients:processTestResources UP-TO-DATE
   > Task :test-common:test-common-util:compileJava UP-TO-DATE
   > Task :test-common:test-common-util:processResources UP-TO-DATE
   > Task :test-common:test-common-util:classes UP-TO-DATE
   > Task :generator:compileJava UP-TO-DATE
   > Task :generator:processResources NO-SOURCE
   > Task :generator:classes UP-TO-DATE
   > Task :test-common:test-common-util:jar UP-TO-DATE
   > Task :generator:jar UP-TO-DATE
   > Task :clients:processMessages UP-TO-DATE
   > Task :clients:compileJava UP-TO-DATE
   > Task :clients:classes UP-TO-DATE
   > Task :clients:shadowJar UP-TO-DATE
   > Task :clients:jar SKIPPED
   > Task :clients:compileTestFixturesJava UP-TO-DATE
   > Task :clients:testFixturesClasses UP-TO-DATE
   > Task :clients:testFixturesJar UP-TO-DATE
   > Task :clients:checkstyleMain UP-TO-DATE
   > Task :clients:processTestMessages UP-TO-DATE
   > Task :clients:compileTestJava UP-TO-DATE
   > Task :clients:testClasses UP-TO-DATE
   > Task :clients:checkstyleTest UP-TO-DATE
   > Task :clients:spotbugsMain UP-TO-DATE
   
   > Task :clients:test
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testSwitchFromFileBasedToLocallyGenerated() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithExpiredAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientSecretFormatterUsesBasicAuth() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testMissingTokenEndpointUrl() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testFallbackToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testReconfigureFromAssertionToClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testEncryptedRsaPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testEncryptedPrivateKeyWithWrongPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testMissingPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testEncryptedEcPrivateKeyWithPassphrase() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testTokenRefreshWithClientAssertion() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testMultipleTokenRetrievalsProduceDifferentTokens() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_ES256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithLocallyGeneratedJWT_RS256() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testNetworkFailureUnreachableTokenEndpoint() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testFileAssertionTakesPrecedence() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithMalformedAssertionFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testNonexistentPrivateKeyFile() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidAudience() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testSwitchFromLocallyGeneratedToFileBased() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithFileBasedJWT() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testHttpRequestFormatCompliance() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testUnretryableHttpErrorFailsFast() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientCredentialsJwtRetrieverLifecycle() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testAssertionConfigOverridesClientSecret() PASSED
   
   Gradle Test Run :clients:test > Gradle Test Executor 13 > ClientAssertionKeycloakIntegrationTest > testClientAssertionWithInvalidSignature() PASSED
   
   > Task :clients:copyTestXml SKIPPED
   
   [Incubating] Problems report is available at: file:///Users/andyhuang/Developer/kafka/build/reports/problems/problems-report.html
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/9.7.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD SUCCESSFUL in 26s
   26 actionable tasks: 2 executed, 24 up-to-date
   Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.7.1/userguide/configuration_cache_enabling.html
   ```
   
   </details>


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-21040: Upgrade Testcontainers to 2.x for Docker 29 compatibility [kafka]

Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on code in PR #23384:
URL: https://github.com/apache/kafka/pull/23384#discussion_r3944312021


##########
gradle/dependencies.gradle:
##########
@@ -240,7 +240,7 @@ libs += [
   snappy: "org.xerial.snappy:snappy-java:$versions.snappy",
   spotbugs: "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs",
   swaggerAnnotations: "io.swagger.core.v3:swagger-annotations:$swaggerVersion",
-  testcontainersJunitJupiter: "org.testcontainers:junit-jupiter:$versions.testcontainers",
+  testcontainersJunitJupiter: "org.testcontainers:testcontainers-junit-jupiter:$versions.testcontainers",

Review Comment:
   I apologize for missing that. I'll rethink how I use AI.



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org