-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build: timeout_scale parameter not applied on LUCI builders for x/ repos #65845
Comments
It appears that the actual So I guess that's where the |
Change https://go.dev/cl/565697 mentions this issue: |
This change sets the test_timeout_scale property instead of setting GO_TEST_TIMEOUT_SCALE directly. This property ensures the timeout scale propagates to all testing contexts, including `go test`, in golangbuild. This change also allows run mods to influence the test timeout scale of subrepo builders, since that was previously not explicitly handled, but led to flaky test timeouts on subrepo builds. Depends on https://crrev.com/c/5314204. This CL must wait until that change lands and rolls out. Fixes golang/go#65845. Change-Id: I3d38922d64fa225da233206bf53994d4b85843c7 Reviewed-on: https://go-review.googlesource.com/c/build/+/565697 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Bypass: Michael Knyszek <[email protected]>
I believe this is now resolved. I verified on an x/tools longtest build that the |
Go version
86a32d6
Output of
go env
in your module/workspace:What did you do?
Read #65820 (comment).
What did you see happen?
The logs linked from https://ci.chromium.org/ui/p/golang/builders/ci/x_tools-gotip-darwin-amd64-longtest/b8755859092256698353/overview appear to show
go test
commands run without setting the-timeout
flag.It appears that the LUCI configuration only uses the
timeout_scale
parameter to set theGO_TEST_TIMEOUT_SCALE
environment variable, which is intended to be specific tocmd/dist
and should have little to no effect on other commands.(https://cs.opensource.google/go/x/build/+/luci-config:main.star;l=1206-1208;drc=c0163da662349fff6c2f585cebd08bbd836b8470)
What did you expect to see?
A
-timeout
flag set according to thetimeout_scale
parameter of the builder, analogous to what happens on the legacy builders:https://cs.opensource.google/go/x/build/+/master:cmd/coordinator/buildstatus.go;l=1187-1190;drc=498808697e0db626ec196a9a5290f5f121fa056a (issue #56968)
The text was updated successfully, but these errors were encountered: