This is an automated email from the ASF dual-hosted git repository.
payang pushed a commit to branch 4.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.1 by this push:
new fcaf3ba5563 KAFKA-19876 Replace the base image since openjdk image is
deprecated (#20886)
fcaf3ba5563 is described below
commit fcaf3ba5563702d7d0e295dd049e78692c7be5f7
Author: Ken Huang <[email protected]>
AuthorDate: Sat Nov 15 13:49:35 2025 +0800
KAFKA-19876 Replace the base image since openjdk image is deprecated
(#20886)
The openjdk image has been officially deprecated (ref:
https://hub.docker.com/_/openjdk ), so we’ll need to switch to another
base image for our E2E test environment.
I tested this on my local machine using the following command:
```
jdk_version="sapmachine:17-jdk-ubuntu-jammy" \
image_name="ducker-ak:$(git rev-parse --short HEAD)" \
TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py" \
/bin/bash tests/docker/run_tests.sh
```
result:
```
[INFO:2025-11-14 14:40:35,072]: RunnerClient:
kafkatest.tests.client.pluggable_test.PluggableConsumerTest.test_start_stop.metadata_quorum=ISOLATED_KRAFT:
PASS
[WARNING - 2025-11-14 14:40:35,072 - runner_client - log - lineno:459]:
RunnerClient:
kafkatest.tests.client.pluggable_test.PluggableConsumerTest.test_start_stop.metadata_quorum=ISOLATED_KRAFT:
Test requested 4 nodes, used only 3
[WARNING:2025-11-14 14:40:35,072]: RunnerClient:
kafkatest.tests.client.pluggable_test.PluggableConsumerTest.test_start_stop.metadata_quorum=ISOLATED_KRAFT:
Test requested 4 nodes, used only 3
[INFO:2025-11-14 14:40:35,073]: RunnerClient:
kafkatest.tests.client.pluggable_test.PluggableConsumerTest.test_start_stop.metadata_quorum=ISOLATED_KRAFT:
Data: None
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2025-11-14--004
run time: 13.568 seconds
tests run: 1
passed: 1
flaky: 0
failed: 0
ignored: 0
================================================================================
test_id:
kafkatest.tests.client.pluggable_test.PluggableConsumerTest.test_start_stop.metadata_quorum=ISOLATED_KRAFT
status: PASS
run time: 13.460 seconds
--------------------------------------------------------------------------------
```
Reviewers: Chia-Ping Tsai <[email protected]>, Ming-Yen Chung
<[email protected]>, PoAn Yang <[email protected]>
(cherry picked from commit 69e1c9101c65b293b64bb69faa178c719210fdcc)
---
tests/docker/ducker-ak | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/docker/ducker-ak b/tests/docker/ducker-ak
index 68aed30923f..f7bc4b5213c 100755
--- a/tests/docker/ducker-ak
+++ b/tests/docker/ducker-ak
@@ -44,10 +44,9 @@ docker_run_memory_limit="2000m"
# The default number of cluster nodes to bring up if a number is not specified.
default_num_nodes=14
-# The default OpenJDK base image.
-# The base image of openjdk:17 is typically oraclelinux:8-slim, which doesn't
include apt-get.
-# Therefore, use openjdk:17-bullseye instead.
-default_jdk="openjdk:17-bullseye"
+# The default JDK base image with apt-get support.
+# The openjdk image has been officially deprecated. For more imformation, see:
https://hub.docker.com/_/openjdk
+default_jdk="sapmachine:17-jdk-ubuntu-jammy"
# The default ducker-ak image name.
default_image_name="ducker-ak"