{"action":"created","issue":{"url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/8","repository_url":"https://api.github.com/repos/IBM/todo-list-fabricV1","labels_url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/8/comments","events_url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/8/events","html_url":"https://github.com/IBM/todo-list-fabricV1/issues/8","id":272747145,"number":8,"title":"Error: instantiate-chaincode.js ","user":{"login":"GoodFaithParadigm8","id":19840190,"avatar_url":"https://avatars2.githubusercontent.com/u/19840190?v=4","gravatar_id":"","url":"https://api.github.com/users/GoodFaithParadigm8","html_url":"https://github.com/GoodFaithParadigm8","followers_url":"https://api.github.com/users/GoodFaithParadigm8/followers","following_url":"https://api.github.com/users/GoodFaithParadigm8/following{/other_user}","gists_url":"https://api.github.com/users/GoodFaithParadigm8/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodFaithParadigm8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodFaithParadigm8/subscriptions","organizations_url":"https://api.github.com/users/GoodFaithParadigm8/orgs","repos_url":"https://api.github.com/users/GoodFaithParadigm8/repos","events_url":"https://api.github.com/users/GoodFaithParadigm8/events{/privacy}","received_events_url":"https://api.github.com/users/GoodFaithParadigm8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-09T22:22:44Z","updated_at":"2017-11-27T19:08:04Z","closed_at":null,"author_association":"NONE","body":"Env:\r\n\r\nGo: v1.8.3\r\nNode: v6.10.3\r\nDocker: v17.09.0-ce\r\nDocker-Compose: v1.17.0\r\n\r\nExpecation: node test/integration/e2e/instantiate-chaincode.js\r\n\r\nResult Error: \r\n\r\n`RPC client got an error response from the peer \"grpc://localhost:7051\". Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can't load package: package github.com/example_cc: no buildable Go source files in /chaincode/input/src/github.com/example_cc\r\n\"\r\n    at /home/goodfaith/fabric-sdk-node/node_modules/grpc/src/node/src/client.js:434:17`\r\n\r\nCreated the directory /chaincode/input... and copied the src with the rest of the file directory. Got the same error message.\r\n\r\nError:\r\n\r\n` Returning a new winston logger with default configurations\r\nTAP version 13\r\n# \r\n\r\n***** End-to-end flow: instantiate chaincode *****\r\ninfo: [Peer.js]: Peer.const - url: grpc://localhost:7051 options  grpc.ssl_target_name_override=peer0, grpc.default_authority=peer0\r\ninfo: [Peer.js]: Peer.const - url: grpc://localhost:8051 options  grpc.ssl_target_name_override=peer2, grpc.default_authority=peer2\r\ninfo: [crypto_ecdsa_aes]: This class requires a CryptoKeyStore to save keys, using the store: {\"opts\":{\"path\":\"/home/goodfaith/.hfc-key-store\"}}\r\ninfo: [Client.js]: Successfully loaded user \"admin\" from local key value store\r\nok 1 Successfully loaded member from persistence\r\nok 2 Successfully enrolled user 'admin'\r\nerror: [Peer.js]: GRPC client got an error response from the peer \"grpc://localhost:8051\". Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can't load package: package github.com/example_cc: no buildable Go source files in /chaincode/input/src/github.com/example_cc\r\n\"\r\n    at /home/goodfaith/fabric-sdk-node/node_modules/grpc/src/node/src/client.js:434:17\r\nerror: [Chain.js]: Chain-sendPeersProposal - Promise is rejected: Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can't load package: package github.com/example_cc: no buildable Go source files in /chaincode/input/src/github.com/example_cc\r\n\"\r\n    at /home/goodfaith/fabric-sdk-node/node_modules/grpc/src/node/src/client.js:434:17\r\nerror: [Peer.js]: GRPC client got an error response from the peer \"grpc://localhost:7051\". Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can't load package: package github.com/example_cc: no buildable Go source files in /chaincode/input/src/github.com/example_cc\r\n\"\r\n    at /home/goodfaith/fabric-sdk-node/node_modules/grpc/src/node/src/client.js:434:17\r\nerror: [Chain.js]: Chain-sendPeersProposal - Promise is rejected: Error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can't load package: package github.com/example_cc: no buildable Go source files in /chaincode/input/src/github.com/example_cc\r\n\"\r\n    at /home/goodfaith/fabric-sdk-node/node_modules/grpc/src/node/src/client.js:434:17\r\nerror: [install-chaincode]: instantiate proposal was bad\r\nerror: [install-chaincode]: instantiate proposal was bad\r\nnot ok 3 Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting...\r\n  ---\r\n    operator: fail\r\n    at: hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:228:6)\r\n    stack: |-\r\n      Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting...\r\n          at Test.assert [as _assert] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:212:54)\r\n          at Test.bound [as _assert] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:64:32)\r\n          at Test.fail (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:277:10)\r\n          at Test.bound [as fail] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:64:32)\r\n          at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:228:6)\r\n          at process._tickCallback (internal/process/next_tick.js:109:7)\r\n  ...\r\nnot ok 4 Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting... at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:229:10) at process._tickCallback (internal/process/next_tick.js:109:7)\r\n  ---\r\n    operator: fail\r\n    at: hfc.newDefaultKeyValueStore.then.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:246:5)\r\n    stack: |-\r\n      Error: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting...\r\n          at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:229:10)\r\n          at process._tickCallback (internal/process/next_tick.js:109:7)\r\n          at Test.assert [as _assert] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:212:54)\r\n          at Test.bound [as _assert] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:64:32)\r\n          at Test.fail (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:277:10)\r\n          at Test.bound [as fail] (/home/goodfaith/fabric-sdk-node/node_modules/tape/lib/test.js:64:32)\r\n          at hfc.newDefaultKeyValueStore.then.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:246:5)\r\n          at process._tickCallback (internal/process/next_tick.js:109:7)\r\n  ...\r\ninfo: [install-chaincode]: Disconnecting the event hub\r\ninfo: [install-chaincode]: Disconnecting the event hub\r\nnot ok 5 Error: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting... at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:229:10) at process._tickCallback (internal/process/next_tick.js:109:7)\r\n  ---\r\n    operator: error\r\n    expected: |-\r\n      undefined\r\n    actual: |-\r\n      [Error: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting...\r\n    at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:229:10)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)]\r\n    at: Test.onetime (/home/goodfaith/fabric-sdk-node/node_modules/onetime/index.js:22:12)\r\n    stack: |-\r\n      Error: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. exiting...\r\n          at hfc.newDefaultKeyValueStore.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:229:10)\r\n          at process._tickCallback (internal/process/next_tick.js:109:7)\r\n          at hfc.newDefaultKeyValueStore.then.then.then.then.then (/home/goodfaith/fabric-sdk-node/input/integration/e2e/instantiate-chaincode.js:247:9)\r\n          at process._tickCallback (internal/process/next_tick.js:109:7)\r\n  ...\r\n\r\n1..5\r\n# tests 5\r\n# pass  2\r\n# fail  3`\r\n"},"comment":{"url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/comments/347291219","html_url":"https://github.com/IBM/todo-list-fabricV1/issues/8#issuecomment-347291219","issue_url":"https://api.github.com/repos/IBM/todo-list-fabricV1/issues/8","id":347291219,"user":{"login":"ljbennett62","id":17774650,"avatar_url":"https://avatars3.githubusercontent.com/u/17774650?v=4","gravatar_id":"","url":"https://api.github.com/users/ljbennett62","html_url":"https://github.com/ljbennett62","followers_url":"https://api.github.com/users/ljbennett62/followers","following_url":"https://api.github.com/users/ljbennett62/following{/other_user}","gists_url":"https://api.github.com/users/ljbennett62/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbennett62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbennett62/subscriptions","organizations_url":"https://api.github.com/users/ljbennett62/orgs","repos_url":"https://api.github.com/users/ljbennett62/repos","events_url":"https://api.github.com/users/ljbennett62/events{/privacy}","received_events_url":"https://api.github.com/users/ljbennett62/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T19:08:04Z","updated_at":"2017-11-27T19:08:04Z","author_association":"CONTRIBUTOR","body":"@ishangulhane - also this...tx"}}
{"actor":{"display_login":"ljbennett62"}}