Skip to content

Instantly share code, notes, and snippets.

@dontfight
Created February 1, 2018 22:51
Show Gist options
  • Select an option

  • Save dontfight/ae9081b03b5318d2345fb084878024a2 to your computer and use it in GitHub Desktop.

Select an option

Save dontfight/ae9081b03b5318d2345fb084878024a2 to your computer and use it in GitHub Desktop.
network start error
2018-02-01 20:35:01.133 UTC [chaincode] getArgsAndEnv -> DEBU 592 Executable is chaincode
2018-02-01 20:35:01.133 UTC [chaincode] getArgsAndEnv -> DEBU 593 Args [chaincode -peer.address=peer0.org.healthchain.ca:7052]
2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 594 start container: healthchain-prescription:0.16.2(
networkid:dev,peerid:peer0.org.healthchain.ca)
2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 595 start container with args: chaincode -peer.addres
s=peer0.org.healthchain.ca:7052
2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 596 start container with env:
CORE_CHAINCODE_ID_NAME=healthchain-prescription:0.16.2
CORE_PEER_TLS_ENABLED=true
CORE_CHAINCODE_LOGGING_LEVEL=DEBUG
CORE_CHAINCODE_LOGGING_SHIM=warning
CORE_CHAINCODE_LOGGING_FORMAT=%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{i
d:03x}%{color:reset} %{message}
2018-02-01 20:35:01.133 UTC [container] lockContainer -> DEBU 597 waiting for container(dev-peer0.org.healthchain.ca-healthcha
in-prescription-0.16.2) lock
2018-02-01 20:35:01.133 UTC [container] lockContainer -> DEBU 598 got container (dev-peer0.org.healthchain.ca-healthchain-pres
cription-0.16.2) lock
2018-02-01 20:35:01.133 UTC [dockercontroller] Start -> DEBU 599 Cleanup container dev-peer0.org.healthchain.ca-healthchain-pr
escription-0.16.2
2018-02-01 20:35:01.134 UTC [dockercontroller] stopInternal -> DEBU 59a Stop container dev-peer0.org.healthchain.ca-healthchai
n-prescription-0.16.2(No such container: dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2)
2018-02-01 20:35:01.134 UTC [dockercontroller] stopInternal -> DEBU 59b Kill container dev-peer0.org.healthchain.ca-healthchai
n-prescription-0.16.2 (No such container: dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2)
2018-02-01 20:35:01.135 UTC [dockercontroller] stopInternal -> DEBU 59c Remove container dev-peer0.org.healthchain.ca-healthch
ain-prescription-0.16.2 (No such container: dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2)
2018-02-01 20:35:01.135 UTC [dockercontroller] Start -> DEBU 59d Start container dev-peer0.org.healthchain.ca-healthchain-pres
cription-0.16.2
2018-02-01 20:35:01.135 UTC [dockercontroller] getDockerHostConfig -> DEBU 59e docker container hostconfig NetworkMode: health
chain_basic
2018-02-01 20:35:01.136 UTC [dockercontroller] createContainer -> DEBU 59f Create container: dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2
2018-02-01 20:35:01.138 UTC [dockercontroller] Start -> DEBU 5a0 start-could not find image <dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2-bf5ebb1dca4b80a3a1bc50436d31a6f92403055353ce24883fa0980c054e7a89> (container id <dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2>), because of <no such image>...attempt to recreate image
2018-02-01 20:35:01.140 UTC [chaincode-platform] generateDockerfile -> DEBU 5a1
FROM hyperledger/fabric-baseos:x86_64-0.3.2
ADD binpackage.tar /usr/local/bin
LABEL org.hyperledger.fabric.chaincode.id.name="healthchain-prescription" \
org.hyperledger.fabric.chaincode.id.version="0.16.2" \
org.hyperledger.fabric.chaincode.type="GOLANG" \
org.hyperledger.fabric.version="1.0.4" \
org.hyperledger.fabric.base.version="0.3.2"
ENV CORE_CHAINCODE_BUILDLEVEL=1.0.4
ENV CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/peer.crt
COPY peer.crt /etc/hyperledger/fabric/peer.crt
2018-02-01 20:35:01.141 UTC [util] DockerBuild -> DEBU 5a2 Attempting build with image hyperledger/fabric-ccenv:x86_64-1.0.4
2018-02-01 20:35:07.435 UTC [chaincode-platform] func1 -> ERRO 5a3 Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
# composer/vendor/gopkg.in/olebedev/go-duktape.v3
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
"
2018-02-01 20:35:07.435 UTC [dockercontroller] deployImage -> ERRO 5a4 Error building images: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
# composer/vendor/gopkg.in/olebedev/go-duktape.v3
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
"
2018-02-01 20:35:07.435 UTC [dockercontroller] deployImage -> ERRO 5a5 Image Output:
********************
********************
2018-02-01 20:35:07.435 UTC [container] unlockContainer -> DEBU 5a6 container lock deleted(dev-peer0.org.healthchain.ca-healthchain-prescription-0.16.2)
2018-02-01 20:35:07.435 UTC [chaincode] func1 -> DEBU 5a7 chaincode healthchain-prescription:0.16.2 launch seq completed
2018-02-01 20:35:07.435 UTC [chaincode] Launch -> ERRO 5a8 launchAndWaitForRegister failed Error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
# composer/vendor/gopkg.in/olebedev/go-duktape.v3
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
"
2018-02-01 20:35:07.435 UTC [endorser] callChaincode -> DEBU 5a9 Exit
2018-02-01 20:35:07.435 UTC [endorser] simulateProposal -> ERRO 5aa failed to invoke chaincode name:"lscc" on transaction 51deb543d26793e5a615f6bbe662f034e0019ef74c1a277311c4b1761da45078, error: Error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
# composer/vendor/gopkg.in/olebedev/go-duktape.v3
gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment