-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during running hive --client=go-ethereum:develop --test=NONE --sim=.
#21
Comments
Same for me on Ununtu 16 And on Windows, I wasn't able to checkout properly. Might be due to dot at the end of some file, which isn't allowed on Windows. |
Have you checked that the user you're using is member of the |
After all, I managed to run on Ubuntu (by using another instance). But It seems project doesn't support Mac OS at the moment, right? |
I have the same issue on Mac (as does my coworker @bts). logs[~/g/s/g/k/hive]─[⎇ master]─[±]─> hive --client=go-ethereum:develop --test=.
INFO[05-10|13:51:19] docker daemon online version=17.05.0-ce
INFO[05-10|13:51:19] creating outer shell container
INFO[05-10|13:51:19] building new docker image nocache=false
INFO[05-10|13:51:20] starting outer shell container
INFO[05-10|17:51:22] docker daemon online version=17.05.0-ce
INFO[05-10|17:51:22] building clients for validation pattern=go-ethereum:develop
INFO[05-10|17:51:22] building validators for testing pattern=.
INFO[05-10|17:51:22] building new docker image validator=ethereum/rpc-tests nocache=false
EROR[05-10|17:51:33] failed to build docker image validator=ethereum/rpc-tests error="failed to register layer: Error processing tar file(exit status 1): function not implemented"
CRIT[05-10|17:51:33] failed to validate clients error="validators/ethereum/rpc-tests: failed to register layer: Error processing tar file(exit status 1): function not implemented" latest stable versions of everything[~/g/s/g/k/hive]─[⎇ master]─[±]─> docker --version
Docker version 17.05.0-ce, build 89658be
[~/g/s/g/k/hive]─[⎇ master]─[±]─> docker-compose --version
docker-compose version 1.13.0, build 1719ceb
[~/g/s/g/k/hive]─[⎇ master]─[±]─> docker-machine --version
docker-machine version 0.11.0, build 5b27455 detailed (loglevel 10) logs[~/g/s/g/k/hive]─[⎇ master]─[±]─> hive --client=go-ethereum:develop --test=. --loglevel 10
INFO[05-10|13:54:04] docker daemon online version=17.05.0-ce
INFO[05-10|13:54:04] creating outer shell container
INFO[05-10|13:54:04] building new docker image nocache=false
Step 1/12 : FROM docker:dind
---> 559dd16b4e0a
Step 2/12 : RUN apk add --update musl-dev go && rm -rf /var/cache/apk/*
---> Using cache
---> 71dea08a3d4a
Step 3/12 : ENV GOPATH /gopath
---> Using cache
---> 937630ff3b80
Step 4/12 : ENV PATH $GOPATH/bin:$PATH
---> Using cache
---> 616090520200
Step 5/12 : ADD vendor $GOPATH/src/github.com/karalabe/hive/vendor
---> Using cache
---> 6334827de8bd
Step 6/12 : RUN (cd $GOPATH/src/github.com/karalabe/hive && go install ./...)
---> Using cache
---> babfa74b3803
Step 7/12 : ADD *.go $GOPATH/src/github.com/karalabe/hive/
---> Using cache
---> 0b9722aa5528
Step 8/12 : WORKDIR $GOPATH/src/github.com/karalabe/hive
---> Using cache
---> bdff63c3b03a
Step 9/12 : RUN go install
---> Using cache
---> 2bdfa5f5e337
Step 10/12 : RUN echo '#!/bin/sh' > $GOPATH/bin/hive.sh && echo 'set -e' >> $GOPATH/bin/hive.sh && echo 'dockerd-entrypoint.sh --storage-driver=aufs 2>/dev/null &' >> $GOPATH/bin/hive.sh && echo 'while [ ! -S /var/run/docker.sock ]; do sleep 1; done' >> $GOPATH/bin/hive.sh && echo 'for id in `docker ps -a -q`; do docker rm -f $id; done' >> $GOPATH/bin/hive.sh && echo 'for id in `docker images -f "dangling=true" | tail -n +2 | awk "{print \\$3}"`; do docker rmi -f $id; done' >> $GOPATH/bin/hive.sh && echo 'hive --docker-noshell $@' >> $GOPATH/bin/hive.sh && echo 'for id in `docker ps -a -q`; do docker rm -f $id; done' >> $GOPATH/bin/hive.sh && echo 'for id in `docker images -f "dangling=true" | tail -n +2 | awk "{print \\$3}"`; do docker rmi -f $id; done' >> $GOPATH/bin/hive.sh && echo 'adduser -u $UID -D hive' >> $GOPATH/bin/hive.sh && echo 'chown -R hive /var/lib/docker' >> $GOPATH/bin/hive.sh && echo 'chown -R hive workspace' >> $GOPATH/bin/hive.sh && chmod +x $GOPATH/bin/hive.sh
---> Using cache
---> 9e92954107e3
Step 11/12 : ENTRYPOINT hive.sh
---> Using cache
---> a48de3ec1941
Step 12/12 : COPY . $GOPATH/src/github.com/karalabe/hive
---> Using cache
---> 20c4e7ae817f
Successfully built 20c4e7ae817f
Successfully tagged hive/shell:latest
DBUG[05-10|13:54:05] created shell container
INFO[05-10|13:54:05] starting outer shell container
DBUG[05-10|13:54:05] attaching to container
DBUG[05-10|13:54:05] starting container
INFO[05-10|17:54:06] docker daemon online version=17.05.0-ce
INFO[05-10|17:54:06] building clients for validation pattern=go-ethereum:develop
INFO[05-10|17:54:06] building validators for testing pattern=.
INFO[05-10|17:54:06] building new docker image validator=ethereum/rpc-tests nocache=false
Step 1/10 : FROM ubuntu:16.04
Pulling from library/ubuntu
Pulling fs layer
Pulling fs layer
Pulling fs layer
Pulling fs layer
Pulling fs layer
Waiting
Waiting
Downloading [==================================================>] 815B/815B
Downloading [==================================================>] 514B/514B
Verifying Checksum
Verifying Checksum
Download complete
Download complete
Downloading [> ] 474.5kB/46.79MB
Downloading [==================================================>] 161B/161B
Downloading [==================================================>] 850B/850B
Verifying Checksum
Download complete
Verifying Checksum
Download complete
Downloading [=> ] 949.6kB/46.79MB
Downloading [==> ] 1.9MB/46.79MB
Downloading [===> ] 2.85MB/46.79MB
Downloading [====> ] 3.8MB/46.79MB
Downloading [=====> ] 4.751MB/46.79MB
Downloading [======> ] 5.701MB/46.79MB
Downloading [=======> ] 6.651MB/46.79MB
Downloading [========> ] 7.602MB/46.79MB
Downloading [=========> ] 8.552MB/46.79MB
Downloading [==========> ] 9.502MB/46.79MB
Downloading [===========> ] 10.45MB/46.79MB
Downloading [============> ] 11.4MB/46.79MB
Downloading [=============> ] 12.35MB/46.79MB
Downloading [==============> ] 13.3MB/46.79MB
Downloading [===============> ] 14.25MB/46.79MB
Downloading [================> ] 15.2MB/46.79MB
Downloading [=================> ] 16.15MB/46.79MB
Downloading [==================> ] 17.1MB/46.79MB
Downloading [===================> ] 18.05MB/46.79MB
Downloading [====================> ] 19MB/46.79MB
Downloading [=====================> ] 19.96MB/46.79MB
Downloading [======================> ] 20.91MB/46.79MB
Downloading [=======================> ] 21.86MB/46.79MB
Downloading [========================> ] 22.81MB/46.79MB
Downloading [=========================> ] 23.76MB/46.79MB
Downloading [==========================> ] 24.71MB/46.79MB
Downloading [===========================> ] 25.66MB/46.79MB
Downloading [============================> ] 26.61MB/46.79MB
Downloading [=============================> ] 27.56MB/46.79MB
Downloading [==============================> ] 28.51MB/46.79MB
Downloading [===============================> ] 29.46MB/46.79MB
Downloading [================================> ] 30.41MB/46.79MB
Downloading [=================================> ] 31.36MB/46.79MB
Downloading [==================================> ] 32.31MB/46.79MB
Downloading [===================================> ] 33.26MB/46.79MB
Downloading [====================================> ] 34.21MB/46.79MB
Downloading [=====================================> ] 35.16MB/46.79MB
Downloading [======================================> ] 36.11MB/46.79MB
Downloading [=======================================> ] 37.06MB/46.79MB
Downloading [========================================> ] 38.01MB/46.79MB
Downloading [=========================================> ] 38.96MB/46.79MB
Downloading [==========================================> ] 39.91MB/46.79MB
Downloading [===========================================> ] 40.86MB/46.79MB
Downloading [============================================> ] 41.81MB/46.79MB
Downloading [=============================================> ] 42.76MB/46.79MB
Downloading [==============================================> ] 43.71MB/46.79MB
Downloading [===============================================> ] 44.66MB/46.79MB
Downloading [================================================> ] 45.61MB/46.79MB
Downloading [=================================================> ] 46.56MB/46.79MB
Verifying Checksum
Download complete
Extracting [> ] 491.5kB/46.79MB
Extracting [==> ] 1.966MB/46.79MB
Extracting [===> ] 2.949MB/46.79MB
Extracting [===> ] 3.441MB/46.79MB
Extracting [======> ] 6.39MB/46.79MB
Extracting [=========> ] 8.847MB/46.79MB
Extracting [============> ] 11.8MB/46.79MB
Extracting [===============> ] 14.25MB/46.79MB
Extracting [=================> ] 16.71MB/46.79MB
Extracting [====================> ] 19.17MB/46.79MB
Extracting [=======================> ] 21.63MB/46.79MB
Extracting [=========================> ] 23.59MB/46.79MB
Extracting [===========================> ] 26.05MB/46.79MB
Extracting [==============================> ] 28.51MB/46.79MB
Extracting [================================> ] 29.98MB/46.79MB
Extracting [==================================> ] 31.95MB/46.79MB
Extracting [====================================> ] 34.41MB/46.79MB
Extracting [======================================> ] 35.88MB/46.79MB
Extracting [=======================================> ] 37.36MB/46.79MB
Extracting [=========================================> ] 38.83MB/46.79MB
Extracting [============================================> ] 41.29MB/46.79MB
Extracting [==============================================> ] 43.75MB/46.79MB
Extracting [================================================> ] 45.71MB/46.79MB
Extracting [=================================================> ] 46.69MB/46.79MB
Extracting [==================================================>] 46.79MB/46.79MB
EROR[05-10|17:54:18] failed to build docker image validator=ethereum/rpc-tests error="failed to register layer: Error processing tar file(exit status 1): function not implemented"
CRIT[05-10|17:54:18] failed to validate clients error="validators/ethereum/rpc-tests: failed to register layer: Error processing tar file(exit status 1): function not implemented"
DBUG[05-10|13:54:18] deleting shell container |
Also, here are my docker daemon logs leading up to the issue
|
Getting a similar issue with the same command on macOS:
@holiman, what version of docker are you using when running hive? Want to confirm if docker is the issue or if it is the filesystem that docker is using. |
I've never run hive on anything other than Linux -- but it seems (#118) like |
Yeah looks like aufs with darwin is a no go. Running that same command on a linux box works without a hitch. |
This issue is super old, and we can't really fix it to work with docker on macOS. Closing it now because everything generally seems to work on linux. |
Hello,
I've tried to run hive tests, but got error.
I cloned repo, installed hive, installed docker go client, and then run:
hive --client=go-ethereum:develop --test=NONE --sim=.
I think I missing some step, please suggest.
Stan
The text was updated successfully, but these errors were encountered: