web3labs / crux

Data Privacy for Quorum Blockchains
https://www.web3labs.com
Apache License 2.0
52 stars 28 forks source link

ERROR: Service 'node1' failed to build: The command '/bin/sh -c chmod +x start.sh ...' returned a non-zero code: 2 #39

Closed drandreaskrueger closed 6 years ago

drandreaskrueger commented 6 years ago
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
Puneetha17 commented 6 years ago

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 https://github.com/gliderlabs/docker-alpine/issues/207 https://github.com/gliderlabs/docker-alpine/issues/279. Are you working with Ubuntu?

drandreaskrueger commented 6 years ago

AWS

drandreaskrueger commented 6 years ago

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

drandreaskrueger commented 6 years ago

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 commented 6 years ago

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

carlosfaria94 commented 6 years ago

I have the same problem running locally in a MacOS.

As said here: https://github.com/gliderlabs/docker-alpine/issues/207#issuecomment-387041034

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 commented 6 years ago

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

drandreaskrueger commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

I submitted a PR https://github.com/blk-io/crux/pull/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 commented 6 years ago

@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 commented 6 years ago

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