-
Notifications
You must be signed in to change notification settings - Fork 54
utils fuzzer
tintin edited this page Oct 19, 2018
·
5 revisions
using ubuntu 18.06.1 version of docker-ce
(18.06.1-ce; api version 1.38)
-
install evmlab with extras: fuzztests, docker
#> pip install -e ".[fuzztests,docker]"
or
#> pip install "evmlab[fuzztests,docker]"
-
(optional) adjust config in
statetests.ini
the default should actually work out-of-the-box. Make sure that configured temporary and datapaths exist. -
start fuzzing
(.env3)#> utilities/fuzzer.py
- make sure the directory structure from
statetests.ini::tests_path
is writeable byfuzzer.py
as it is used to store logs and testcase files - 409 Client Error - Conflict - container already in use
docker.errors.APIError: 409 Client Error: Conflict ("Conflict. The container name "/parity" is already in use by container "...ID...". You have to remove (or rename) that container to be able to reuse that name.")
-
--> FIX:
docker container rm "/parity"
anddocker container rm "/geth"
-
--> FIX:
- Docker API version error
-
--> FIX:
upgrade docker-ce to latest version
-
--> FIX:
- update container images
- delete the docker images and run
fuzzer.py
which will download the images again:docker image rm ethereum/client-go:alltools-latest --force
anddocker image rm holiman/parityvm --force
- delete the docker images and run