Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using bzt with gatling - missing packaging in requirements #1861

Open
wloboz opened this issue Sep 19, 2024 · 0 comments
Open

Using bzt with gatling - missing packaging in requirements #1861

wloboz opened this issue Sep 19, 2024 · 0 comments

Comments

@wloboz
Copy link

wloboz commented Sep 19, 2024

Python module packaging is not in requirements.txt, yet it is needed to run bzt with gatling executor from a docker container.

Run docker build . in a folder with a basic dockerfile (see below). It will fail with ERROR: ModuleNotFoundError: No module named 'packaging'. If you use pip to install packaging, for example by replacing RUN pip install bzt==$TAURUS_VERSION with RUN pip install bzt==$TAURUS_VERSION packaging, it will work fine.

Example Dockerfile:

FROM ubuntu:22.04

RUN apt-get update
RUN apt-get -y install openjdk-11-jdk pip

ENV TAURUS_VERSION="1.16.34"
RUN pip install bzt==$TAURUS_VERSION

RUN bzt https://google.com -o execution.0.executor=gatling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant