Open gowthami1610 opened 1 year ago
This error message Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Says there is a problem with the code you have written in createrec.js
if you provided the complete code as part of this issue, then it's very obvious that the file won't work, missing various closing braces for example
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which Caliper version are you using?
0.5.0
Which Node.JS version are you using?
v16.18.0
Which operating system are you using?
Ubuntu 18.04.6
Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?
I tried to execute the Caliper tool for creating records with the following commands, $npm install --only=prod @hyperledger/caliper-cli
$npx caliper bind --caliper-bind-sut fabric:2.4
$npx caliper launch manager --caliper-workspace ./ --caliper-networkconfig networks/networkConfig.yaml --caliper-benchconfig benchmarks/2benchmark.yaml --caliper-flow-only-test --caliper-fabric-gateway-enabled
It shows error. But the same works fine for reading the records from my fabric network
What was the observed incorrect behavior?
The Caliper throws the below error
gowthami@cse:~/HIE3/caliper-workspace$ npx caliper launch manager --caliper-workspace ./ --caliper-networkconfig networks/networkConfig.yaml --caliper-benchconfig benchmarks/2benchmark.yaml --caliper-flow-only-test --caliper-fabric-gateway-enabled 2023.02.01-14:55:25.374 info [caliper] [cli-launch-manager] Set workspace path: /home/gowthami/HIE3/caliper-workspace2023.02.01-14:55:25.375 info [caliper] [cli-launch-manager] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:25.375 info [caliper] [cli-launch-manager] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:25.375 info [caliper] [cli-launch-manager] Set SUT type: fabric 2023.02.01-14:55:25.378 info [caliper] [benchmark-validator] No observer specified, will default to (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.543 info [caliper] [worker-message-handler] Preparing Worker#3 for Round#0
2023.02.01-14:55:26.543 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#1 (19572): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.544 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#2 (19573): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.544 info [caliper] [worker-message-handler] Preparing Worker#4 for Round#0
2023.02.01-14:55:26.544 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#3 (19579): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.545 info [caliper] [worker-message-handler] Preparing Worker#5 for Round#0
2023.02.01-14:55:26.545 info [caliper] [worker-message-handler] Preparing Worker#6 for Round#0
2023.02.01-14:55:26.545 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#4 (19585): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.546 info [caliper] [worker-message-handler] Preparing Worker#7 for Round#0
2023.02.01-14:55:26.546 info [caliper] [worker-message-handler] Preparing Worker#8 for Round#0
2023.02.01-14:55:26.546 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#5 (19591): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.547 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#6 (19602): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.547 info [caliper] [worker-message-handler] Preparing Worker#9 for Round#0
2023.02.01-14:55:26.547 error [caliper] [round-orchestrator] Failed round 1 (Create patient.): Error: Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at WorkerOrchestrator.updateWorkerPhase (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/orchestrators/worker-orchestrator.js:306:61)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/orchestrators/worker-orchestrator.js:109:18)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at ChildProcess. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at ChildProcess.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
2023.02.01-14:55:26.548 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#8 (19611): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.548 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#7 (19603): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.548 info [caliper] [report-builder] ### All test results ###
2023.02.01-14:55:26.548 error [caliper] [report-builder] No data within test result; implies error within configuration files
2023.02.01-14:55:26.549 error [caliper] [round-orchestrator] Error while finalizing the report: Error: unrecognized report table
at ReportBuilder.setSummaryTable (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/report/report-builder.js:142:19)
at Report.printResultsByRound (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/report/report.js:182:28)
at RoundOrchestrator.run (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/orchestrators/round-orchestrator.js:230:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async CaliperEngine.run (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/manager/caliper-engine.js:153:17)
at async Function.handler (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-cli/lib/launch/lib/launchManager.js:62:30)
2023.02.01-14:55:26.549 info [caliper] [monitor.js] Stopping all monitors
2023.02.01-14:55:26.549 info [caliper] [worker-orchestrator] Sending exit message to connected workers
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#0 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#2 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#1 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#3 is exiting
2023.02.01-14:55:26.550 info [caliper] [round-orchestrator] Benchmark finished in 0.01 seconds. Total rounds: 1. Successful rounds: 0. Failed rounds: 1.
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#4 is exiting
2023.02.01-14:55:26.550 info [caliper] [caliper-engine] Skipping end command due to benchmark flow conditioning
2023.02.01-14:55:26.550 info [caliper] [cli-launch-manager] Benchmark successfully finished
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#6 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#8 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#5 is exiting
2023.02.01-14:55:26.550 info [caliper] [worker-message-handler] Worker#7 is exiting
2023.02.01-14:55:26.550 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker#9 (19618): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier
Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules
at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
at ProcessMessenger. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
at ProcessMessenger.emit (node:events:513:28)
at ProcessMessenger.onMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
at process. (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:946:14)
2023.02.01-14:55:26.552 info [caliper] [worker-message-handler] Worker#9 is exiting
none
2023.02.01-14:55:25.378 info [caliper] [caliper-engine] Starting benchmark flow 2023.02.01-14:55:25.378 info [caliper] [caliper-engine] Skipping start commands due to benchmark flow conditioning 2023.02.01-14:55:25.378 info [caliper] [caliper-engine] Skipping initialization phase due to benchmark flow conditioning 2023.02.01-14:55:25.378 info [caliper] [caliper-engine] Skipping install smart contract phase due to benchmark flow conditioning 2023.02.01-14:55:25.748 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:25.762 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:25.764 info [caliper] [monitor.js] No resource monitors specified 2023.02.01-14:55:25.765 info [caliper] [default-observer] Observer interval set to 5000 milliseconds 2023.02.01-14:55:25.767 info [caliper] [round-orchestrator] Preparing worker connections 2023.02.01-14:55:25.767 info [caliper] [worker-orchestrator] Launching worker 1 of 10 2023.02.01-14:55:25.773 info [caliper] [worker-orchestrator] Launching worker 2 of 10 2023.02.01-14:55:25.777 info [caliper] [worker-orchestrator] Launching worker 3 of 10 2023.02.01-14:55:25.781 info [caliper] [worker-orchestrator] Launching worker 4 of 10 2023.02.01-14:55:25.785 info [caliper] [worker-orchestrator] Launching worker 5 of 10 2023.02.01-14:55:25.788 info [caliper] [worker-orchestrator] Launching worker 6 of 10 2023.02.01-14:55:25.792 info [caliper] [worker-orchestrator] Launching worker 7 of 10 2023.02.01-14:55:25.796 info [caliper] [worker-orchestrator] Launching worker 8 of 10 2023.02.01-14:55:25.800 info [caliper] [worker-orchestrator] Launching worker 9 of 10 2023.02.01-14:55:25.805 info [caliper] [worker-orchestrator] Launching worker 10 of 10 2023.02.01-14:55:25.811 info [caliper] [worker-orchestrator] Messenger not configured, entering configure phase... 2023.02.01-14:55:25.812 info [caliper] [worker-orchestrator] No existing workers detected, entering worker launch phase... 2023.02.01-14:55:25.814 info [caliper] [worker-orchestrator] Waiting for 10 workers to be connected... 2023.02.01-14:55:26.027 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.028 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.028 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.028 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.036 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.036 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.037 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.037 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.038 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.038 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.039 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.039 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.043 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.043 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.044 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.044 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.054 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.055 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.055 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.055 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.057 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.057 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.057 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.058 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.059 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.060 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.060 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.061 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.060 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.061 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.061 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.061 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.064 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.065 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.065 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.065 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.080 info [caliper] [cli-launch-worker] Set workspace path: /home/gowthami/HIE3/caliper-workspace 2023.02.01-14:55:26.081 info [caliper] [cli-launch-worker] Set benchmark configuration path: /home/gowthami/HIE3/caliper-workspace/benchmarks/2benchmark.yaml 2023.02.01-14:55:26.081 info [caliper] [cli-launch-worker] Set network configuration path: /home/gowthami/HIE3/caliper-workspace/networks/networkConfig.yaml 2023.02.01-14:55:26.081 info [caliper] [cli-launch-worker] Set SUT type: fabric 2023.02.01-14:55:26.099 info [caliper] [worker-orchestrator] 10 workers connected, progressing to worker assignment phase. 2023.02.01-14:55:26.099 info [caliper] [worker-orchestrator] Workers currently unassigned, awaiting index assignment... 2023.02.01-14:55:26.102 info [caliper] [worker-orchestrator] Waiting for 10 workers to be assigned... 2023.02.01-14:55:26.130 info [caliper] [worker-orchestrator] 10 workers assigned, progressing to worker initialization phase. 2023.02.01-14:55:26.130 info [caliper] [worker-orchestrator] Waiting for 10 workers to be ready... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#0... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#6... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#4... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#5... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#7... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#1... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#2... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#8... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#3... 2023.02.01-14:55:26.132 info [caliper] [worker-message-handler] Initializing Worker#9... 2023.02.01-14:55:26.513 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.515 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.516 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.517 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.517 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.518 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.519 info [caliper] [worker-message-handler] Worker#9 initialized 2023.02.01-14:55:26.520 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.520 info [caliper] [worker-message-handler] Worker#0 initialized 2023.02.01-14:55:26.521 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.521 info [caliper] [worker-message-handler] Worker#5 initialized 2023.02.01-14:55:26.522 info [caliper] [worker-message-handler] Worker#7 initialized 2023.02.01-14:55:26.522 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.525 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.527 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.529 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.529 info [caliper] [worker-message-handler] Worker#1 initialized 2023.02.01-14:55:26.529 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.530 info [caliper] [worker-message-handler] Worker#8 initialized 2023.02.01-14:55:26.530 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.532 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.532 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.534 info [caliper] [worker-message-handler] Worker#2 initialized 2023.02.01-14:55:26.534 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.534 info [caliper] [FabricConnectorFactory] Initializing peer gateway connector compatible with installed fabric-gateway SDK: 1.0.1 2023.02.01-14:55:26.535 info [caliper] [worker-message-handler] Worker#3 initialized 2023.02.01-14:55:26.536 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.538 info [caliper] [worker-message-handler] Worker#6 initialized 2023.02.01-14:55:26.538 info [caliper] [IdentityManager] Adding User1 (admin=false) as User1 for organization hosp1apolloMSP 2023.02.01-14:55:26.539 info [caliper] [worker-message-handler] Worker#4 initialized 2023.02.01-14:55:26.540 info [caliper] [worker-orchestrator] 10 workers ready, progressing to test preparation phase. 2023.02.01-14:55:26.540 info [caliper] [round-orchestrator] Started round 1 (Create patient.) 2023.02.01-14:55:26.541 info [caliper] [worker-message-handler] Preparing Worker#0 for Round#0 2023.02.01-14:55:26.542 info [caliper] [worker-message-handler] Preparing Worker#1 for Round#0 2023.02.01-14:55:26.542 info [caliper] [worker-message-handler] Preparing Worker#2 for Round#0 2023.02.01-14:55:26.543 error [caliper] [worker-message-handler] Error while handling "prepare" message for Worker (19571): Error: Module "/home/gowthami/HIE3/caliper-workspace/workload/chaincare/createrec.js" could not be loaded: SyntaxError: Unexpected identifier Searched paths: /home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/node_modules,/home/gowthami/HIE3/caliper-workspace/node_modules,/home/gowthami/HIE3/node_modules,/home/gowthami/node_modules,/home/node_modules,/node_modules at Function.loadModule (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19) at Function.loadModuleFunction (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35) at CaliperWorker.prepareTest (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52) at WorkerMessageHandler._handlePrepareMessage (/home/gowthami/HIE3/caliper-workspace/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31) at ProcessMessenger.Please provide the error logs and their surroundings.
Please provide your benchmark configuration file content, if possible.
Please provide your network configuration file content, if possible.
No response
Please provide your workload module content, if possible.
Please provide any additional information you deem relevant to the error.
No response