You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[email protected] test /home/nodejs/BlockchainNetwork-CompositeJourney
mocha --recursive
Commodity Trading
1) "before all" hook in "Commodity Trading"
0 passing (3s)
1 failing
Commodity Trading
"before all" hook in "Commodity Trading":
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/nodejs/BlockchainNetwork-CompositeJourney/test/sample.js)
npm ERR! Test failed. See above for more details.
peer log below
[[36m2019-07-09 17:38:38.718 UTC [chaincode] LaunchConfig -> DEBU 3cd^[[0m launchConfig: executable:"/bin/sh",Args:[/bin/sh,-c,cd /usr/local/src; npm start -- --peer.address peer0.org1.example.com:7052],Envs:[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} %{id:03x}%{color:reset} %{message},CORE_CHAINCODE_ID_NAME=my-network:0.0.1,CORE_PEER_TLS_ENABLED=false],Files:[]
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3ce^[[0m start container: my-network:0.0.1
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3cf^[[0m start container with args: /bin/sh -c cd /usr/local/src; npm start -- --peer.address peer0.org1.example.com:7052
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3d0^[[0m start container with env:
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} %{id:03x}%{color:reset} %{message}
CORE_CHAINCODE_ID_NAME=my-network:0.0.1
CORE_PEER_TLS_ENABLED=false
^[[36m2019-07-09 17:38:38.718 UTC [container] lockContainer -> DEBU 3d1^[[0m waiting for container(my-network-0.0.1) lock
^[[36m2019-07-09 17:38:38.718 UTC [container] lockContainer -> DEBU 3d2^[[0m got container (my-network-0.0.1) lock
^[[36m2019-07-09 17:38:38.720 UTC [dockercontroller] Start -> DEBU 3d3^[[0m Cleanup container dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.731 UTC [dockercontroller] stopInternal -> DEBU 3d4^[[0m Stop container dev-peer0.org1.example.com-my-network-0.0.1(No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.734 UTC [dockercontroller] stopInternal -> DEBU 3d5^[[0m Kill container dev-peer0.org1.example.com-my-network-0.0.1 (No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.737 UTC [dockercontroller] stopInternal -> DEBU 3d6^[[0m Remove container dev-peer0.org1.example.com-my-network-0.0.1 (No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.738 UTC [dockercontroller] Start -> DEBU 3d7^[[0m Start container dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.738 UTC [dockercontroller] getDockerHostConfig -> DEBU 3d8^[[0m docker container hostconfig NetworkMode: composer_default
^[[36m2019-07-09 17:38:38.741 UTC [dockercontroller] createContainer -> DEBU 3d9^[[0m Create container: dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.757 UTC [dockercontroller] Start -> DEBU 3da^[[0m start-could not find image <dev-peer0.org1.example.com-my-network-0.0.1-d3389f9e23aecff59bba2fd5a2aaa6c0e009c0fbf7ba1c00fed746f8a9cd23e7> (container id <dev-peer0.org1.example.com-my-network-0.0.1>), because of ...attempt to recreate image
^[[36m2019-07-09 17:38:38.757 UTC [chaincode-platform] generateDockerfile -> DEBU 3db^[[0m
FROM hyperledger/fabric-baseimage:amd64-0.4.10
ADD binpackage.tar /usr/local/src
LABEL org.hyperledger.fabric.chaincode.id.name="my-network"
org.hyperledger.fabric.chaincode.id.version="0.0.1"
org.hyperledger.fabric.chaincode.type="NODE"
org.hyperledger.fabric.version="1.2.1"
org.hyperledger.fabric.base.version="0.4.10"
ENV CORE_CHAINCODE_BUILDLEVEL=1.2.1
^[[36m2019-07-09 17:38:38.764 UTC [util] DockerBuild -> DEBU 3dc^[[0m Attempting build with image hyperledger/fabric-ccenv:latest
The text was updated successfully, but these errors were encountered:
npm test fails with below error:
Commodity Trading
1) "before all" hook in "Commodity Trading"
0 passing (3s)
1 failing
"before all" hook in "Commodity Trading":
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/nodejs/BlockchainNetwork-CompositeJourney/test/sample.js)
npm ERR! Test failed. See above for more details.
peer log below
[[36m2019-07-09 17:38:38.718 UTC [chaincode] LaunchConfig -> DEBU 3cd^[[0m launchConfig: executable:"/bin/sh",Args:[/bin/sh,-c,cd /usr/local/src; npm start -- --peer.address peer0.org1.example.com:7052],Envs:[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} %{id:03x}%{color:reset} %{message},CORE_CHAINCODE_ID_NAME=my-network:0.0.1,CORE_PEER_TLS_ENABLED=false],Files:[]
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3ce^[[0m start container: my-network:0.0.1
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3cf^[[0m start container with args: /bin/sh -c cd /usr/local/src; npm start -- --peer.address peer0.org1.example.com:7052
^[[36m2019-07-09 17:38:38.718 UTC [chaincode] Start -> DEBU 3d0^[[0m start container with env:
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} %{id:03x}%{color:reset} %{message}
CORE_CHAINCODE_ID_NAME=my-network:0.0.1
CORE_PEER_TLS_ENABLED=false
^[[36m2019-07-09 17:38:38.718 UTC [container] lockContainer -> DEBU 3d1^[[0m waiting for container(my-network-0.0.1) lock
^[[36m2019-07-09 17:38:38.718 UTC [container] lockContainer -> DEBU 3d2^[[0m got container (my-network-0.0.1) lock
^[[36m2019-07-09 17:38:38.720 UTC [dockercontroller] Start -> DEBU 3d3^[[0m Cleanup container dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.731 UTC [dockercontroller] stopInternal -> DEBU 3d4^[[0m Stop container dev-peer0.org1.example.com-my-network-0.0.1(No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.734 UTC [dockercontroller] stopInternal -> DEBU 3d5^[[0m Kill container dev-peer0.org1.example.com-my-network-0.0.1 (No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.737 UTC [dockercontroller] stopInternal -> DEBU 3d6^[[0m Remove container dev-peer0.org1.example.com-my-network-0.0.1 (No such container: dev-peer0.org1.example.com-my-network-0.0.1)
^[[36m2019-07-09 17:38:38.738 UTC [dockercontroller] Start -> DEBU 3d7^[[0m Start container dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.738 UTC [dockercontroller] getDockerHostConfig -> DEBU 3d8^[[0m docker container hostconfig NetworkMode: composer_default
^[[36m2019-07-09 17:38:38.741 UTC [dockercontroller] createContainer -> DEBU 3d9^[[0m Create container: dev-peer0.org1.example.com-my-network-0.0.1
^[[36m2019-07-09 17:38:38.757 UTC [dockercontroller] Start -> DEBU 3da^[[0m start-could not find image <dev-peer0.org1.example.com-my-network-0.0.1-d3389f9e23aecff59bba2fd5a2aaa6c0e009c0fbf7ba1c00fed746f8a9cd23e7> (container id <dev-peer0.org1.example.com-my-network-0.0.1>), because of ...attempt to recreate image
^[[36m2019-07-09 17:38:38.757 UTC [chaincode-platform] generateDockerfile -> DEBU 3db^[[0m
FROM hyperledger/fabric-baseimage:amd64-0.4.10
ADD binpackage.tar /usr/local/src
LABEL org.hyperledger.fabric.chaincode.id.name="my-network"
org.hyperledger.fabric.chaincode.id.version="0.0.1"
org.hyperledger.fabric.chaincode.type="NODE"
org.hyperledger.fabric.version="1.2.1"
org.hyperledger.fabric.base.version="0.4.10"
ENV CORE_CHAINCODE_BUILDLEVEL=1.2.1
^[[36m2019-07-09 17:38:38.764 UTC [util] DockerBuild -> DEBU 3dc^[[0m Attempting build with image hyperledger/fabric-ccenv:latest
The text was updated successfully, but these errors were encountered: