ExportXMLWordPrintableJSON

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

      When fetch_remote_test_results.sh can't download a shard's test.outputs zip, the shard was recorded as NO REPORT (no tests may have been run) and the result task failed with 0 failed tests, even when every test passed. This is what a transient EngFlow connection reset looks like once it outlasts the retries added in SERVER-140098.

      • fetch_remote_test_results.sh: download_outputs flags a download that download_with_retry gave up on. When a shard ends up DOWNLOAD_FAILED, the script adds one failing test, INFRASTRUCTURE FAILURE: could not download test results from EngFlow, to the combined report.json, so the task's Tests tab says why it failed. This works for virtual result tasks too, which can only be completed as success or failed and have no logs of their own. The script still exits non-zero, as it does for NO_REPORT.
      • bazel_test_results_shutils.sh: new DOWNLOAD_FAILED shard status for a shard with no report and a failed download, shown as DOWNLOAD FAILED (could not fetch its results from EngFlow, its tests may have passed) instead of NO REPORT. A shard that only lost its test.log keeps its report and status.

      The synthetic test is part of the report, so it is also uploaded to Trunk and appears in test history under that name.

      Testing

      New //evergreen:fetch_remote_test_results_test runs the real script against a fake curl and BEP file: success, a transient failure retried away, a persistent failure (synthetic failing test in report.json, DOWNLOAD FAILED in the summary), and a log-only failure.

            Assignee:
            Zack Winter
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: