x/build/cmd/coordinator: runSubrepoTests (golang.org/x repo tests) should also check maxTestExecErrors constant #36226
Labels
Builders
x/build issues (builders, bots, dashboards)
FeatureRequest
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
In my investigation at #35581 (comment), I wrote:
I'm seeing now that this isn't quite true. There is a constant defined:
The
runTestsOnBuildlet
method, which is called byrunTests
method, has block that checks ifti.numFail
has reachedmaxTestExecErrors
:However, the
runTests
method is only used for the main Go repository, not golang.org/x repos:So this bug is about making the golang.org/x repos path also use the
maxTestExecErrors
constant and give up after some number of tries.It's low value to fix because we rarely run into a situation where communication errors happen 3 times or more; that happens most often due to other bugs which we need to fix anyway.
/cc @bradfitz @cagedmantis @toothrot
The text was updated successfully, but these errors were encountered: