Hyperledger fabric 在谷歌云的第一个结构样本网络中构建网络时遇到测试用例失败

Hyperledger fabric 在谷歌云的第一个结构样本网络中构建网络时遇到测试用例失败,hyperledger-fabric,blockchain,Hyperledger Fabric,Blockchain,您可以查看我的cli环境和查询我的频道的日志。这是一个错误!!!无法执行End-2-End方案====================错误!!!!测试失败请尝试以下几行: ===================== Chaincode Instantiation on peer0.org2 on channel 'mychannel' is successful ===================== Querying chaincode on peer0.org1... CORE_P

您可以查看我的cli环境和查询我的频道的日志。这是一个错误!!!无法执行End-2-End方案====================错误!!!!测试失败

请尝试以下几行:

===================== Chaincode Instantiation on peer0.org2 on channel 'mychannel' is successful =====================  Querying chaincode on peer0.org1... 

CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt 

CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP 

CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock 

CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true 

CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=INFO 

CORE_PEER_ADDRESS=peer0.org1.example.com:7051 

===================== Querying on peer0.org1 on channel 'mychannel'... =====================  Attempting to Query peer0.org1 ...3 secs + 

peer chaincode query -C mychannel -n mycc -c '{"Args":["query","a"]}' + res=0 + set +x 100 !!!!!!!!!!!!!!! Query result on peer0.org1 is INVALID !!!!!!!!!!!!!!!! ================== ERROR !!! FAILED to execute End-2-End Scenario ================== ERROR !!!! Test failed
然后重新启动Docker,然后尝试以下操作:

$./byfn.sh down
$docker stop $(docker ps -a -q)
$docker ps -qa|xargs docker rm
$./byfn.sh generate
$./byfn.sh up