Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

THIS PAGE IS OUT OF DATE AND BEING UPDATED. FABRIC AND ITS REPOSITORIES HAVE MIGRATED TO GITHUB FOR SCM AND AZURE PIPELINES FOR CI

Contributors

jtclark@linux.vnet.ibm.com
NameEmail
Jason T Clark
Jessica Wagantalljwagantall@linuxfoundation.org
Ramesh Thoomurameshbabu.thoomu@gmail.com
Scott Zwierzynskiscottz@us.ibm.com

Summary

Summary

The Hyperledger Fabric (and associated) The Hyperledger Fabric (and associated) projects utilize various tools and workflows for continuous project development. This documentation will assist you in getting started with using these tools and understanding the workflow(s) our contributors use while working with the Fabric CI infrastructure.

...

ex: https://logs.hyperledger.org/production/vex-yul-hyp-jenkins-3/fabric-docs-build-x86_64/2058/

* Merge
   * End-to-End (performs node-sdk e2e, java-sdk e2e, byfn-eyfn tests)
   * Unit-Tests


IMPORTANT NOTE: Although many of the job types listed above are common across all Hyperledger Fabric projects, the list indicated above is specific to the Hyperledger Fabric project. Different projects will have different job types based on their individual build/test/release requirements.

...

CI jobs listen to the below comment phrases for each fabric project:

fabric:

...

Verify JobsCommentMerge JobsComment
fabric-verify-build-checks-x86_64Run

...

VerifyBuild/VerifyBuildfabric-merge-x86_64remerge-x
fabric-verify-unit-tests-x86_64.Run

...

UnitTestfabric-merge-end-2-end-x86_64remerge-e2e 
fabric-verify-integration-tests-x86_64Run

...

IntegrationTestFor all merge jobsremerge
fabric-docs-build-x86_64Run DocsBuild

fabric-ca:

...

Verify JobsCommentMerge JobsComment
fabric-ca-verify-x86_64

...

reverify-

...

xfabric-ca-merge-x86_64remerge-x
fabric-ca-verify-fvt-x86_64

...

reverify-fvtfabric-ca-merge-fvt-x86_64

...

remerge-fvt
fabric-rtd-verify-job

...

recheckfabric-

...

merge-end-2-end-x86_64

...

remerge-

...

e2e 
For all verify jobsreverifyFor all merge jobsremerge


fabric-sdk-java:

Verify JobsCommentMerge JobsComment
fabric-sdk-java

...

-master-verify-x86_64reverify-x

...

fabric-sdk-java-master-

...

merge-

...

x86_64

...

remerge-x
fabric-sdk-java-master-verify-1.

...

4-x86_64reverify

...

-1.4fabric-sdk-java

...

fabric-chaincode-node:

...

-master-merge-1.4-x86_64remerge-1.4
fabric-sdk-java-release-1.4-verify-x86_64reverify-

...

xfabric-sdk-java-release-1.4-merge-x86_64

...

remerge-x
For all verify jobsreverifyFor all merge jobsremerge


...

fabric-chaincode-node

...

All other repositories use any of the below comment phrases

...

:

fabric-baseimage:

Verify JobsCommentMerge JobsComment
{project}-verify-x86_64reverify-x{project}-merge-x86_64remerge-x
{project}-verify-s390xreverify-z{project}-merge-s390xremerge-z
For all verify jobsreverifyFor all merge jobsremerge


All other repositories use any of the below comment phrases

fabric-samples                                   fabric-chaincode-java                      fabric-sdk-go

fabric-sdk-node                                 fabric-chaincode-evm                      fabric-sdk-py

fabric-gateway-java                         fabric-test

Verify JobsCommentMerge JobsComment
{project}-verify-x86_64reverify or reverify-x{project}-merge-x86_64remerge or remerge-x

Troubleshooting - Failing CI Jobs

...

  1. Take a look at why your patchset is failing verification. If it seems unrelated to your patchset changes, then…

  2. Examine console logs for other patchsets build failures occurring in Fabric Project builds. Confirm if any others are seeing build failures with the same symptoms. If so, then…

  3. Find out if a bug exists already for your problem. The first place to look is the list of open CI_Failure bugs. Next, SEARCH Fabric Issues for your error strings symptoms. If no bug exists for your problem, then…

  4. CREATE a bug with severity = 'Highest' and label = 'ci_failure', and set the appropriate component for triage. Squads regularly review their components bug lists.

  5. Alert the community by reaching out to #fabric-ci channel (or #infra-support channel, if the issue pertains to network latency issues, such as FAB-7971), where you may find help and discussions of similar topics. For more info, see the CI FAQs, below.

...

Frequently Asked Questions

...

QuestionResource
Which Fabric projects are currently using CI?hyperledger_fabric_projects_on_ci
What is the process used to build, test, and release Fabric projects?https://github.com/hyperledger/ci-management/blob/master/docs/fabric_ci_process.mddocs.readthedocs.io/en/latest/
Where is the Jenkins CI for Hyperledger Fabric?https://jenkins.hyperledger.org/
Where is the sandbox installation of Jenkins CI for Hyperledger Fabric?https://jenkins.hyperledger.org/sandbox
Where can I found out more about each of the Jenkins jobs used to build, test, and release Hyperledger Fabric projects?https://github.com/hyperledger/ci-management
How do I write Jenkins job definitions for use with Hyperledger Fabric projects?https://docs.openstack.org/infra/jenkins-job-builder/definition.html
How should I test my Jenkins job definitions for use by the Fabric CI process?https://github.com/hyperledger/ci-management/blob/master/Sandbox_Setup.md
I want to find Fabric CI related tasks to work on. Where should I go?https://jira.hyperledger.org/issues/?filter=11500
I have questions about Fabric CI. Where should I go for help?https://chat.hyperledger.org/channel/ci-pipeline

...