-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/cmd/coordinator: compile error in os/os_test.go
not detected by misc-compile
TryBots
#61923
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
Comments
I suspect this regressed in https://go.dev/cl/464955 (for #58163; attn @mknyszek). |
Thanks for flagging this, on it. |
OK yeah, got it. I suspect this should be an easy fix. |
Change https://go.dev/cl/518255 mentions this issue: |
For the record, this is is being caught in LUCI as intended, see the misccompile column at https://ci.chromium.org/p/golang/g/go-gotip-ci/console. So this issue only affects x/build/cmd/coordinator. ![]() |
os/os_test.go
not detected by misc-compile
TryBotsos/os_test.go
not detected by misc-compile
TryBots
Change https://go.dev/cl/518295 mentions this issue: |
In CL 517755 the test was added in the unconstrained os_test.go because it appeared to be portable, but it turned out not to be valid on plan9. (The build error was masked on the misc-compile TryBots by #61923.) Although the test can also compile and run on Windows, the bug it checks for is specific to Linux and only really needs to run there, so I am moving it to os_unix_test.go instead of adding yet another test file for “Unix and Windows but not Plan 9”. Updates #60181. Change-Id: I41fd11b288217e95652b5daa72460c0d26bde606 Reviewed-on: https://go-review.googlesource.com/c/go/+/518255 Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
https://go.dev/cl/517755 caused a compilation error on the
plan9
builders (https://build.golang.org/log/2613479c07e3aaf02e75f15f00b8d1c01c9ec217):I didn't catch that during code review because the CL had a passing TryBot run, and based on #20119 I assumed that the
misc-compile
TryBots would have caught any compile error in the test.It appears that either the fix for #20119 was incomplete, or something has regressed since then to cause the
misc-compile
TryBots to no longer catch compile errors in tests.(CC @dmitshur @aclements @golang/release)
The text was updated successfully, but these errors were encountered: