Page MenuHomePhabricator

[CI] Add `--network-timeout 180000` to `yarn` commands
ClosedPublic

Authored by atul on Sep 21 2022, 9:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 2:51 AM
Unknown Object (File)
Sat, Nov 2, 1:15 PM
Unknown Object (File)
Sat, Nov 2, 1:15 PM
Unknown Object (File)
Sat, Nov 2, 1:12 PM
Unknown Object (File)
Oct 18 2024, 5:22 PM
Unknown Object (File)
Oct 9 2024, 8:44 PM
Unknown Object (File)
Oct 9 2024, 8:44 PM
Unknown Object (File)
Oct 8 2024, 8:29 AM
Subscribers

Details

Summary

The default timeout is 30 seconds. Increasing this to 3 minutes (180*1000) to maybe reduce the number of CI jobs that fail for intermittent network reasons.

Test Plan

Buildkite: Put this diff up
GitHub Actions: Land this diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 21 2022, 9:02 AM
Harbormaster failed remote builds in B12349: Diff 16951!
atul requested review of this revision.Sep 21 2022, 9:13 AM

I don't know if this will protect against sockets which close (which I think is the underlying issue for most of these failures), but may as well try

This revision is now accepted and ready to land.Sep 21 2022, 9:52 AM
This revision now requires review to proceed.Sep 21 2022, 10:00 AM
In D5204#152715, @jon wrote:

I don't know if this will protect against sockets which close (which I think is the underlying issue for most of these failures), but may as well try

Yeah good point.. also only helps us with yarn and not eg cargo

Going to put up a diff momentarily to do this at the "buildkite level": https://buildkite.com/docs/pipelines/command-step#retry-attributes

atul changed 2 blocking reviewer(s), added 1: varun; removed 1: tomek.Sep 21 2022, 10:36 AM
This revision is now accepted and ready to land.Sep 21 2022, 12:13 PM