-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/go: long tests failing on Windows #25300
Comments
Using |
the test seems to pass using let me know if you need me to debug a specific test. |
It looks from the transcript in the link that there are some failing tests in non-short mode. Unfortunately, that's true, or at least was in May. I don't see anything in the initial report about a 3-minute failure. Not sure why Brad put that in the title. |
updated and rebuild latest master:
go env is same as OP.
i ran the tests a 3-4 times and it seems to fail at a different location each time. it prompts for github login in one of the tests and if one does not enters right away it can fail with a: |
Change https://golang.org/cl/181538 mentions this issue: |
Change https://golang.org/cl/181542 mentions this issue: |
Add a helper-function to testenv to make these skips more ergonomic. Also update a few existing skips in cmd/go/... to use it. Updates #25300 Change-Id: I4205b4fb2b685dfac1cff3c999f954bff7b0f3c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/181538 Reviewed-by: Ian Lance Taylor <[email protected]>
$GOEXE exists and is documented in 'go env', so $exe is redundant and a bit confusing. Notably, mod_modinfo.txt already assumes that GOEXE is set (even though it isn't), and thus fails on Windows. After this CL, `go test cmd/go/...` passes on a windows-amd64-2016 builder. However, given that the $PATH on the builder is very minimal (#32430) and network access is limited, tests that rely on binaries (such as 'git') or external networking may still be broken. Updates #25300 Change-Id: I9d80f2a0fbaa8bc35fa2205b6898aeccecda4e94 Reviewed-on: https://go-review.googlesource.com/c/go/+/181542 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
It's not obvious to me whether tests are still failing on Windows, but I seem to have sent CLs to fix the ones I was aware of. It seems to me that the appropriate long-term solution is to actually run all of the tests on a builder on a regular basis (#26529), which may require adding or configuring more tools on the builder image (see also #32430). If specific tests are failing or regressing, please let us know which ones and in what configuration, or just send a CL to fix them. Otherwise, I don't think we need to keep an umbrella issue open. |
hi, i will be unable to send further information anytime soon, due to limited bandwidth. |
We are now running the long tests on the Now that we have a builder that reproduces the failures, we can work on fixing them. |
Change https://golang.org/cl/206144 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
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
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
cmd/go
passes when doing:or:
What did you expect to see?
passing tests for
cmd/go
.What did you see instead?
https://gist.githubusercontent.com/neolit123/b48fc27c8be1eb598fb41ce3cb2366f4/raw/06c1e91e076206574f4136a72aa238c3b1df878d/gistfile1.txt
with an older version i used to see this:
full log here:
https://pastebin.com/XNNAKhBW
requested by:
@alexbrainman
refs:
#24709
The text was updated successfully, but these errors were encountered: