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
test: test timed out after 10m0s even with GO_TEST_TIMEOUT_SCALE=10 #61468
Comments
Looks like the same issue occurs on I'm slowly bisecting, however my current guess is it relates to commit 7a0799b. |
The fact that the test timed out after 10m0s suggests that it is not. It looks like the If it is not set, the And the default timeout for Probably we should treat a missing (CC @aclements @dmitshur) |
That makes sense too: prior to that change, the |
Thanks for reporting, I'll look. |
Change https://go.dev/cl/511567 mentions this issue: |
Change https://go.dev/cl/511976 mentions this issue: |
Closed by merging b36e555 to release-branch.go1.21. |
… isn't overridden The timeout field is documented as being available so that it's possible to override timeout by setting a non-zero value. If it's left at zero, we don't need to override the default go test timeout, but we still need to apply the timeout scale whenever it's something other than 1. Fixes #61468. Change-Id: I63634e9b3ef8c4ec7f334b5a6b4bf3cad121355c Reviewed-on: https://go-review.googlesource.com/c/go/+/511976 Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
The timeout field is documented as being available so that it's possible to override timeout by setting a non-zero value. If it's left at zero, we don't need to override the default go test timeout, but we still need to apply the timeout scale whenever it's something other than 1. Fixes (via backport) #61468. Change-Id: I63634e9b3ef8c4ec7f334b5a6b4bf3cad121355c Reviewed-on: https://go-review.googlesource.com/c/go/+/511567 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
… isn't overridden The timeout field is documented as being available so that it's possible to override timeout by setting a non-zero value. If it's left at zero, we don't need to override the default go test timeout, but we still need to apply the timeout scale whenever it's something other than 1. Fixes golang#61468. Change-Id: I63634e9b3ef8c4ec7f334b5a6b4bf3cad121355c Reviewed-on: https://go-review.googlesource.com/c/go/+/511976 Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
With Go tip I'm no longer able to get
./all.bash
to pass on a SiFive HiFive Unleashed board (linux/riscv64), even withGO_TEST_TIMEOUT_SCALE=10
exported the../test
now fails consistently with:Contrary to this, an
./all.bash
run with Go 1.21.6 passes successfully.I'm not currently sure if
GO_TEST_TIMEOUT_SCALE
is no longer being correctly honoured, or if the tests being run have now tipped over some threshold. Either way, not being able to run./all.bash
to completion is not an ideal situation...The text was updated successfully, but these errors were encountered: