-
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: TestScript/get_update_all changes mtimes in GOROOT/bin #37573
Comments
Another failure on windows-amd64-longtest at a7f918c1 from today. |
2020-03-16T22:31:39-2fbca94/windows-amd64-longtest I think this is a pairwise-incompatibility with some other test, but so far I haven't been able to track it down running each |
Change https://golang.org/cl/223745 mentions this issue: |
The existing test attempted to remove '_race' binaries from GOROOT/pkg, which could not only fail if GOROOT is read-only, but also interfere with other tests run in parallel. Updates #30316 Updates #37573 Updates #17751 Change-Id: Id7e2286ab67f8333baf4d52244b7f4476aa93a46 Reviewed-on: https://go-review.googlesource.com/c/go/+/223745 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Jay Conrod <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
Change https://golang.org/cl/223746 mentions this issue: |
I'm hoping that CL 223745 does the trick, but there may be other interactions lurking. |
That CL didn't do it: https://build.golang.org/log/d9ad32ca35be46c7fac61bf609655f3e3100a803 At least the feedback was quick! |
Change https://golang.org/cl/223755 mentions this issue: |
FINALLY found it! Doesn't seem to reproduce at all when running as a not-root user. That's why it was so [redacted] hard to track down. For some reason,
|
I think I've figured out what's going on. Our own test from CL 12174 (2015) was rendered unparallelizable by our own intentional breakage of the non-intrusive behavior that test was relying on in CL 76590 (2017). go/src/cmd/go/internal/work/exec.go Lines 1465 to 1476 in 938ad55
|
Change https://golang.org/cl/223919 mentions this issue: |
Retitled for the diagnosed root cause. |
Use that operator to make test_race_install_cgo agnostic to whether GOROOT/pkg is writable. Updates #37573 Updates #30316 Change-Id: I018c63b3c369209345069f917bbb3a52179e2b58 Reviewed-on: https://go-review.googlesource.com/c/go/+/223746 Reviewed-by: Jay Conrod <[email protected]>
Change https://golang.org/cl/223925 mentions this issue: |
Some of the darwin-amd64 builders are providing a stale environment. Let's un-break them while we investigate. Updates #37573 Updates #33598 Change-Id: I8b79778fe4d5aa916557c1ba89fa9c776d130b01 Reviewed-on: https://go-review.googlesource.com/c/go/+/223925 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
Retitled again. After discussion with @rsc, we decided that the |
Change https://golang.org/cl/225897 mentions this issue: |
2020-02-28T20:15:38-964fac3/linux-amd64-longtest
test_race_install_cgo
was converted to a script test in CL 214426. The old test was not run in parallel, and asserted thatgo test -race -i runtime/race
did not reinstallcmd/cgo
.I suspect that this flake was caused by some other test somehow overwriting
cmd/cgo
when it should not have.The text was updated successfully, but these errors were encountered: