Skip to content

Instantly share code, notes, and snippets.

@mikezaccardo
Created June 17, 2016 05:16
Show Gist options
  • Save mikezaccardo/cb7112315dcedb0d242a37ea853f3ce6 to your computer and use it in GitHub Desktop.
Save mikezaccardo/cb7112315dcedb0d242a37ea853f3ce6 to your computer and use it in GitHub Desktop.
BB Multi-Location Failure
root@f70e82a29029:/go/src/github.com/hyperledger/fabric/examples/chaincode/go/asset_management/app# ./app
2016/06/17 05:05:13 setting Number of procs to -1, was 2
2016/06/17 05:05:13 Log level recognized 'info', set to INFO
2016/06/17 05:05:13 Registering client [jim] with name [jim]...
2016/06/17 05:05:13 [client.jim] Register crypto engine...
2016/06/17 05:05:13 [client.jim] Register crypto engine...done.
2016/06/17 05:05:13 Registering client [jim] with name [jim]...done!
2016/06/17 05:05:13 Initializing client [jim]...
2016/06/17 05:05:14 Initializing client [jim]...done!
2016/06/17 05:05:14 Registering client [lukas] with name [lukas]...
2016/06/17 05:05:14 [client.lukas] Register crypto engine...
2016/06/17 05:05:14 [client.lukas] Register crypto engine...done.
2016/06/17 05:05:14 Registering client [lukas] with name [lukas]...done!
2016/06/17 05:05:14 Initializing client [lukas]...
2016/06/17 05:05:15 Initializing client [lukas]...done!
2016/06/17 05:05:15 Registering client [diego] with name [diego]...
2016/06/17 05:05:15 [client.diego] Register crypto engine...
2016/06/17 05:05:15 [client.diego] Register crypto engine...done.
2016/06/17 05:05:15 Registering client [diego] with name [diego]...done!
2016/06/17 05:05:15 Initializing client [diego]...
2016/06/17 05:05:16 Initializing client [diego]...done!
2016/06/17 05:05:16 Registering client [binhn] with name [binhn]...
2016/06/17 05:05:16 [client.binhn] Register crypto engine...
2016/06/17 05:05:16 [client.binhn] Register crypto engine...done.
2016/06/17 05:05:16 Registering client [binhn] with name [binhn]...done!
2016/06/17 05:05:16 Initializing client [binhn]...
2016/06/17 05:05:17 Initializing client [binhn]...done!
2016/06/17 05:05:17 ------------- Alice wants to assign the administrator role to Bob;
2016/06/17 05:05:17 Received build request for chaincode spec: type:GOLANG chaincodeID:<path:"github.com/hyperledger/fabric/examples/chaincode/go/asset_management" > ctorMsg:<function:"init" > confidentialityLevel:CONFIDENTIAL metadata:"0\202\002\2210\202\0026\240\003\002\001\002\002\020,p\230n\206\365Aq\274\320\001*\250\305\001H0\n\006\010*\206H\316=\004\003\003011\0130\t\006\003U\004\006\023\002US1\0240\022\006\003U\004\n\023\013Hyperledger1\0140\n\006\003U\004\003\023\003tca0\036\027\r160617050415Z\027\r160915050415Z031\0130\t\006\003U\004\006\023\002US1\0240\022\006\003U\004\n\023\013Hyperledger1\0160\014\006\003U\004\003\023\005lukas0Y0\023\006\007*\206H\316=\002\001\006\010*\206H\316=\003\001\007\003B\000\004\316\324\217v\037\351,L\325P4\247\010xx\330\227\250`>\201\271\014.@u\212\333}\022\253\025ugl8\2705,\301\202J\305hLu\317\034\306\362Y\003\266Va\270\345\253C\005\371J_\361\243\202\001,0\202\001(0\016\006\003U\035\017\001\001\377\004\004\003\002\007\2000\014\006\003U\035\023\001\001\377\004\0020\0000\r\006\003U\035\016\004\006\004\004\001\002\003\0040\017\006\003U\035#\004\0100\006\200\004\001\002\003\0040\r\006\006*\003\004\005\006\n\004\003IBM0\033\006\006*\003\004\005\006\013\004\021Software Engineer0M\006\006*\003\004\005\006\007\001\001\377\004@xu\337\t|\"\236u.e\210\035\240^\317\202\321\010\026\313\242\350\371\253_.\366\312\010\246d\315t$V%3%V\3750e\013\033G\264H\212UA\271\327k\204\227\014\333\205X\257\351\220\265C0J\006\006*\003\004\005\006\010\004@\361Pv\"zV+\360\353\024S\377\243\372\275~\326A\202\221\021\225\251\253#\271\010\362\357\241\213&v\212\351s\234\252\210I\332\211\242\355F\3236\";=\216\213\341\333\316\233\366\337\376H\1776\235\0050!\006\006*\003\004\005\006\t\004\027company->1#position->2#0\n\006\010*\206H\316=\004\003\003\003I\0000F\002!\000\253\005|\241\017\270\337LYE\310\207\264\212\323/\224\177{\007!Y\354O|\003|\227\241\034\253\234\002!\000\320\023\273\227\2138U\353\321\227\2746)=\324\341uf,\006b\022\272\337\010\205/\255U\333\3524"
2016/06/17 05:05:17 getCodeFromFS github.com/hyperledger/fabric/examples/chaincode/go/asset_management
2016/06/17 05:05:17 hashFiles /go/src//github.com/hyperledger/fabric/examples/chaincode/go/asset_management
2016/06/17 05:05:17 hashFiles /go/src//github.com/hyperledger/fabric/examples/chaincode/go/asset_management/app
2016/06/17 05:05:19 rootDirectory = /go/src
2016/06/17 05:06:27 resp [status:SUCCESS msg:"7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074" ]
2016/06/17 05:06:27 ChaincodeName [7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074]
2016/06/17 05:06:27 Resp [status:SUCCESS msg:"7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074" ]
2016/06/17 05:06:27 Chaincode NAME: [7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074]-[7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074]
2016/06/17 05:06:27 Wait 180 seconds
2016/06/17 05:09:27 ------------- Done!
2016/06/17 05:09:27 ------------- Bob wants to assign the asset 'Picasso' to Charlie...
2016/06/17 05:09:57 Resp [status:SUCCESS msg:"559f9e55-899f-44e7-8e5a-8ecdd7cedb23" ]
2016/06/17 05:09:57 Wait 180 seconds
2016/06/17 05:12:57 Query....
2016/06/17 05:12:57 Resp [status:FAILURE msg:"Error:Failed to launch chaincode spec(Could not get deployment transaction for 7d7f7a91cbfd2619e0fbac2ef25148d9f8ae7c106f512f275eeae20c16016cef0eb4502d2565c908eefd603e89be4529f39c7e59672e257063f55f3e4f919074 - LedgerError - ResourceNotFound: ledger: resource not found)" ]
2016/06/17 05:12:57 Query....done
2016/06/17 05:12:57 [client.lukas] Failed decrypting query result [cipher: message authentication failed].
2016/06/17 05:12:57 Failed decrypting result [Decryption failed.]
2016/06/17 05:12:57 Failed assigning ownership [Decryption failed.]
2016/06/17 05:12:57 Failed testing asset management chaincode [Decryption failed.]
The chaincode containers are not deployed on any of the validating peers. `sudo docker ps -a` yields no containers with the expected chaincode hash on any of the VPs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment