You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/10/16 14:38:30 UTC

(kafka) branch trunk updated: KAFKA-17781 add `psutil` to e2e dockerfile and upgrade ducktape version (#17480)

This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bb7c0830496 KAFKA-17781 add `psutil` to e2e dockerfile and upgrade ducktape version (#17480)
bb7c0830496 is described below

commit bb7c0830496f5dbb01a29bcf27cb77b7d83fe939
Author: Ken Huang <s7...@gmail.com>
AuthorDate: Wed Oct 16 22:38:23 2024 +0800

    KAFKA-17781 add `psutil` to e2e dockerfile and upgrade ducktape version (#17480)
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
 tests/docker/Dockerfile | 4 ++--
 tests/setup.py          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index 5585a767257..d455a908396 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -62,8 +62,8 @@ LABEL ducker.creator=$ducker_creator
 # Update Linux and install necessary utilities.
 RUN apt update && apt install -y sudo git netcat iptables rsync unzip wget curl jq coreutils openssh-server net-tools vim python3-pip python3-dev libffi-dev libssl-dev cmake pkg-config libfuse-dev iperf traceroute iproute2 iputils-ping && apt-get -y clean
 RUN python3 -m pip install -U pip==21.1.1;
-# NOTE: ducktape 0.11.4 requires python3.9
-RUN pip3 install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 debugpy && pip3 install --upgrade "ducktape==0.11.4"
+# NOTE: ducktape 0.12.0 supports py 3.9, 3.10, 3.11 and 3.12
+RUN pip3 install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 debugpy psutil && pip3 install --upgrade "ducktape==0.12.0"
 
 COPY --from=build-native-image /build/kafka-binary/ /opt/kafka-binary/
 # Set up ssh
diff --git a/tests/setup.py b/tests/setup.py
index fd3b9738676..1dd638a0938 100644
--- a/tests/setup.py
+++ b/tests/setup.py
@@ -51,7 +51,7 @@ setup(name="kafkatest",
       license="apache2.0",
       packages=find_packages(),
       include_package_data=True,
-      install_requires=["ducktape==0.11.4", "requests==2.31.0"],
+      install_requires=["ducktape==0.12.0", "requests==2.31.0"],
       tests_require=["pytest", "mock"],
       cmdclass={'test': PyTest},
       zip_safe=False