hyperledger / fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
15.68k stars 8.83k forks source link

Failures detected in the following suites during building: e2e ./integration/e2e #3130

Open sousoul opened 2 years ago

sousoul commented 2 years ago

I am new to Hyperleger Fabric and I try to build Hyperledger Fabric v2.2 according to the following documentation. https://github.com/hyperledger/fabric-docs-i18n/blob/release-2.2/docs/locale/zh_CN/source/dev-setup/build.rst However, I meet this error during build:

------------------------------
• Failure [46.759 seconds]
EndToEnd basic kafka network with 2 orgs [It] executes a basic kafka network with 2 orgs (using docker chaincode builds) 
/Users/lizhaodong/Desktop/Blockchain/fabric/integration/e2e/e2e_test.go:226

  No future change is possible.  Bailing out early after 30.075s.
  Expected
      <int>: 1
  to match exit code:
      <int>: 0

  /Users/lizhaodong/Desktop/Blockchain/fabric/integration/nwo/deploy.go:157
------------------------------
••••••••

Summarizing 1 Failure:

[Fail] EndToEnd basic kafka network with 2 orgs [It] executes a basic kafka network with 2 orgs (using docker chaincode builds) 
/Users/lizhaodong/Desktop/Blockchain/fabric/integration/nwo/deploy.go:157

Ran 12 of 12 Specs in 243.726 seconds
FAIL! -- 11 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestEndToEnd (243.73s)
FAIL

... ... 

There were failures detected in the following suites:
    e2e ./integration/e2e

Ginkgo ran 16 suites in 50m34.135030977s
Test Suite Failed
make: *** [integration-test] Error 1

It seems that some error happens during testing EndToEnd Before building hyper fabric, I have set up the development environment successfully according to this tutorial. https://hyperledger-fabric.readthedocs.io/en/release-2.4/dev-setup/devenv.html

Version information are as following: OS: macOS BigSur 11.6 hyperledger fabric v2.2.4 go version go1.16.7 darwin/amd64 Docker version 20.10.8, build 3967b7d SoftHSM 2.5.0

So I am very confusing and cannot solve this problem, how can I solve the error?

denyeart commented 2 years ago

@Param-S Does this look like one of the known integration test flakes?