Hyperledger fabric
なんだか、放置しておいたら293viewもあった。初めてQiita使ってみたというか、ただのメモ書きなのです。もう少し時間がとれたら、なんとかしたいとは思っています。
1. fabric の構築
1.1 前提条件
. git
. go
. docker-engine
. docker-compose
1.2 GOPATHの設定
GOPATH
環境変数を適切に設定します。
export GOPATH=/usr/local
export GOROOT=/usr/local/go
1.3 fabricのソースディレクトリ
mkdir -p ${GOPATH}/src/github.com/hyperledger
cd ${GOPATH}/src/github.com/hyperledger
1.4 fabric-baseimageの構築
git clone https://github.com/hyperledger/fabric-baseimage.git
cd fabric-baseimage
make clean
make docker-local
ビルドされたdocker imageの一覧。
hyperledger/fabric-baseimage armv7l-0.3.1 084d80b8fb19 7 minutes ago 1.08GB
hyperledger/fabric-baseimage latest 084d80b8fb19 7 minutes ago 1.08GB
hyperledger/fabric-basejvm armv7l-0.3.1 e829eecb91fd 3 hours ago 483MB
hyperledger/fabric-basejvm latest e829eecb91fd 3 hours ago 483MB
hyperledger/fabric-baseos armv7l-0.3.1 10567adb23b6 3 hours ago 162MB
hyperledger/fabric-baseos latest 10567adb23b6 3 hours ago 162MB
1.5 fabricの構築
git clone https://github.com/hyperledger/fabric.git
cd fabric
make dist-clean
make gotools
make docker
ビルドされたdocker imageの一覧。
hyperledger/fabric-couchdb armv7l-1.0.0-snapshot-af23d64 2436295661a7 About a minute ago 1.29GB
hyperledger/fabric-couchdb latest 2436295661a7 About a minute ago 1.29GB
hyperledger/fabric-kafka armv7l-1.0.0-snapshot-af23d64 222a3bce0c13 10 minutes ago 1.11GB
hyperledger/fabric-kafka latest 222a3bce0c13 10 minutes ago 1.11GB
hyperledger/fabric-zookeeper armv7l-1.0.0-snapshot-af23d64 2a1d86a55198 11 minutes ago 1.12GB
hyperledger/fabric-zookeeper latest 2a1d86a55198 11 minutes ago 1.12GB
hyperledger/fabric-testenv armv7l-1.0.0-snapshot-af23d64 165d6edc74b2 12 minutes ago 1.2GB
hyperledger/fabric-testenv latest 165d6edc74b2 12 minutes ago 1.2GB
hyperledger/fabric-buildenv armv7l-1.0.0-snapshot-af23d64 abe90adbb79a 15 minutes ago 1.12GB
hyperledger/fabric-buildenv latest abe90adbb79a 15 minutes ago 1.12GB
hyperledger/fabric-orderer armv7l-1.0.0-snapshot-af23d64 88bfc64659e5 16 minutes ago 181MB
hyperledger/fabric-orderer latest 88bfc64659e5 16 minutes ago 181MB
hyperledger/fabric-peer armv7l-1.0.0-snapshot-af23d64 c9428ac341af 18 minutes ago 183MB
hyperledger/fabric-peer latest c9428ac341af 18 minutes ago 183MB
hyperledger/fabric-javaenv armv7l-1.0.0-snapshot-af23d64 210ea72a202f 18 minutes ago 1.19GB
hyperledger/fabric-javaenv latest 210ea72a202f 18 minutes ago 1.19GB
hyperledger/fabric-ccenv armv7l-1.0.0-snapshot-af23d64 4060c00bad6b 20 minutes ago 1.1GB
hyperledger/fabric-ccenv latest 4060c00bad6b 20 minutes ago 1.1GB
1.6 fabric-caの構築
git clone https://github.com/hyperledger/fabric-ca.git
cd fabric-ca
make clean
vi Makefile
BASEIMAGE_RELEASE = 0.3.1
make
ビルドされたdocker imageの一覧。
hyperledger/openldap armv7l-1.0.0-snapshot-ee34334 cfbccdb69f03 30 minutes ago 1.2GB
hyperledger/openldap latest cfbccdb69f03 30 minutes ago 1.2GB
hyperledger/fabric-ca armv7l-1.0.0-snapshot-ee34334 85fabccc9bb5 39 minutes ago 229MB
hyperledger/fabric-ca latest 85fabccc9bb5 39 minutes ago 229MB
cd hyperledger/fabric-ca/docker/server
docker-compose up -d
1.7 fabric-chaintoolの構築
# Return to normal-user
$ git clone https://github.com/hyperledger/fabric-chaintool.git
$ cd fabric-chaintool
$ make
1.8 fabric unit-test
# make unit-test
cd unit-test && docker-compose down
WARNING: The TEST_PKGS variable is not set. Defaulting to a blank string.
cd unit-test && docker-compose up --abort-on-container-exit --force-recreate && docker-compose down
WARNING: The TEST_PKGS variable is not set. Defaulting to a blank string.
Creating unittest_vp_1
Creating couchdb
Creating unittest_unit-tests_1
Attaching to unittest_vp_1, couchdb, unittest_unit-tests_1
couchdb | WARNING: no logs are available with the 'none' log driver
vp_1 | WARNING: no logs are available with the 'none' log driver
unit-tests_1 | Obtaining list of tests to run for the following packages: github.com/hyperledger/fabric/...DONE!
unit-tests_1 | Running tests...
unit-tests_1 | ? github.com/hyperledger/fabric/bccsp [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/bccsp/factory 0.106s coverage: 40.3% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/bccsp/pkcs11 1154.320s coverage: 74.9% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/bccsp/signer 0.079s coverage: 61.5% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/bccsp/sw 1073.258s coverage: 73.7% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/bccsp/utils 0.050s coverage: 42.9% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/bddtests 0.073s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/cauthdsl 0.080s coverage: 79.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/config 0.572s coverage: 83.2% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/config/msp 0.485s coverage: 53.9% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/configtx 0.099s coverage: 73.1% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/configtx/api [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/configtx/test 1.376s coverage: 64.7% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/configtx/tool/configtxgen 0.274s coverage: 56.6% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/configtx/tool/localconfig [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/configtx/tool/provisional 0.270s coverage: 73.9% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/crypto [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/flogging 0.029s coverage: 98.5% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/genesis 0.074s coverage: 88.9% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/ledger [no test files]
unit-tests_1 | ? github.com/hyperledger/fabric/common/ledger/blkstorage [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/ledger/blkstorage/fsblkstorage 40.593s coverage: 81.2% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/ledger/testutil 0.074s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/ledger/util 0.135s coverage: 79.7% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/ledger/util/leveldbhelper 0.169s coverage: 54.6% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/localmsp 0.119s coverage: 76.2% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/metadata [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/mocks/configtx 0.059s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/mocks/configvalues/channel 0.060s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/mocks/configvalues/channel/orderer 0.065s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/mocks/crypto 0.015s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/mocks/policies 0.058s coverage: 0.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/policies 0.075s coverage: 66.0% of statements
unit-tests_1 | ? github.com/hyperledger/fabric/common/tools/cryptogen [no test files]
unit-tests_1 | ok github.com/hyperledger/fabric/common/tools/cryptogen/ca 0.105s coverage: 80.7% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/tools/cryptogen/csp 0.039s coverage: 72.0% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/tools/cryptogen/msp 0.107s coverage: 72.3% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/util 2.024s coverage: 68.3% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/common/viperutil 5.066s coverage: 83.3% of statements
unit-tests_1 | ok github.com/hyperledger/fabric/core 0.058s coverage: 18.8% of statements
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | 2017-04-09 15:11:20.585 UTC [peer] func1 -> INFO 001 Auto detected peer address: 172.17.0.4:21212
unit-tests_1 | 2017-04-09 15:11:20.587 UTC [peer] func1 -> INFO 002 Auto detected peer address: 172.17.0.4:21212
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"cc_go_221841" version:"1.0.0.0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:11:48.731 UTC [chaincode-platform] func1 -> ERRO 003 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:11:48.733 UTC [dockercontroller] deployImage -> ERRO 004 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:11:48.733 UTC [dockercontroller] deployImage -> ERRO 005 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:11:48.733 UTC [chaincode] Launch -> ERRO 006 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:11:48.733 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 007 ExecuteWithErrorFilter cc_go_221841 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:11:48.800 UTC [inproccontroller] func2 -> ERRO 008 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:48.800 UTC [inproccontroller] func1 -> ERRO 009 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:48.801 UTC [inproccontroller] func2 -> ERRO 00a chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:48.801 UTC [inproccontroller] func1 -> ERRO 00b chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:48.801 UTC [inproccontroller] func2 -> ERRO 00c chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:48.801 UTC [inproccontroller] func1 -> ERRO 00d chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:48.801 UTC [inproccontroller] func2 -> ERRO 00e chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:48.802 UTC [inproccontroller] func1 -> ERRO 00f chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:JAVA chaincode_id:<path:"../../examples/chaincode/java/chaincode_example02" name:"cc_java_101970" version:"1.0.0.0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:11:55.197 UTC [dockercontroller] deployImage -> ERRO 010 Error building images: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:11:55.198 UTC [dockercontroller] deployImage -> ERRO 011 Image Output:
unit-tests_1 | ********************
unit-tests_1 | Step 1/8 : FROM hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:11:55.198 UTC [chaincode] Launch -> ERRO 012 launchAndWaitForRegister failed Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:11:55.198 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 013 ExecuteWithErrorFilter cc_java_101970 error: Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func2 -> ERRO 014 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func1 -> ERRO 015 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func2 -> ERRO 016 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func2 -> ERRO 018 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func2 -> ERRO 017 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func1 -> ERRO 019 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func1 -> ERRO 01a chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:11:55.211 UTC [inproccontroller] func1 -> ERRO 01b chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestExecuteInvokeTransaction (37.24s)
unit-tests_1 | --- FAIL: TestExecuteInvokeTransaction/GOLANG (31.73s)
unit-tests_1 | exectransaction_test.go:666: Error invoking transaction: Error deploying <cc_go_221841>: Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | --- FAIL: TestExecuteInvokeTransaction/JAVA (5.50s)
unit-tests_1 | exectransaction_test.go:666: Error invoking transaction: Error deploying <cc_java_101970>: Error deploying chaincode: Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"example02" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:12:18.700 UTC [chaincode-platform] func1 -> ERRO 01c Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:18.701 UTC [dockercontroller] deployImage -> ERRO 01d Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:18.702 UTC [dockercontroller] deployImage -> ERRO 01e Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:12:18.702 UTC [chaincode] Launch -> ERRO 01f launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:18.702 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 020 ExecuteWithErrorFilter example02 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:18.776 UTC [inproccontroller] func2 -> ERRO 021 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:18.777 UTC [inproccontroller] func2 -> ERRO 022 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:18.777 UTC [inproccontroller] func1 -> ERRO 024 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:18.778 UTC [inproccontroller] func2 -> ERRO 025 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:18.778 UTC [inproccontroller] func1 -> ERRO 026 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:18.778 UTC [inproccontroller] func1 -> ERRO 027 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:18.778 UTC [inproccontroller] func1 -> ERRO 028 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:18.777 UTC [inproccontroller] func2 -> ERRO 023 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"example02" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:12:42.373 UTC [chaincode-platform] func1 -> ERRO 029 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:42.374 UTC [dockercontroller] deployImage -> ERRO 02a Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:42.375 UTC [dockercontroller] deployImage -> ERRO 02b Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:12:42.375 UTC [chaincode] Launch -> ERRO 02c launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:42.375 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 02d ExecuteWithErrorFilter example02 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:12:44.441 UTC [inproccontroller] func2 -> ERRO 02e chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:44.441 UTC [inproccontroller] func1 -> ERRO 02f chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:44.441 UTC [inproccontroller] func2 -> ERRO 030 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:44.442 UTC [inproccontroller] func1 -> ERRO 031 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:44.442 UTC [inproccontroller] func2 -> ERRO 032 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:44.442 UTC [inproccontroller] func1 -> ERRO 033 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:12:44.442 UTC [inproccontroller] func2 -> ERRO 034 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:12:44.442 UTC [inproccontroller] func1 -> ERRO 035 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestChaincodeInvokeChaincode (25.67s)
unit-tests_1 | exectransaction_test.go:762: Error initializing chaincode example02(Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | exectransaction_test.go:733: Failed chaincode invoke chaincode : Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"example02" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:13:07.689 UTC [chaincode-platform] func1 -> ERRO 036 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:07.692 UTC [dockercontroller] deployImage -> ERRO 037 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:07.692 UTC [dockercontroller] deployImage -> ERRO 038 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:13:07.692 UTC [chaincode] Launch -> ERRO 039 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:07.692 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 03a ExecuteWithErrorFilter example02 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func2 -> ERRO 03b chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func2 -> ERRO 03d chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func2 -> ERRO 03c chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func1 -> ERRO 03e chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func1 -> ERRO 03f chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func1 -> ERRO 041 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func2 -> ERRO 040 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:07.758 UTC [inproccontroller] func1 -> ERRO 042 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestChaincodeInvokeChaincodeErrorCase (23.31s)
unit-tests_1 | exectransaction_test.go:865: Error initializing chaincode example02(Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/map" name:"tmap" version:"0" > input:<args:"init" >
unit-tests_1 | 2017-04-09 15:13:30.921 UTC [chaincode-platform] func1 -> ERRO 043 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:30.923 UTC [dockercontroller] deployImage -> ERRO 044 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:30.923 UTC [dockercontroller] deployImage -> ERRO 045 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:13:30.923 UTC [chaincode] Launch -> ERRO 046 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:30.923 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 047 ExecuteWithErrorFilter tmap error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func2 -> ERRO 048 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func2 -> ERRO 049 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func2 -> ERRO 04a chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func2 -> ERRO 04b chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func1 -> ERRO 04c chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:30.990 UTC [inproccontroller] func1 -> ERRO 04d chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:30.991 UTC [inproccontroller] func1 -> ERRO 04e chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:30.991 UTC [inproccontroller] func1 -> ERRO 04f chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestQueries (23.23s)
unit-tests_1 | exectransaction_test.go:955: Error initializing chaincode tmap(Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/eventsender" name:"esender" version:"0" > input:<args:"init" >
unit-tests_1 | 2017-04-09 15:13:54.742 UTC [chaincode-platform] func1 -> ERRO 050 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:54.745 UTC [dockercontroller] deployImage -> ERRO 051 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:54.745 UTC [dockercontroller] deployImage -> ERRO 052 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:13:54.745 UTC [chaincode] Launch -> ERRO 053 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:54.745 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 054 ExecuteWithErrorFilter esender error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:13:54.824 UTC [inproccontroller] func2 -> ERRO 055 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:54.825 UTC [inproccontroller] func2 -> ERRO 056 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:54.825 UTC [inproccontroller] func2 -> ERRO 057 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:54.825 UTC [inproccontroller] func2 -> ERRO 058 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:13:54.825 UTC [inproccontroller] func1 -> ERRO 059 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:54.825 UTC [inproccontroller] func1 -> ERRO 05a chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:54.826 UTC [inproccontroller] func1 -> ERRO 05b chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:13:54.826 UTC [inproccontroller] func1 -> ERRO 05c chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestGetEvent (23.83s)
unit-tests_1 | exectransaction_test.go:1309: Error initializing chaincode esender(Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/passthru" name:"pthru" version:"0" > input:<args:"init" >
unit-tests_1 | 2017-04-09 15:14:18.407 UTC [chaincode-platform] func1 -> ERRO 05d Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:18.409 UTC [dockercontroller] deployImage -> ERRO 05e Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:18.409 UTC [dockercontroller] deployImage -> ERRO 05f Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:14:18.409 UTC [chaincode] Launch -> ERRO 060 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:18.409 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 061 ExecuteWithErrorFilter pthru error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:18.474 UTC [inproccontroller] func2 -> ERRO 062 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:18.474 UTC [inproccontroller] func2 -> ERRO 063 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func2 -> ERRO 064 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func2 -> ERRO 065 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func1 -> ERRO 066 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func1 -> ERRO 067 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func1 -> ERRO 068 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:18.475 UTC [inproccontroller] func1 -> ERRO 069 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestChaincodeInvokesSystemChaincode (23.65s)
unit-tests_1 | exectransaction_test.go:1503: Error initializing chaincode pthru(Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"cc_go_942844" version:"1.0.0.0" > input:<args:"init" args:"not" args:"enough" args:"args" >
unit-tests_1 | 2017-04-09 15:14:41.606 UTC [chaincode-platform] func1 -> ERRO 06a Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:41.607 UTC [dockercontroller] deployImage -> ERRO 06b Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:41.607 UTC [dockercontroller] deployImage -> ERRO 06c Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:14:41.608 UTC [chaincode] Launch -> ERRO 06d launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:41.608 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 06e ExecuteWithErrorFilter cc_go_942844 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func2 -> ERRO 06f chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func1 -> ERRO 070 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func2 -> ERRO 071 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func2 -> ERRO 072 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func2 -> ERRO 073 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func1 -> ERRO 074 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:41.673 UTC [inproccontroller] func1 -> ERRO 075 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:41.674 UTC [inproccontroller] func1 -> ERRO 076 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:JAVA chaincode_id:<path:"../../examples/chaincode/java/chaincode_example02" name:"cc_java_279803" version:"1.0.0.0" > input:<args:"init" args:"not" args:"enough" args:"args" >
unit-tests_1 | 2017-04-09 15:14:46.615 UTC [dockercontroller] deployImage -> ERRO 077 Error building images: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:46.615 UTC [dockercontroller] deployImage -> ERRO 078 Image Output:
unit-tests_1 | ********************
unit-tests_1 | Step 1/8 : FROM hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:14:46.616 UTC [chaincode] Launch -> ERRO 079 launchAndWaitForRegister failed Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:46.616 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 07a ExecuteWithErrorFilter cc_java_279803 error: Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func2 -> ERRO 07b chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func1 -> ERRO 07c chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func2 -> ERRO 07d chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func2 -> ERRO 07e chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func1 -> ERRO 07f chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func2 -> ERRO 080 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func1 -> ERRO 081 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:46.617 UTC [inproccontroller] func1 -> ERRO 082 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:JAVA chaincode_id:<path:"../../examples/chaincode/java/chaincode_example06" name:"cc_java_227938" version:"1.0.0.0" > input:<args:"runtimeException" >
unit-tests_1 | 2017-04-09 15:14:51.527 UTC [dockercontroller] deployImage -> ERRO 083 Error building images: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:51.528 UTC [dockercontroller] deployImage -> ERRO 084 Image Output:
unit-tests_1 | ********************
unit-tests_1 | Step 1/8 : FROM hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:14:51.528 UTC [chaincode] Launch -> ERRO 085 launchAndWaitForRegister failed Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:51.528 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 086 ExecuteWithErrorFilter cc_java_227938 error: Error starting container: manifest for hyperledger/fabric-javaenv:arm-1.0.0-snapshot-af23d64 not found
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func2 -> ERRO 087 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func1 -> ERRO 088 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func2 -> ERRO 089 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func2 -> ERRO 08a chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func2 -> ERRO 08b chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func1 -> ERRO 08c chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func1 -> ERRO 08d chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:51.529 UTC [inproccontroller] func1 -> ERRO 08e chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | 2017-04-09 15:14:53.800 UTC [inproccontroller] func2 -> ERRO 08f chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:53.800 UTC [inproccontroller] func1 -> ERRO 090 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:53.801 UTC [inproccontroller] func2 -> ERRO 091 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:53.801 UTC [inproccontroller] func2 -> ERRO 092 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:53.801 UTC [inproccontroller] func1 -> ERRO 093 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:53.801 UTC [inproccontroller] func1 -> ERRO 094 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:14:53.802 UTC [inproccontroller] func2 -> ERRO 095 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:14:53.802 UTC [inproccontroller] func1 -> ERRO 096 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"example02" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:15:14.881 UTC [chaincode-platform] func1 -> ERRO 097 Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:14.884 UTC [dockercontroller] deployImage -> ERRO 098 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:14.884 UTC [dockercontroller] deployImage -> ERRO 099 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:15:14.884 UTC [chaincode] Launch -> ERRO 09a launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:14.885 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 09b ExecuteWithErrorFilter example02 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"example02" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:15:35.767 UTC [chaincode-platform] func1 -> ERRO 09c Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:35.769 UTC [dockercontroller] deployImage -> ERRO 09d Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:35.769 UTC [dockercontroller] deployImage -> ERRO 09e Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:15:35.769 UTC [chaincode] Launch -> ERRO 09f launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:35.769 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 0a0 ExecuteWithErrorFilter example02 error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:15:35.841 UTC [inproccontroller] func2 -> ERRO 0a1 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func2 -> ERRO 0a2 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func1 -> ERRO 0a3 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func2 -> ERRO 0a4 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func2 -> ERRO 0a5 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func1 -> ERRO 0a6 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func1 -> ERRO 0a7 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:15:35.842 UTC [inproccontroller] func1 -> ERRO 0a8 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestExecuteInvokeOnManyChains (44.32s)
unit-tests_1 | multichains_test.go:50: Error invoking transaction: Error deploying <example02>: Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | multichains_test.go:50: Error invoking transaction: Error deploying <example02>: Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | 2017-04-09 15:15:38.780 UTC [inproccontroller] func2 -> ERRO 0a9 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:38.780 UTC [inproccontroller] func1 -> ERRO 0aa chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | 2017-04-09 15:15:41.195 UTC [inproccontroller] func2 -> ERRO 0ab chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:41.196 UTC [inproccontroller] func1 -> ERRO 0ac chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:15:41.395 UTC [inproccontroller] func2 -> ERRO 0ad chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:15:41.395 UTC [inproccontroller] func1 -> ERRO 0ae chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example01" name:"mycc" version:"0" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:16:05.242 UTC [chaincode-platform] func1 -> ERRO 0af Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:16:05.244 UTC [dockercontroller] deployImage -> ERRO 0b0 Error building images: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:16:05.244 UTC [dockercontroller] deployImage -> ERRO 0b1 Image Output:
unit-tests_1 | ********************
unit-tests_1 |
unit-tests_1 | ********************
unit-tests_1 | 2017-04-09 15:16:05.244 UTC [chaincode] Launch -> ERRO 0b2 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:16:05.244 UTC [chaincode] ExecuteWithErrorFilter -> ERRO 0b3 ExecuteWithErrorFilter mycc error: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image
unit-tests_1 | 2017-04-09 15:16:05.326 UTC [inproccontroller] func2 -> ERRO 0b4 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:05.326 UTC [inproccontroller] func2 -> ERRO 0b5 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:05.326 UTC [inproccontroller] func2 -> ERRO 0b6 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:05.326 UTC [inproccontroller] func2 -> ERRO 0b7 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:05.327 UTC [inproccontroller] func1 -> ERRO 0b8 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:05.327 UTC [inproccontroller] func1 -> ERRO 0b9 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:05.327 UTC [inproccontroller] func1 -> ERRO 0ba chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:05.327 UTC [inproccontroller] func1 -> ERRO 0bb chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | --- FAIL: TestUpgradeCC (23.94s)
unit-tests_1 | upgrade_test.go:147: Error deploying chaincode path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example01" name:"mycc" version:"0" (Error deploying chaincode: Error starting container: Failed to generate platform-specific docker build: Error creating container: no such image)
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | getting deployment spec for chaincode spec: type:GOLANG chaincode_id:<path:"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" name:"mycc" version:"1" > input:<args:"init" args:"a" args:"100" args:"b" args:"200" >
unit-tests_1 | 2017-04-09 15:16:28.588 UTC [inproccontroller] func2 -> ERRO 0bd chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:28.588 UTC [inproccontroller] func2 -> ERRO 0bc chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:28.588 UTC [inproccontroller] func1 -> ERRO 0be chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:28.588 UTC [inproccontroller] func2 -> ERRO 0bf chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:28.589 UTC [inproccontroller] func2 -> ERRO 0c0 chaincode ended with err: Received nil message, ending chaincode support stream
unit-tests_1 | 2017-04-09 15:16:28.589 UTC [inproccontroller] func1 -> ERRO 0c1 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:28.589 UTC [inproccontroller] func1 -> ERRO 0c2 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | 2017-04-09 15:16:28.589 UTC [inproccontroller] func1 -> ERRO 0c3 chaincode-support ended with err: Received nil message, ending chaincode stream
unit-tests_1 | removing dir = /tmp/hyperledger/test/tmpdb/ledgersData
unit-tests_1 | FAIL
unit-tests_1 | coverage: 43.2% of statements
unit-tests_1 | FAIL github.com/hyperledger/fabric/core/chaincode 310.799s
unit-tests_1 | error: exit status 1
unit-tests_1 | panic: EOF
unit-tests_1 |
unit-tests_1 | goroutine 1 [running]:
unit-tests_1 | panic(0xf1428, 0x1040a050)
unit-tests_1 | /opt/go/src/runtime/panic.go:500 +0x33c
unit-tests_1 | main.main()
unit-tests_1 | /opt/gotools/obj/gopath/src/github.com/AlekSi/gocov-xml/gocov-xml.go:60 +0x124
unittest_unit-tests_1 exited with code 2
Stopping couchdb ... done
Stopping unittest_vp_1 ... done
Aborting on container exit...
WARNING: The TEST_PKGS variable is not set. Defaulting to a blank string.
Removing unittest_unit-tests_1 ... done
Removing couchdb ... done
Removing unittest_vp_1 ... done
./examples/sfhackfest/ccenv/Dockerfile:FROM sfhackfest22017/fabric-ccenv:x86_64-0.7.0-snapshot-c7b3fe0
./examples/chaincode/go/utxo/Dockerfile:FROM ubuntu:latest
./vendor/golang.org/x/net/http2/Dockerfile:FROM ubuntu:trusty
./gotools/build/gopath/src/golang.org/x/tools/cmd/tip/Dockerfile:FROM golang:1.8
./build/docker/gotools/obj/gopath/src/golang.org/x/tools/cmd/tip/Dockerfile:FROM golang:1.8
2. Welcome to the Hyperledger Wiki.
2.1 Welcome to Fabric
Fabric v1 Alpha March-2017
v1.0 Alpha Release Testing
2016/10/03 Steps to setup Blockchain (Hyperledger Fabric 0.6) development environment on Ubuntu IBM developerWorks
2016/10/13 Blockchain(Hyperledger)のローカル環境を作ってみた(Fabric Starter Kit) Qiita
2016/11/08 オープンソースのブロックチェーン Hyperledger Fabric を試してみる Qiita
2016/10/07 dockerでhyperledger/fabricをセットアップ & Chaincode実行まで。 しまてく
2016/11/21 Hyperledgerのチュートリアルで理解する基幹システム向けブロックチェーンハンズオン SlideShare
2017/03/29 DockerでHyperLedger Fabricの実行環境を構築する(v0.6.1向け)
2017/03/23 Raspberry Pi(ラズパイ)でEthereumを動かす
2017/03/15 Ethereumで複数ノードをつなげてプライベートネットワークを作ってみる