docker image not creating images with labels
nbari opened this issue · comments
Hi, first at all, many thanks for sharing this project, has helped me to improve and detect some issues within my code and therefore learn more about how to profile/test in general.
Currently, I am giving a try to the docker image but is not creating the images by just running this:
docker run -v /opt/data:/data smallnest/go-web-framework-benchmark
What I am doing to try to generate them, is to execute the plot.sh
something like:
docker run -v /tmp/data:/data -t -i --entrypoint /bin/bash smallnest/go-web-framework-benchmark
then within the container, I run:
docker-test.sh
When finished I run plot.sh
within the testresults
this creates the images but without labels, an example of the output:
Any idea of how to fix this? and if is not too much asking in the meantime could the benchmark results be updated?
thanks in advance.
I have any idea about it, no fonts installed in the docker image?
Hi @smallnest I don't really know I am just using the image from the README (https://hub.docker.com/r/smallnest/go-web-framework-benchmark/), probably needs to be updated, including the Dockerfile, it is working from your side?
I will try it and maybe add fonts into docker image. Thanks.
@smallnest I think is missing a call to the plot.sh
in the docker-test file: https://github.com/smallnest/go-web-framework-benchmark/blob/master/docker-test.sh#L10
seems that it only copies the existing images but not creating new ones.
fixed. thanks
I gave a try but seems that the fresh config/setup is broken:
Step 4/7 : RUN go get github.com/smallnest/go-web-framework-benchmark && mkdir /data
---> Running in 824e5a22021b
# github.com/smallnest/go-web-framework-benchmark
src/github.com/smallnest/go-web-framework-benchmark/server.go:400:12: f.Config().SetPort undefined (type fresh.Config has no field or method SetPort)
The command '/bin/sh -c go get github.com/smallnest/go-web-framework-benchmark && mkdir /data' returned a non-zero code: 2
fixed. Fresh broken its API
From a fresh setup now I get this errors.
WARNING: Ignoring https://pkgs.alpinelinux.org/packages/x86_64/APKINDEX.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
libressl2.6-libcrypto-2.6.3-r0:
masked in: @main
satisfies: wrk-4.0.1-r3[so:libcrypto.so.42]
libressl2.6-libssl-2.6.3-r0[so:libcrypto.so.42]
libressl2.6-libssl-2.6.3-r0:
masked in: @main
satisfies: wrk-4.0.1-r3[so:libssl.so.44]
I would suggest that if you have the image working just update the previous one: smallnest/go-web-framework-benchmark
so that end users could just run:
docker run -v /opt/data:/data smallnest/go-web-framework-benchmark