-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[blinkpy] 3/3: Detect infrastructure failures
Prior to the test-results turndown, rebaselining with interrupted builds prompted the user with a warning that continuing may yield incorrect results. This change reimplements this detection on the ResultDB-enabled path by fetching and interpreting each shard's exit code. The tool previously read the `interrupted` field of the merged results JSON, which is no longer fetched. Also, builds with `INFRA_FAILURE` now also trigger the warning. This addresses silent incorrect rebaselining when a bot fails on an unrelated step like `bot_update`, such as: https://ci.chromium.org/ui/p/chromium/builders/try/win11-blink-rel/1995/overview Bug: 1213998, 1123077 Test: git cl issue 4143102 Test: ./blink_tool.py rebaseline-cl --patchset=1 --dry-run Test: git cl issue 3894814 Test: ./blink_tool.py rebaseline-cl --patchset=7 --dry-run Test: Both rebaseline runs should show the warning Change-Id: I31bde4706efae82f7d6a564949fc3b70321afd4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4006206 Reviewed-by: Weizhong Xia <weizhong@google.com> Commit-Queue: Jonathan Lee <jonathanjlee@google.com> Cr-Commit-Position: refs/heads/main@{#1096359}
- Loading branch information
1 parent
03e7da2
commit dad1b2d
Showing
10 changed files
with
237 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.