Skip to content
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: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh ...' returned a non-zero code: 2 #39

Closed
drandreaskrueger opened this issue Sep 18, 2018 · 12 comments

Comments

@drandreaskrueger
Copy link

git clone  https://github.com/blk-io/crux blk-io_crux
cd blk-io_crux/docker/quorum-crux

cp docker-compose.yaml docker-compose-local.yaml
nano docker-compose-local.yaml 

edit so that it looks like this

  node1: &quorum_crux_node
    # Pull image down from Docker Hub
    # image: blkio10/quorum-crux:v1.0.0
    # Uncomment the below, and comment out the above line to build the Docker images yourself
    image: blk.io/quorum/quorum-crux
    build:
      context: .
    container_name: quorum1

start:

docker-compose -f docker-compose-local.yaml up 

full log:

Building node1
Step 1/24 : FROM alpine:3.8
3.8: Pulling from library/alpine
4fe2ade4980c: Pull complete
Digest: sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
Status: Downloaded newer image for alpine:3.8
 ---> 196d12cf6ab1
Step 2/24 : RUN apk add --no-cache --update unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev &&     apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add --no-cache leveldb &&     apk --no-cache --update add build-base cmake boost-dev git
 ---> Running in 350fdf2b12af
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/26) Installing ncurses-terminfo-base (6.1_p20180818-r1)
(2/26) Installing ncurses-terminfo (6.1_p20180818-r1)
(3/26) Installing ncurses-libs (6.1_p20180818-r1)
(4/26) Installing readline (7.0.003-r0)
(5/26) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(6/26) Installing db (5.3.28-r0)
(7/26) Installing libgcc (6.4.0-r8)
(8/26) Installing libstdc++ (6.4.0-r8)
(9/26) Installing db-c++ (5.3.28-r0)
(10/26) Installing db-dev (5.3.28-r0)
(11/26) Installing binutils (2.30-r5)
(12/26) Installing gmp (6.1.2-r1)
(13/26) Installing isl (0.18-r0)
(14/26) Installing libgomp (6.4.0-r8)
(15/26) Installing libatomic (6.4.0-r8)
(16/26) Installing pkgconf (1.5.3-r0)
(17/26) Installing mpfr3 (3.1.5-r1)
(18/26) Installing mpc1 (1.0.3-r1)
(19/26) Installing gcc (6.4.0-r8)
(20/26) Installing go (1.10.1-r0)
(21/26) Installing libpthread-stubs (0.3-r5)
(22/26) Installing libsodium (1.0.16-r0)
(23/26) Installing libsodium-dev (1.0.16-r0)
(24/26) Installing unzip (6.0-r4)
(25/26) Installing wget (1.19.5-r0)
(26/26) Installing wrk (4.0.2-r0)
Executing busybox-1.28.4-r1.trigger
OK: 394 MiB in 39 packages
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/2) Installing snappy (1.1.4-r4)
(2/2) Installing leveldb (1.20-r1)
OK: 394 MiB in 41 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/51) Installing linux-headers (4.4.6-r2)
(2/51) Installing boost-date_time (1.66.0-r0)
(3/51) Installing boost-system (1.66.0-r0)
(4/51) Installing boost-filesystem (1.66.0-r0)
(5/51) Installing boost-regex (1.66.0-r0)
(6/51) Installing boost-graph (1.66.0-r0)
(7/51) Installing libbz2 (1.0.6-r6)
(8/51) Installing boost-iostreams (1.66.0-r0)
(9/51) Installing boost-math (1.66.0-r0)
(10/51) Installing boost-prg_exec_monitor (1.66.0-r0)
(11/51) Installing boost-program_options (1.66.0-r0)
(12/51) Installing expat (2.2.5-r0)
(13/51) Installing libffi (3.2.1-r4)
(14/51) Installing gdbm (1.13-r1)
(15/51) Installing xz-libs (5.2.4-r0)
(16/51) Installing sqlite-libs (3.24.0-r0)
(17/51) Installing python3 (3.6.6-r0)
(18/51) Installing boost-python3 (1.66.0-r0)
(19/51) Installing python2 (2.7.15-r1)
(20/51) Installing boost-python (1.66.0-r0)
(21/51) Installing boost-random (1.66.0-r0)
(22/51) Installing boost-serialization (1.66.0-r0)
(23/51) Installing boost-signals (1.66.0-r0)
(24/51) Installing boost-thread (1.66.0-r0)
(25/51) Installing boost-unit_test_framework (1.66.0-r0)
(26/51) Installing boost-wave (1.66.0-r0)
(27/51) Installing boost-wserialization (1.66.0-r0)
(28/51) Installing boost (1.66.0-r0)
(29/51) Installing boost-dev (1.66.0-r0)
(30/51) Installing libmagic (5.32-r0)
(31/51) Installing file (5.32-r0)
(32/51) Installing musl-dev (1.1.19-r10)
(33/51) Installing libc-dev (0.7.1-r0)
(34/51) Installing g++ (6.4.0-r8)
(35/51) Installing make (4.2.1-r2)
(36/51) Installing fortify-headers (0.9-r0)
(37/51) Installing build-base (0.5-r1)
(38/51) Installing libattr (2.4.47-r7)
(39/51) Installing libacl (2.2.52-r5)
(40/51) Installing lz4-libs (1.8.2-r0)
(41/51) Installing libarchive (3.3.2-r3)
(42/51) Installing ca-certificates (20171114-r3)
(43/51) Installing nghttp2-libs (1.32.0-r0)
(44/51) Installing libssh2 (1.8.0-r3)
(45/51) Installing libcurl (7.61.1-r0)
(46/51) Installing rhash-libs (1.3.6-r1)
(47/51) Installing libuv (1.20.2-r0)
(48/51) Installing cmake (3.11.1-r2)
(49/51) Installing cmake-bash-completion (3.11.1-r2)
(50/51) Installing pcre2 (10.31-r0)
(51/51) Installing git (2.18.0-r0)
Executing busybox-1.28.4-r1.trigger
Executing ca-certificates-20171114-r3.trigger
OK: 834 MiB in 92 packages
Removing intermediate container 350fdf2b12af
 ---> 321f71c6c15d
Step 3/24 : ENV PORT=""
 ---> Running in 04edb64a27c5
Removing intermediate container 04edb64a27c5
 ---> 701ff6545db2
Step 4/24 : ENV NODE_KEY=""
 ---> Running in a4602f40ecc3
Removing intermediate container a4602f40ecc3
 ---> d867da4ab8d4
Step 5/24 : ENV CRUX_PUB=""
 ---> Running in 07b1f1c25c9d
Removing intermediate container 07b1f1c25c9d
 ---> e25d164fc8ca
Step 6/24 : ENV GETH_KEY=""
 ---> Running in 72912a20b837
Removing intermediate container 72912a20b837
 ---> d6a943c1f8af
Step 7/24 : ENV OWN_URL=""
 ---> Running in d0a9104f05aa
Removing intermediate container d0a9104f05aa
 ---> fa7b6954be6e
Step 8/24 : ENV CRUX_PRIV=""
 ---> Running in ddeebaefcd5a
Removing intermediate container ddeebaefcd5a
 ---> 88227ff290ab
Step 9/24 : ENV OTHER_NODES=""
 ---> Running in 009ccffbe7c1
Removing intermediate container 009ccffbe7c1
 ---> 5507ab5c0ad3
Step 10/24 : ENV GETH_RPC_PORT=""
 ---> Running in 8e36b57adfa9
Removing intermediate container 8e36b57adfa9
 ---> 85830c5470e0
Step 11/24 : ENV GETH_PORT=""
 ---> Running in 1691c5a374f5
Removing intermediate container 1691c5a374f5
 ---> e9e6a974c9fe
Step 12/24 : WORKDIR /quorum
 ---> Running in 3cd2be1f918b
Removing intermediate container 3cd2be1f918b
 ---> ced93672964d
Step 13/24 : COPY bootstrap.sh bootstrap.sh
 ---> 20444e291549
Step 14/24 : COPY istanbul-genesis.json istanbul-genesis.json
 ---> ef3b7377eaaa
Step 15/24 : COPY passwords.txt passwords.txt
 ---> 8cfe4fc9776a
Step 16/24 : COPY istanbul-init.sh istanbul-init.sh
 ---> cc63cd7aa476
Step 17/24 : COPY crux-start.sh crux-start.sh
 ---> ea8757813efe
Step 18/24 : COPY istanbul-start.sh istanbul-start.sh
 ---> bb1d6e551177
Step 19/24 : COPY start.sh start.sh
 ---> 2007d49502a4
Step 20/24 : COPY scripts/simpleContract.js simpleContract.js
 ---> 8c2a775ed885
Step 21/24 : COPY scripts/test_transaction.sh test_transaction.sh
 ---> fd26292d2a8e
Step 22/24 : RUN chmod +x start.sh crux-start.sh istanbul-start.sh istanbul-init.sh &&     chmod +x test_transaction.sh &&     chmod +x bootstrap.sh &&     ./bootstrap.sh &&     apk del sed make git cmake build-base gcc g++ musl-dev curl-dev boost-dev
 ---> Running in f6c5c585db9e
Cloning into 'quorum'...
Note: checking out 'tags/v2.0.3-grpc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3f1817ea6 Merge pull request #7 from Puneetha17/debug
build/env.sh go run build/ci.go install
>>> /usr/lib/go/bin/go install -ldflags -X main.gitCommit=3f1817ea6204184d10fc57d94195b23188461e80 -v github.com/ethereum/go-ethereum github.com/ethereum/go-ethereum/accounts github.com/ethereum/go-ethereum/accounts/abi github.com/ethereum/go-ethereum/accounts/abi/bind github.com/ethereum/go-ethereum/accounts/abi/bind/backends github.com/ethereum/go-ethereum/accounts/keystore github.com/ethereum/go-ethereum/accounts/usbwallet github.com/ethereum/go-ethereum/accounts/usbwallet/internal/trezor github.com/ethereum/go-ethereum/bmt github.com/ethereum/go-ethereum/cmd/abigen github.com/ethereum/go-ethereum/cmd/bootnode github.com/ethereum/go-ethereum/cmd/evm github.com/ethereum/go-ethereum/cmd/evm/internal/compiler github.com/ethereum/go-ethereum/cmd/faucet github.com/ethereum/go-ethereum/cmd/geth github.com/ethereum/go-ethereum/cmd/internal/browser github.com/ethereum/go-ethereum/cmd/p2psim github.com/ethereum/go-ethereum/cmd/puppeth github.com/ethereum/go-ethereum/cmd/rlpdump github.com/ethereum/go-ethereum/cmd/swarm github.com/ethereum/go-ethereum/cmd/utils github.com/ethereum/go-ethereum/cmd/wnode github.com/ethereum/go-ethereum/common github.com/ethereum/go-ethereum/common/bitutil github.com/ethereum/go-ethereum/common/compiler github.com/ethereum/go-ethereum/common/hexutil github.com/ethereum/go-ethereum/common/math github.com/ethereum/go-ethereum/common/mclock github.com/ethereum/go-ethereum/common/number github.com/ethereum/go-ethereum/compression/rle github.com/ethereum/go-ethereum/consensus github.com/ethereum/go-ethereum/consensus/clique github.com/ethereum/go-ethereum/consensus/ethash github.com/ethereum/go-ethereum/consensus/istanbul github.com/ethereum/go-ethereum/consensus/istanbul/backend github.com/ethereum/go-ethereum/consensus/istanbul/core github.com/ethereum/go-ethereum/consensus/istanbul/validator github.com/ethereum/go-ethereum/consensus/misc github.com/ethereum/go-ethereum/console github.com/ethereum/go-ethereum/contracts/chequebook github.com/ethereum/go-ethereum/contracts/chequebook/contract github.com/ethereum/go-ethereum/contracts/ens github.com/ethereum/go-ethereum/contracts/ens/contract github.com/ethereum/go-ethereum/contracts/release github.com/ethereum/go-ethereum/core github.com/ethereum/go-ethereum/core/asm github.com/ethereum/go-ethereum/core/bloombits github.com/ethereum/go-ethereum/core/state github.com/ethereum/go-ethereum/core/types github.com/ethereum/go-ethereum/core/vm github.com/ethereum/go-ethereum/core/vm/runtime github.com/ethereum/go-ethereum/crypto github.com/ethereum/go-ethereum/crypto/bn256 github.com/ethereum/go-ethereum/crypto/ecies github.com/ethereum/go-ethereum/crypto/randentropy github.com/ethereum/go-ethereum/crypto/secp256k1 github.com/ethereum/go-ethereum/crypto/sha3 github.com/ethereum/go-ethereum/eth github.com/ethereum/go-ethereum/eth/downloader github.com/ethereum/go-ethereum/eth/fetcher github.com/ethereum/go-ethereum/eth/filters github.com/ethereum/go-ethereum/eth/gasprice github.com/ethereum/go-ethereum/ethclient github.com/ethereum/go-ethereum/ethdb github.com/ethereum/go-ethereum/ethstats github.com/ethereum/go-ethereum/event github.com/ethereum/go-ethereum/event/filter github.com/ethereum/go-ethereum/internal/build github.com/ethereum/go-ethereum/internal/cmdtest github.com/ethereum/go-ethereum/internal/debug github.com/ethereum/go-ethereum/internal/ethapi github.com/ethereum/go-ethereum/internal/guide github.com/ethereum/go-ethereum/internal/jsre github.com/ethereum/go-ethereum/internal/jsre/deps github.com/ethereum/go-ethereum/internal/web3ext github.com/ethereum/go-ethereum/les github.com/ethereum/go-ethereum/les/flowcontrol github.com/ethereum/go-ethereum/light github.com/ethereum/go-ethereum/log github.com/ethereum/go-ethereum/log/term github.com/ethereum/go-ethereum/metrics github.com/ethereum/go-ethereum/miner github.com/ethereum/go-ethereum/mobile github.com/ethereum/go-ethereum/node github.com/ethereum/go-ethereum/p2p github.com/ethereum/go-ethereum/p2p/discover github.com/ethereum/go-ethereum/p2p/discv5 github.com/ethereum/go-ethereum/p2p/nat github.com/ethereum/go-ethereum/p2p/netutil github.com/ethereum/go-ethereum/p2p/simulations github.com/ethereum/go-ethereum/p2p/simulations/adapters github.com/ethereum/go-ethereum/p2p/simulations/examples github.com/ethereum/go-ethereum/params github.com/ethereum/go-ethereum/private github.com/ethereum/go-ethereum/private/constellation github.com/ethereum/go-ethereum/raft github.com/ethereum/go-ethereum/rlp github.com/ethereum/go-ethereum/rpc github.com/ethereum/go-ethereum/swarm github.com/ethereum/go-ethereum/swarm/api github.com/ethereum/go-ethereum/swarm/api/client github.com/ethereum/go-ethereum/swarm/api/http github.com/ethereum/go-ethereum/swarm/fuse github.com/ethereum/go-ethereum/swarm/network github.com/ethereum/go-ethereum/swarm/network/kademlia github.com/ethereum/go-ethereum/swarm/services/swap github.com/ethereum/go-ethereum/swarm/services/swap/swap github.com/ethereum/go-ethereum/swarm/storage github.com/ethereum/go-ethereum/swarm/testutil github.com/ethereum/go-ethereum/tests github.com/ethereum/go-ethereum/trie github.com/ethereum/go-ethereum/whisper/mailserver github.com/ethereum/go-ethereum/whisper/shhclient github.com/ethereum/go-ethereum/whisper/whisperv2 github.com/ethereum/go-ethereum/whisper/whisperv5 
github.com/ethereum/go-ethereum/common/hexutil
github.com/ethereum/go-ethereum/crypto/sha3
github.com/ethereum/go-ethereum/common
github.com/ethereum/go-ethereum/common/math
github.com/ethereum/go-ethereum/crypto/secp256k1
github.com/ethereum/go-ethereum/rlp
github.com/ethereum/go-ethereum/crypto
github.com/ethereum/go-ethereum/params
github.com/ethereum/go-ethereum/vendor/github.com/go-stack/stack
github.com/ethereum/go-ethereum/log
github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics
github.com/ethereum/go-ethereum/vendor/gopkg.in/karalabe/cookiejar.v2/collections/prque
github.com/ethereum/go-ethereum/trie
github.com/ethereum/go-ethereum/core/types
github.com/ethereum/go-ethereum
github.com/ethereum/go-ethereum/vendor/github.com/aristanetworks/goarista/monotime
github.com/ethereum/go-ethereum/common/mclock
github.com/ethereum/go-ethereum/event
github.com/ethereum/go-ethereum/accounts
github.com/ethereum/go-ethereum/accounts/abi
github.com/ethereum/go-ethereum/crypto/randentropy
github.com/ethereum/go-ethereum/vendor/github.com/pborman/uuid
github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/pbkdf2
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/scrypt
github.com/ethereum/go-ethereum/vendor/gopkg.in/fatih/set.v0
github.com/ethereum/go-ethereum/accounts/keystore
github.com/ethereum/go-ethereum/vendor/golang.org/x/tools/go/ast/astutil
github.com/ethereum/go-ethereum/vendor/golang.org/x/tools/imports
github.com/ethereum/go-ethereum/accounts/abi/bind
github.com/ethereum/go-ethereum/vendor/github.com/edsrzf/mmap-go
github.com/ethereum/go-ethereum/common/bitutil
github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics/exp
github.com/ethereum/go-ethereum/metrics
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/cache
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/comparer
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/storage
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/errors
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/filter
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/iterator
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/journal
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/memdb
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/opt
github.com/ethereum/go-ethereum/vendor/github.com/golang/snappy
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table
github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb
github.com/ethereum/go-ethereum/ethdb
github.com/ethereum/go-ethereum/vendor/github.com/hashicorp/golang-lru/simplelru
github.com/ethereum/go-ethereum/vendor/github.com/hashicorp/golang-lru
github.com/ethereum/go-ethereum/core/state
github.com/ethereum/go-ethereum/crypto/ecies
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/httpu
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/scpd
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/soap
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/ssdp
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/html/atom
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/html
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/internal/identifier
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/transform
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/internal
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/charmap
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/japanese
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/korean
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/simplifiedchinese
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/traditionalchinese
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/internal/utf8internal
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/runes
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/unicode
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/internal/tag
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/language
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/encoding/htmlindex
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/html/charset
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/dcps/internetgateway1
github.com/ethereum/go-ethereum/vendor/github.com/huin/goupnp/dcps/internetgateway2
github.com/ethereum/go-ethereum/vendor/github.com/jackpal/go-nat-pmp
github.com/ethereum/go-ethereum/p2p/nat
github.com/ethereum/go-ethereum/p2p/netutil
github.com/ethereum/go-ethereum/p2p/discover
github.com/ethereum/go-ethereum/p2p/discv5
github.com/ethereum/go-ethereum/p2p
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/context
github.com/ethereum/go-ethereum/vendor/github.com/rs/xhandler
github.com/ethereum/go-ethereum/vendor/github.com/rs/cors
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/websocket
github.com/ethereum/go-ethereum/rpc
github.com/ethereum/go-ethereum/consensus
github.com/ethereum/go-ethereum/consensus/misc
github.com/ethereum/go-ethereum/consensus/ethash
github.com/ethereum/go-ethereum/crypto/bn256
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/ripemd160
github.com/ethereum/go-ethereum/core/vm
github.com/ethereum/go-ethereum/vendor/github.com/BurntSushi/toml
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/proto
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/ptypes/struct
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/jsonpb
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/ptypes/any
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/ptypes/duration
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/ptypes/timestamp
github.com/ethereum/go-ethereum/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal
github.com/ethereum/go-ethereum/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/codes
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/grpclog
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/metadata
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/ptypes
github.com/ethereum/go-ethereum/vendor/google.golang.org/genproto/googleapis/rpc/status
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/status
github.com/ethereum/go-ethereum/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime
github.com/ethereum/go-ethereum/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor
github.com/ethereum/go-ethereum/vendor/google.golang.org/genproto/googleapis/api/annotations
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/unicode/bidi
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/secure/bidirule
github.com/ethereum/go-ethereum/vendor/golang.org/x/text/unicode/norm
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/idna
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/http/httpguts
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/http2/hpack
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/http2
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/internal/timeseries
github.com/ethereum/go-ethereum/vendor/golang.org/x/net/trace
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/connectivity
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/credentials
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/resolver
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/balancer
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/balancer/base
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/balancer/roundrobin
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/encoding
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/encoding/proto
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal/grpcrand
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal/backoff
github.com/ethereum/go-ethereum/vendor/golang.org/x/sys/unix
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal/channelz
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal/envconfig
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/keepalive
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/peer
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/stats
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/tap
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/internal/transport
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/naming
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/resolver/dns
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc/resolver/passthrough
github.com/ethereum/go-ethereum/vendor/google.golang.org/grpc
github.com/ethereum/go-ethereum/vendor/github.com/blk-io/chimera-api/chimera
github.com/ethereum/go-ethereum/vendor/github.com/patrickmn/go-cache
github.com/ethereum/go-ethereum/vendor/github.com/tv42/httpunix
github.com/ethereum/go-ethereum/private/constellation
github.com/ethereum/go-ethereum/private
github.com/ethereum/go-ethereum/core
github.com/ethereum/go-ethereum/accounts/abi/bind/backends
github.com/ethereum/go-ethereum/accounts/usbwallet/internal/trezor
github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid
# github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid
In file included from vendor/github.com/karalabe/hid/hid_enabled.go:22:0:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
github.com/ethereum/go-ethereum/accounts/usbwallet
github.com/ethereum/go-ethereum/bmt
github.com/ethereum/go-ethereum/common/compiler
github.com/ethereum/go-ethereum/cmd/abigen
github.com/ethereum/go-ethereum/consensus/clique
github.com/ethereum/go-ethereum/consensus/istanbul
github.com/ethereum/go-ethereum/consensus/istanbul/core
github.com/ethereum/go-ethereum/consensus/istanbul/validator
github.com/ethereum/go-ethereum/consensus/istanbul/backend
github.com/ethereum/go-ethereum/core/bloombits
github.com/ethereum/go-ethereum/eth/downloader
github.com/ethereum/go-ethereum/eth/fetcher
github.com/ethereum/go-ethereum/eth/filters
github.com/ethereum/go-ethereum/vendor/gopkg.in/sourcemap.v1/base64vlq
github.com/ethereum/go-ethereum/vendor/gopkg.in/sourcemap.v1
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/file
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/token
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/ast
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/dbg
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/parser
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/registry
github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto
github.com/ethereum/go-ethereum/internal/ethapi
github.com/ethereum/go-ethereum/eth/gasprice
github.com/ethereum/go-ethereum/miner
github.com/ethereum/go-ethereum/log/term
github.com/ethereum/go-ethereum/vendor/github.com/mattn/go-colorable
github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1
github.com/ethereum/go-ethereum/internal/debug
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/prometheus/util/flock
github.com/ethereum/go-ethereum/node
github.com/ethereum/go-ethereum/eth
github.com/ethereum/go-ethereum/les/flowcontrol
github.com/ethereum/go-ethereum/light
github.com/ethereum/go-ethereum/les
github.com/ethereum/go-ethereum/ethstats
github.com/ethereum/go-ethereum/vendor/golang.org/x/sync/syncmap
github.com/ethereum/go-ethereum/whisper/whisperv5
github.com/ethereum/go-ethereum/cmd/utils
github.com/ethereum/go-ethereum/cmd/bootnode
github.com/ethereum/go-ethereum/core/asm
github.com/ethereum/go-ethereum/cmd/evm/internal/compiler
github.com/ethereum/go-ethereum/core/vm/runtime
github.com/ethereum/go-ethereum/tests
github.com/ethereum/go-ethereum/cmd/evm
github.com/ethereum/go-ethereum/ethclient
github.com/ethereum/go-ethereum/cmd/faucet
github.com/ethereum/go-ethereum/cmd/internal/browser
github.com/ethereum/go-ethereum/internal/jsre/deps
github.com/ethereum/go-ethereum/vendor/github.com/mattn/go-isatty
github.com/ethereum/go-ethereum/vendor/github.com/fatih/color
github.com/ethereum/go-ethereum/internal/jsre
github.com/ethereum/go-ethereum/internal/web3ext
github.com/ethereum/go-ethereum/vendor/github.com/peterh/liner
github.com/ethereum/go-ethereum/console
github.com/ethereum/go-ethereum/contracts/release
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/raft/raftpb
github.com/ethereum/go-ethereum/vendor/github.com/eapache/queue
github.com/ethereum/go-ethereum/vendor/github.com/eapache/channels
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/raft
github.com/ethereum/go-ethereum/vendor/github.com/coreos/go-systemd/journal
github.com/ethereum/go-ethereum/vendor/github.com/coreos/pkg/capnslog
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/etcdserver/stats
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/fileutil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/types
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/httputil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/ioutil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/logutil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/pbutil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/tlsutil
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/transport
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/snap/snappb
github.com/ethereum/go-ethereum/vendor/github.com/beorn7/perks/quantile
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/client_model/go
github.com/ethereum/go-ethereum/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/common/model
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/common/expfmt
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/procfs
github.com/ethereum/go-ethereum/vendor/github.com/prometheus/client_golang/prometheus
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/snap
github.com/ethereum/go-ethereum/vendor/github.com/coreos/go-semver/semver
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/version
github.com/ethereum/go-ethereum/vendor/github.com/xiang90/probing
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/rafthttp
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/pkg/crc
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/wal/walpb
github.com/ethereum/go-ethereum/vendor/github.com/coreos/etcd/wal
github.com/ethereum/go-ethereum/vendor/gopkg.in/oleiade/lane.v1
github.com/ethereum/go-ethereum/raft
github.com/ethereum/go-ethereum/vendor/github.com/maruel/panicparse/stack
github.com/ethereum/go-ethereum/vendor/github.com/mattn/go-runewidth
github.com/ethereum/go-ethereum/vendor/github.com/mitchellh/go-wordwrap
github.com/ethereum/go-ethereum/vendor/github.com/nsf/termbox-go
github.com/ethereum/go-ethereum/vendor/github.com/gizak/termui
github.com/ethereum/go-ethereum/vendor/github.com/naoina/go-stringutil
github.com/ethereum/go-ethereum/vendor/github.com/naoina/toml/ast
github.com/ethereum/go-ethereum/vendor/github.com/naoina/toml
github.com/ethereum/go-ethereum/cmd/geth
github.com/ethereum/go-ethereum/vendor/github.com/docker/docker/pkg/reexec
github.com/ethereum/go-ethereum/p2p/simulations/adapters
github.com/ethereum/go-ethereum/vendor/github.com/julienschmidt/httprouter
github.com/ethereum/go-ethereum/p2p/simulations
github.com/ethereum/go-ethereum/cmd/p2psim
github.com/ethereum/go-ethereum/vendor/github.com/olekukonko/tablewriter
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/curve25519
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/ed25519/internal/edwards25519
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/ed25519
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/ssh
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/ssh/terminal
github.com/ethereum/go-ethereum/cmd/puppeth
github.com/ethereum/go-ethereum/cmd/rlpdump
# github.com/ethereum/go-ethereum/cmd/rlpdump
loadinternal: cannot find runtime/cgo
github.com/ethereum/go-ethereum/contracts/ens/contract
github.com/ethereum/go-ethereum/contracts/ens
github.com/ethereum/go-ethereum/contracts/chequebook/contract
github.com/ethereum/go-ethereum/swarm/services/swap/swap
github.com/ethereum/go-ethereum/contracts/chequebook
github.com/ethereum/go-ethereum/swarm/network/kademlia
github.com/ethereum/go-ethereum/swarm/services/swap
github.com/ethereum/go-ethereum/compression/rle
github.com/ethereum/go-ethereum/swarm/storage
github.com/ethereum/go-ethereum/swarm/network
github.com/ethereum/go-ethereum/swarm/api
github.com/ethereum/go-ethereum/swarm/api/http
github.com/ethereum/go-ethereum/vendor/bazil.org/fuse
github.com/ethereum/go-ethereum/vendor/bazil.org/fuse/fuseutil
github.com/ethereum/go-ethereum/vendor/bazil.org/fuse/fs
github.com/ethereum/go-ethereum/swarm/fuse
github.com/ethereum/go-ethereum/swarm
github.com/ethereum/go-ethereum/swarm/api/client
github.com/ethereum/go-ethereum/cmd/swarm
github.com/ethereum/go-ethereum/whisper/mailserver
github.com/ethereum/go-ethereum/cmd/wnode
github.com/ethereum/go-ethereum/common/number
github.com/ethereum/go-ethereum/event/filter
github.com/ethereum/go-ethereum/internal/cmdtest
github.com/ethereum/go-ethereum/internal/guide
github.com/ethereum/go-ethereum/mobile
github.com/ethereum/go-ethereum/p2p/simulations/examples
github.com/ethereum/go-ethereum/swarm/testutil
github.com/ethereum/go-ethereum/whisper/shhclient
github.com/ethereum/go-ethereum/whisper/whisperv2
Cloning into 'crux'...
Note: checking out 'tags/v1.0.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at abb98b1 Update Gopkg.toml
go get -u github.com/golang/dep/cmd/dep
go get -u golang.org/x/tools/cmd/goimports
# golang.org/x/tools/cmd/goimports
loadinternal: cannot find runtime/cgo
go get -u github.com/wadey/gocovmerge
# github.com/wadey/gocovmerge
loadinternal: cannot find runtime/cgo
(cd /quorum/crux/.GOPATH/src/github.com/blk-io/crux && ./bin/dep ensure)
# github.com/blk-io/crux/vendor/github.com/jsimonetti/berkeleydb
bdb.c: In function 'go_db_cursor':
bdb.c:78:38: warning: passing argument 3 of 'dbp->cursor' from incompatible pointer type [-Wincompatible-pointer-types]
         ret = dbp->cursor(dbp, NULL, dbcp, 0);
                                      ^~~~
bdb.c:78:38: note: expected 'DBC ** {aka struct __dbc **}' but argument is of type 'DBC * {aka struct __dbc *}'
WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.efaa1f73.tar.gz: No such file or directory
ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh crux-start.sh istanbul-start.sh istanbul-init.sh &&     chmod +x test_transaction.sh &&     chmod +x bootstrap.sh &&     ./bootstrap.sh &&     apk del sed make git cmake build-base gcc g++ musl-dev curl-dev boost-dev' returned a non-zero code: 2
@drandreaskrueger drandreaskrueger changed the title ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh crux-start.sh istanbul-start.sh istanbul-init.sh && chmod +x test_transaction.sh && chmod +x bootstrap.sh && ./bootstrap.sh && apk del sed make git cmake build-base gcc g++ musl-dev curl-dev boost-dev' returned a non-zero code: 2 ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh ...' returned a non-zero code: 2 Sep 18, 2018
@Puneetha17
Copy link
Contributor

I just followed the exact same steps and it works completely fine for me and I am on mac.
When I look up the Warning, looks like an Alpine issue to me gliderlabs/docker-alpine#207 gliderlabs/docker-alpine#279. Are you working with Ubuntu?

@drandreaskrueger
Copy link
Author

AWS

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Sep 18, 2018

Use this AMI (ami-07ae98bd023ea9955) to reproduce the exact same system. It is Debian-stretch based.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Sep 18, 2018

I have now done the same again, starting all over in a new instance of the same AWS image ... and I could reproduce the problem.

@drandreaskrueger
Copy link
Author

Are you seeing it too, when you run it in that ami-07ae98bd023ea9955?

@carlosfaria94
Copy link
Contributor

I have the same problem running locally in a MacOS.

As said here: gliderlabs/docker-alpine#207 (comment)

There is a problem doing apk --update add --no-cache

I changed this lines: https://github.com/blk-io/crux/blob/master/docker/crux/Dockerfile#L3-L5 in Dockerfile to:

RUN apk update --no-cache && \
    # Update and then install dependencies
    apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \
    apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb && \
    apk add build-base cmake boost-dev git

It solves the problem.

@drandreaskrueger I will test in AWS.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Sep 19, 2018

Thanks a lot. Good news. Please commit. Thanks.

@drandreaskrueger
Copy link
Author

Also, please fix this too

https://github.com/blk-io/crux/blob/master/docker/quorum-crux/Dockerfile

because that is what is failing - I start with

 cd blk-io_crux/docker/quorum-crux

@drandreaskrueger
Copy link
Author

I have tried replacing in https://github.com/blk-io/crux/blob/master/docker/quorum-crux/Dockerfile

with

RUN apk update --no-cache && \
    # Update and then install dependencies
    apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev && \
    apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb && \
    apk add build-base cmake boost-dev git

and ... it works. Hooray.

Please commit to master. Thanks.

@carlosfaria94
Copy link
Contributor

carlosfaria94 commented Sep 19, 2018

I submitted a PR #40 waiting to be merged. @Puneetha17

Here: https://github.com/carlosfaria94/crux I made a fork with Dockerfile fix and with your performance tweaks.

I also tested in AWS and it works well (Ubuntu 16 LTS).

@drandreaskrueger I have been following your work, I think it is really important to start stress testing all these implementations. Thank you for your contributions! (And I'm sorry to see Parity team not interested in searching for a solution, it's sad.)

P.S: Be careful with AuRa, the algorithm relays on the UNIX timestamp being sync between nodes. Bad things can happen if timestamps don't sync (lack of consistency):

AuRa favors availability instead of consistency. I prefer a PBFT approach (e.g. IBFT), it favors consistency instead of availability. But depends a lot on your use-case and your project risk tolerance.

One more question, I'm trying to benchmark quorum-crux IBFT in AWS, following your amazing work: https://gitlab.com/electronDLT/chainhammer/blob/master/reproduce_TODO-crux.md

When you do geth attach http://localhost:22001 is inside of the AWS instance or from your local machine to AWS?

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Sep 19, 2018

@carlosfaria94

Oh wow, thanks for all that interesting infos! Hopefully get the time to look deeper next week.

And most of all THANKS for the encouragement. Much needed right now.
Yes, the interactions over there have been ... tiring; (apart from low TPS) another disadvantage of parity?

But of course, we are all busy, so I also understand their reluctance to run someone else's code.
You could see however, how easy I have made it for them. They can test my stuff literally in 10 minutes now.
So now I can only ask for that ... and wait.

Anyways ... digress ... back to this:

reproduce_TODO-crux.md

Yes, I have just committed an update to exactly that, a few minutes ago. Still work in progress, and I want to wait for @Puneetha17 and then simplify that too long text reproduce_TODO-crux.md before I include it into the main reproduce.md. Then I will also create yet another newer version of the AMI.

But already:

I could get it working!!

(preliminary!) results:

hardware node type #nodes config peak TPS_av final TPS_av
t2.2xlarge parity 4 (D) 57.6 57.6
t2.2xlarge geth 3+1 (B) 421.6 400.0
t2.2xlarge quorum crux IBFT 4 (F) 435.4 423.1

And:

inside of the AWS instance or from your local machine to AWS?

I need that geth attach http://localhost:22001 only if I want to query the node manually, e.g. for blocknumber, or any other JSRE query.

But that geth attach is now also working again.

Yes, from yet another ssh chainhammer terminal on the cloud machine, into itself.

submitted a PR #40 waiting to be merged.

Fantastic, that'll help.

I'll continue not before next week. But you feel free to play with parameters, perhaps you can accelerate even more? Also try raft consensus? Good luck.

Thanks A LOT for the good vibes! ;-) Muito obrigado!

@carlosfaria94
Copy link
Contributor

carlosfaria94 commented Sep 19, 2018

Yes, the interactions over there have been ... tiring; (apart from low TPS) another disadvantage of parity?

I only have researched the AuRa consensus algorithm, I'm personally never worked with Parity, only Geth.

I will certainly perform more tests until the end of the week.

I only started this week looking to your work, I'm digesting it, and then I will perform some benchmarking, and I look forward to contribute with something :)

Raft is not byzantine fault-tolerant, our internal project require a BFT consensus algorithm. But I will certainly look to Raft to see the performance compared with IBFT.

Thank you for all of your work :) Obrigado :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants