hyperledger-archives / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions
Apache License 2.0
74 stars 24 forks source link

Executing chaincode failed while running benchmark #55

Open yash-ibm opened 6 years ago

yash-ibm commented 6 years ago

at /home/ibmadmin/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:583:15 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) - make sure the chaincode simple has been successfully instantiated and try again at new createStatusError (/home/ibmadmin/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js

In logs of peer:

2018-02-28 06:16:44.252 UTC [chaincode] ExecuteChaincode -> ERRO 25c Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) 2018-02-28 06:16:44.252 UTC [chaincode] ExecuteChaincode -> ERRO 25d Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) 2018-02-28 06:16:44.252 UTC [txvalidator] VSCCValidateTxForCC -> ERRO 25e Invoke VSCC failed for transaction txid=4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e, error Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) 2018-02-28 06:16:44.252 UTC [txvalidator] Validate -> ERRO 25f VSCCValidateTx for transaction txId = 4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e returned error Invoke VSCC failed for transaction txid=4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e, error Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) 2018-02-28 06:16:44.252 UTC [gossip/state] commitBlock -> ERRO 260 Got error while committing(Invoke VSCC failed for transaction txid=4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e, error Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction)) 2018-02-28 06:16:44.252 UTC [gossip/state] deliverPayloads -> CRIT 261 Cannot commit block to the ledger due to Invoke VSCC failed for transaction txid=4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e, error Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) panic: Cannot commit block to the ledger due to Invoke VSCC failed for transaction txid=4f3f9598214a46523b90023b4cec676b0e20e6012cf0c0744619351d360f933e, error Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction)

goroutine 179 [running]: panic(0x1092cac0, 0xc424d7ae40) /opt/go/src/runtime/panic.go:500 +0x3a8 github.com/hyperledger/fabric/vendor/github.com/op/go-logging.(Logger).Panicf(0xc4202317a0, 0x10a97c21, 0x2b, 0xc424d7ad70, 0x1, 0x1) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/op/go-logging/logger.go:194 +0x134 github.com/hyperledger/fabric/gossip/state.(GossipStateProviderImpl).deliverPayloads(0xc420315b80) /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:449 +0x7a4 created by github.com/hyperledger/fabric/gossip/state.NewGossipStateProvider /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:228 +0x9e0

haojun commented 6 years ago

What's the status of cc containers (whose image names begin with dev-peerx.orgx.example.com-simple- ) ?

yash-ibm commented 6 years ago

RPC error . It says closing stream

haojun commented 6 years ago

Emm...not sure about the error. You can try to remove all the old cc images by running 'docker rmi dev-peer0.org1.example.com-simple-...' , and re-install & initialize the chaincode.