ipfs-inactive / dev-team-enablement

[ARCHIVED] Dev Team Enablement Working Group
3 stars 1 forks source link

Jenkins worker's IPFS node sometimes cannot connect to Jenkins master's IPFS node #124

Closed victorb closed 5 years ago

victorb commented 5 years ago

Which Project is this about?

Website builds

Provide a link to a example run where it went wrong

https://ci.ipfs.team/view/Websites/job/IPFS/job/awesome-ipfs/job/master/38/console

Which platform did the issue happen on?

Linux


+ ipfs swarm connect /ip4/107.23.117.94/tcp/4001/ipfs/QmNsEeoXfRh3dGr7UrqctfDgs12NHv5FY4j3orwdTEAUH4
Error: connect QmNsEeoXfRh3dGr7UrqctfDgs12NHv5FY4j3orwdTEAUH4 failure: dial attempt failed: context deadline exceeded

The above error happens every now and then, and usually a retry solves the issue. As a temporary measure, we should make the swarm connect to repeat itself X times it fails, and only fail the pipeline if it cannot connect after those tries.