Skip to content

Running zelt in docker #29

@Olamyy

Description

@Olamyy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions