KAFKA-17781 add `psutil` to e2e dockerfile and upgrade ducktape version (#17480)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Ken Huang 2024-10-16 22:38:23 +08:00 committed by GitHub
parent 3b619db404
commit bb7c083049
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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