zelt icon indicating copy to clipboard operation
zelt copied to clipboard

Running zelt in docker

Open Olamyy opened this issue 4 years ago • 1 comments

Describe the bug I have a simple docker container where I run zelt. For some reason (the error log is not really clear), I get a NoneType error.

Zelt version Output of the command zelt --version. 1.2.15

To Reproduce

  1. Create a dockerfile
FROM registry.opensource.zalan.do/stups/ubuntu:18.04-15

ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
RUN apt-get update && apt-get install -y jq python3-dev python3-zmq python3-pip && rm -rf /var/lib/apt/lists/*

RUN pip3 install --upgrade locust

RUN pip3 install zelt

COPY examples /tmp/examples

ENTRYPOINT ["zelt" , "from-locustfile", "/tmp/examples/locustfile/locustfile.py", "--manifests", "/tmp/examples/manifests/combined", "-w", "5"]

  1. Build and run the docker file : docker build -t zelt-test-docker . && docker run -i -t zelt-test-docker
  2. See error

Expected behavior zelt should start the load test with no error.

Screenshots image

Olamyy avatar Jun 19 '20 08:06 Olamyy