[
https://issues.apache.org/jira/browse/KAFKA-15493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769856#comment-17769856
]
Said BOUDJELDA edited comment on KAFKA-15493 at 9/28/23 12:20 AM:
------------------------------------------------------------------
{code:java}
➜ kafka git:(trunk) java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Homebrew (build 21)
OpenJDK 64-Bit Server VM Homebrew (build 21, mixed mode, sharing)
➜ kafka git:(trunk)
➜ kafka git:(trunk) ✗ bash tests/docker/run_tests.sh
WARNING: Ignoring custom format, because both --format and --quiet are set.
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
Starting build with version 3.7.0-SNAPSHOT (commit id 079e5d64) using Gradle
8.3, Java 21 and Scala 2.13.12
Build properties: maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 9.0.
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/8.3/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD SUCCESSFUL in 9s {code}
I run tests with
ARG jdk_version=openjdk:21
FROM $jdk_version
was (Author: JIRAUSER301378):
{code:java}
➜ kafka git:(trunk) java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Homebrew (build 21)
OpenJDK 64-Bit Server VM Homebrew (build 21, mixed mode, sharing)
➜ kafka git:(trunk)
➜ kafka git:(trunk) ✗ bash tests/docker/run_tests.sh
WARNING: Ignoring custom format, because both --format and --quiet are set.
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
Starting build with version 3.7.0-SNAPSHOT (commit id 079e5d64) using Gradle
8.3, Java 21 and Scala 2.13.12
Build properties: maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 9.0.
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/8.3/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD SUCCESSFUL in 9s {code}
> Ensure system tests work with Java 21
> -------------------------------------
>
> Key: KAFKA-15493
> URL: https://issues.apache.org/jira/browse/KAFKA-15493
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Assignee: Said BOUDJELDA
> Priority: Major
> Fix For: 3.7.0
>
> Attachments: image-2023-09-28-02-11-49-196.png,
> image-2023-09-28-02-12-33-807.png
>
>
> Run the system tests as described below with Java 21:
> [https://github.com/apache/kafka/tree/trunk/tests]
> One relevant portion:
> Run tests with a different JVM (it may be as easy as replacing 11 with 21)
> {code:java}
> bash tests/docker/ducker-ak up -j 'openjdk:11';
> tests/docker/run_tests.sh{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)