DescriptionIn rebaseline, include build number information with "test_prefix_list" dicts.
When rebaselining, the main argument passed to the rebaseline method is a "test_prefix_list", which is currently a dict mapping test prefixes to builder names to baseline file suffixes.
If we want to change _suffixes_for_actual_failures to fetch actual failures for try jobs, then that method needs to know the build number as well.
This CL would replace the builder in all "test_prefix_list" dicts with a Build object, which includes builder name and build number, but build number is optional.
Planned follow-up: changing build_data() to use a method to fetch and cache results for particular builds, and change _suffixes_for_actual_failures fetch results for particular builds using that method as well. This would make the "skip_checking_actual_results" workaround unnecessary. I could also include that change in this CL.
Committed: https://crrev.com/e5830ddcf7cc0fc87decede44a0a0baa4d5e8c61
Cr-Commit-Position: refs/heads/master@{#405783}
Patch Set 1 #Patch Set 2 : - #
Total comments: 9
Patch Set 3 : Use a Build object instead of pair to represent a build; add docstring, remove print #
Total comments: 6
Patch Set 4 : Update comments; extract helper function; add TODO notes #
Messages
Total messages: 16 (6 generated)
|