Skip to content

Instantly share code, notes, and snippets.

@zsfelfoldi
Created February 14, 2022 14:03
Show Gist options
  • Save zsfelfoldi/39b801d8d46e619054379de6d2c19990 to your computer and use it in GitHub Desktop.
Save zsfelfoldi/39b801d8d46e619054379de6d2c19990 to your computer and use it in GitHub Desktop.
zsfelfoldi@zsfelfoldi-desktop:~/go/src/github.com/ethereum/hive$ ./hive --sim 'ethereum/rpc$' --sim.limit /LES --client go-ethereum --loglevel 5 --docker.output
DBUG[02-14|15:02:22] docker daemon online version=20.10.11
INFO[02-14|15:02:22] building 1 clients...
INFO[02-14|15:02:22] building image image=hive/clients/go-ethereum:latest dir=clients/go-ethereum nocache=false pull=false
Step 1/14 : ARG branch=latest
Step 2/14 : FROM ethereum/client-go:$branch
---> 429f106d4de2
Step 3/14 : RUN apk add --update bash curl jq
---> Using cache
---> 38f19e4fbf38
Step 4/14 : RUN /usr/local/bin/geth console --exec 'console.log(admin.nodeInfo.name)' --maxpeers=0 --nodiscover --dev 2>/dev/null | head -1 > /version.txt
---> Using cache
---> 1efb28739f74
Step 5/14 : ADD geth.sh /geth.sh
---> Using cache
---> d741eae64204
Step 6/14 : ADD mapper.jq /mapper.jq
---> Using cache
---> 54c796023c5e
Step 7/14 : RUN chmod +x /geth.sh
---> Using cache
---> ac5a83d84d3a
Step 8/14 : RUN mkdir /hive-bin
---> Using cache
---> e421dda3e867
Step 9/14 : ADD enode.sh /hive-bin/enode.sh
---> Using cache
---> 00d319f1e9b7
Step 10/14 : RUN chmod +x /hive-bin/enode.sh
---> Using cache
---> 902d7b00eb6d
Step 11/14 : ADD genesis.json /genesis.json
---> Using cache
---> f270317ebd73
Step 12/14 : EXPOSE 8545 8546 8547 30303 30303/udp
---> Using cache
---> f63c7ec23bd8
Step 13/14 : RUN /usr/local/bin/geth makecache 1 ~/.ethereum/geth/ethash && /usr/local/bin/geth makecache 30001 ~/.ethereum/geth/ethash
---> Using cache
---> 1bf430c1e89e
Step 14/14 : ENTRYPOINT ["/geth.sh"]
---> Using cache
---> cb1005a49420
Successfully built cb1005a49420
Successfully tagged hive/clients/go-ethereum:latest
INFO[02-14|15:02:22] building 1 simulators...
INFO[02-14|15:02:22] building image image=hive/simulators/ethereum/rpc:latest dir=simulators/ethereum/rpc nocache=false pull=false
Step 1/10 : FROM golang:1-alpine as builder
---> 193418aa4321
Step 2/10 : RUN apk add --update gcc musl-dev linux-headers
---> Using cache
---> 1c0821bb0aef
Step 3/10 : ADD . /source
---> Using cache
---> b890586410d1
Step 4/10 : WORKDIR /source
---> Using cache
---> 23771de2d5c6
Step 5/10 : RUN go build -v .
---> Using cache
---> 7dc1e44d41be
Step 6/10 : FROM alpine:latest
---> c059bfaa849c
Step 7/10 : ADD . /source
---> Using cache
---> c880cd68f21f
Step 8/10 : WORKDIR /source
---> Using cache
---> 3aef276d6fae
Step 9/10 : COPY --from=builder /source/rpc .
---> Using cache
---> 8a8b523e59a9
Step 10/10 : ENTRYPOINT ["./rpc"]
---> Using cache
---> a13df2e47e32
Successfully built a13df2e47e32
Successfully tagged hive/simulators/ethereum/rpc:latest
INFO[02-14|15:02:22] creating output directory folder=workspace/logs
INFO[02-14|15:02:22] running simulation: ethereum/rpc
DBUG[02-14|15:02:22] docker bridge IP found ip=172.17.0.1
DBUG[02-14|15:02:22] starting simulator API server
DBUG[02-14|15:02:22] listening for simulator commands addr=172.17.0.1:40179
DBUG[02-14|15:02:22] container created image=hive/simulators/ethereum/rpc:latest container=5fb3c619
DBUG[02-14|15:02:22] starting simulator container
DBUG[02-14|15:02:22] attaching to container container=5fb3c619
DBUG[02-14|15:02:22] starting container container=5fb3c619
DBUG[02-14|15:02:22] container online container=5fb3c619 time=264.561936ms
DBUG[02-14|15:02:22] started simulator container sim=ethereum/rpc container=5fb3c619
[5fb3c619] Post "http://172.17.0.1:40179/testsuite": dial tcp 172.17.0.1:40179: i/o timeout
DBUG[02-14|15:02:52] container exited container=5fb3c619 err=nil
DBUG[02-14|15:02:52] deleting simulator container sim=ethereum/rpc container=5fb3c619
DBUG[02-14|15:02:52] removing container container=5fb3c619
DBUG[02-14|15:02:52] terminating simulator server
z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment