ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Test Infrastructure
    • Fully Compatible
    • DevProd Test Infra 2026-09-22
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      `test_bazel_run_resmoke.py` invoked `bazel run` with `-config=local`, which sets `//bazel/config:use_rbe_sysroot=True`. `test_bazel_burn_in_end2end.py`'s bazel build uses `config=no-remote-exec`, which leaves that flag at its default `False`. Since the two tests can run back-to-back in the same suite, the flag flip forced Bazel to discard its analysis cache and reconfigure the whole target graph before the burn-in build, contributing to observed timeouts. Switching to `-config=no-remote-exec` (matching burn-in) keeps the flag stable across both tests.

      *Evidence* — running `test_bazel_run_resmoke.py` then `test_bazel_burn_in_end2end.py` back to back, warm cache, no `bazel clean`, two runs each:

        resmoke test (`bazel run`) burn-in build (`bazel build`) Sum
      Before (resmoke test uses `--config=local`) 35.2s / 33.8s 10.7s / 10.6s 45.9s / 44.4s
      After (resmoke test uses `--config=no-remote-exec`) 25.5s / 25.3s 2.0s / 1.9s 27.5s / 27.2s

      The savings are concentrated almost entirely in the burn-in build step (~10.6s → ~2s), consistent with the flag-flip/reconfigure theory above.

            Assignee:
            Steve McClure
            Reporter:
            Steve McClure
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: