Retry module image dependency downloads after curl connection resets

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • Build OnDeck
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Problem

      The generated-test "fetch module images" task downloads grpcurl from GitHub before fetching module images. The download command previously used --retry 5, but curl does not retry every transfer error by default. A peer reset produced curl (35) Recv failure: Connection reset by peer and caused the task to fail immediately.

      Scope of Work

      • Update src/mongo/db/modules/atlas/evergreen/fetch_images.sh with a portable Bash retry loop around the grpcurl download.
      • Retry all curl failures, including connection resets, without requiring curl versions newer than the supported build images.
      • Preserve failure behavior after five retries.

      Acceptance Criteria

      • Connection-reset/TLS download failures are retried automatically.
      • The download still fails after six total attempts when the dependency is unavailable.
      • The generated-test module image fetch task continues to complete successfully when the failure is transient.

      Related Failure

      The issue is related to BF-45091.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: