caliper icon indicating copy to clipboard operation
caliper copied to clipboard

Fabric contract deployment silently fails in generator CI test

Open aklenik opened this issue 4 years ago • 1 comments
trafficstars

Context

The Fabric contract deployment benchmark phase silently fails in the generator CI test: https://dev.azure.com/Hyperledger/Caliper/_build/results?buildId=43967&view=logs&j=e6706e9b-7179-5ea0-f5f6-2478cba53eeb&t=f8516254-b8a4-5110-1a40-195a342bbf75&l=344

The serious problems are that:

  1. No error is logged to indicate what happens (user_experience--)
  2. The process return code indicates no error (scripting_and_ci_experience--)
  3. Base on local execution, peer-side logs don't indicate error either (debugging_experience--)

Expected Behavior

Deployment is performed without errors, or an error is reported.

Actual Behavior

Fail-silent halt with incorrect process exit code.

Possible Fix

First thought: too big network for a single VM environment (2 CAs, 2 OSNs, 2 Peers, 2 CouchDBs). We should investigate whether the error is reproducible with a smaller network (1 OSN, 1 Peer, GoLevelDB).

Steps to Reproduce

Run the generator integration test: https://dev.azure.com/Hyperledger/Caliper/_build/results?buildId=43967&view=logs&j=e6706e9b-7179-5ea0-f5f6-2478cba53eeb&t=f8516254-b8a4-5110-1a40-195a342bbf75&l=344

Your Environment

  • Version used: v4.3.0 latest (https://github.com/hyperledger/caliper/tree/14bbbcb4b6e5fb4f77e890f0f3bf28ae030492d8)
  • Environment name and version (e.g. Chrome 39, node.js 5.4): Node.js v10.24.1
  • Operating System and version (desktop or mobile): Windows 10 (Version 10.0.19041 Build 19041), Ubuntu 20.04.2 LTS through WSL2 (but also reproducable in CI environment)

aklenik avatar Nov 16 '21 11:11 aklenik

@aklenik The generator builds are now going through ok and the build referenced in this PR has gone. There is code to detect a failure but I'm guessing a check is missing somewhere but since the builds now work if you can remember some more detail to help track down the bug ?

davidkel avatar Feb 28 '22 15:02 davidkel