Give local Bazel builds a two-hour attempt timeout

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Fully Compatible
    • Build OnDeck
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary
      • Give local/non-RBE Bazel executions a 7200-second fallback timeout per retry attempt.
      • Preserve explicit timeouts and the existing 3600-second remote execution fallback.
      • Add coverage for local, remote, and explicit timeout selection.
        1. Motivation

      A hung local Bazel invocation could reach the outer Evergreen execution timeout before retry_bazel_cmd saw a timeout exit and started another attempt. The local fallback lets the existing retry loop recover.

        1. Safety

      Explicit build_timeout_seconds remains authoritative. Remote execution behavior is unchanged.

        1. Testing
      • bazel test //evergreen:bazel_evergreen_shutils_test
      • bash -n evergreen/bazel_evergreen_shutils.sh
      • bash -n evergreen/bazel_evergreen_shutils_test.sh
      • git diff --check

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

              Created:
              Updated:
              Resolved: