Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certain issues in the build do not fail the build #211

Open
davidkel opened this issue Jul 1, 2022 · 0 comments
Open

certain issues in the build do not fail the build #211

davidkel opened this issue Jul 1, 2022 · 0 comments
Labels
bug Something isn't working build

Comments

@davidkel
Copy link
Contributor

davidkel commented Jul 1, 2022

For example

2022.07.01-11:14:58.460 error [caliper] [connectors/v2/FabricGateway] 	Failed to perform query transaction [paginatedRichQuery] using arguments [{"selector":{"docType":"fixed-asset","creator":"client_nomatch","byteSize":1000}},2],  with error: Error: Incorrect number of params. Expected 3, received 2
    at RoundRobinQueryHandler.evaluate (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/fabric-network/lib/impl/query/roundrobinqueryhandler.js:60:57)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Transaction.evaluate (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/fabric-network/lib/transaction.js:319:25)
    at async V2FabricGateway._submitOrEvaluateTransaction (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-fabric/lib/connector-versions/v2/FabricGateway.js:384:26)
    at async V2FabricGateway._sendSingleRequest (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-fabric/lib/connector-versions/v2/FabricGateway.js:168:16)
    at async V2FabricGateway.sendRequests (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/core/connector-base.js:83:26)
    at async RangeQueryAssetWorkload.submitTransaction (/home/runner/work/caliper-benchmarks/caliper-benchmarks/benchmarks/api/fabric/workloads/rich-query-asset.js:86:9)

or

2022.07.01-11:16:55.480 error [caliper] [worker-message-handler] 	Error while handling "prepare" message for Worker#1 (21808): Error: Module "/home/runner/work/caliper-benchmarks/caliper-benchmarks/benchmarks/api/fabric/workloads/compositeTx/read-write-asset.js" could not be loaded: Error: Cannot find module '/home/runner/work/caliper-benchmarks/caliper-benchmarks/benchmarks/api/fabric/workloads/compositeTx/read-write-asset.js'
Require stack:
- /home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js
- /home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/core/connector-base.js
- /home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/index.js
- /home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-cli/caliper.js
Searched paths: /home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/utils/node_modules,/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/node_modules,/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/node_modules,/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/node_modules,/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/node_modules,/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules,/home/runner/work/caliper-benchmarks/node_modules,/home/runner/work/node_modules,/home/runner/node_modules,/home/node_modules,/node_modules
    at Function.loadModule (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:118:19)
    at Function.loadModuleFunction (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/utils/caliper-utils.js:160:35)
    at CaliperWorker.prepareTest (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/worker/caliper-worker.js:151:52)
    at WorkerMessageHandler._handlePrepareMessage (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:210:31)
    at ProcessMessenger.<anonymous> (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/worker/worker-message-handler.js:89:24)
    at ProcessMessenger.emit (events.js:400:28)
    at ProcessMessenger.onMessage (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/messengers/messenger-interface.js:40:14)
    at process.<anonymous> (/home/runner/work/caliper-benchmarks/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/common/messengers/process/process-messenger.js:59:26)
    at process.emit (events.js:400:28)
    at emit (internal/child_process.js:935:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build
Projects
None yet
Development

No branches or pull requests

1 participant