-
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
run.bash: document GO_TEST_SHORT and GO_TEST_TIMEOUT_SCALE; decide what to do with GOTESTONLY #46054
Comments
cc @rsc as a wild guess for an owner. |
CC @golang/release, since the primary use-case for most of these variables is to configure the Go dashboard builders. |
Also CC @golang/release.
I'm less familiar with
Moving to NeedsDecision to decide whether to document these and consider them supported publicly, or document that they're an internal detail of the Go build system and not supported. |
FYI:
|
Change https://golang.org/cl/328771 mentions this issue: |
By now I think it's okay to document We should probably remove or rename |
CL 328770 should be sufficient to fix the specific failure in the report, but when attempting to reproduce it I noticed a related failure mode, triggered by the environment variables set in src/run.bash. The failure mode is currently masked on the Go project builders due to the lack of any 'longtest' builder running as a non-root user (#10719). It is also masked from Go contributors running 'run.bash' locally because 'run.bash' does not actually run all of the tests unless GO_TEST_SHORT=0 is set in the environment (#29266, #46054). Fixes #46695 Change-Id: I272c09dae462734590dce59b3d3c5b6d3f733c92 Reviewed-on: https://go-review.googlesource.com/c/go/+/328771 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Change https://go.dev/cl/455519 mentions this issue: |
Change https://go.dev/cl/455517 mentions this issue: |
This hook was added for the Go build system (x/build) to be able to set the run flag value, but it's no longer used anywhere. Remove it for now. Updates #46054. Change-Id: I64e7d68d2b270303f3bd54f73079600f209e350a Reviewed-on: https://go-review.googlesource.com/c/go/+/455519 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Austin Clements <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The
run.bash
script documents theGO_TEST_SHARDS
andGO_BUILDER_NAME
environment variables, but not theGOTESTONLY
,GO_TEST_SHORT
andGO_TEST_TIMEOUT_SCALE
enviroment variables.The text was updated successfully, but these errors were encountered: