-
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/cgo, runtime/cgo: misc/cgo/testsovar fails on netbsd #11654
Comments
I think this is broken for a particular netbsd version. I run trybot before submitting https://go-review.googlesource.com/#/c/11119/ and netbsd builder did not complain. It easy to disable this test on netbsd, but maybe this should be investigated first. Alex |
My dumb guess is that parallelism in cmd/dist and/or the package testing on node under the test with small memory might be the trigger for this sort of issues. I just launched netbsd-386 with 2 cores+1Gig memory, run all.bash a few times, and got the following constantly:
|
I don't think so. I suspect it is too do with OS tools - GCC or libc or whatever else. I suspect this builder was always broken. I don't think this builder is maintained by Brad and Andrew. Alex |
Yup, with 2Gig memory, there's no crash of compile/link commands. But misc/cgo/testsovar still fails. |
CC @minux since it seems to be his builder. This will need to be investigated by somebody who can recreate the problem. |
We have no netbsd trybots. |
CL https://golang.org/cl/12060 mentions this issue. |
Update #11654 Change-Id: Ia199b8dd349542ad8b92b463dd2f3734dd7e66a4 Reviewed-on: https://go-review.googlesource.com/12060 Run-TryBot: Alex Brainman <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
Moving to unplanned. Will have to wait for developer using NetBSD. |
May be fixed by https://golang.org/cl/12470. |
I had the same error message, so likely I have the same error. I will check my tool chain. But anyway the |
@ikrabbe we skip misc/cgo/testsovar test on netbsd (search for 11654 in cmd/dist/test.go). If you have netbsd machine, please remove the "skip" and see if build succeeds. If it succeeds, please send another CL with the change. Thank you. Alex |
@alexbrainman No sorry I use a gentoo linux and I currently try to find the compiler commands that where involved in the failed test, that I can exactly reproduce what happened. Currently I miss the linker step for the |
You can execute misc/cgo/testsovar test by running:
Alex |
but this does not say anything about the executed commands. How can I rebuild the dist tool command, without rebuilding the whole set? |
cmd/dist is just a Go command, so all normal build commands applicable: 'go build' and 'go install'. For example:
Alex |
@alexbrainman Ah, thank you: I changed the dist tester to be more verbose With this I get
Now we can analyze why or where we need an |
CL https://golang.org/cl/12510 mentions this issue. |
It is very useful to see which test commands are executed. This is of global use, but I wrote it for golang#11654. Change-Id: I9bfc8e55d5bef21f4c49b917f58bc9a44aefcade Reviewed-on: https://go-review.googlesource.com/12510 Reviewed-by: Russ Cox <[email protected]>
CL https://golang.org/cl/12702 mentions this issue. |
CL https://golang.org/cl/12470 has reportedly fixed the problems that the misc/cgo/testsovar test encountered on darwin and netbsd. Let's actually run the test. Update #10360. Update #11654. Change-Id: I4cdd27a8ec8713620e0135780a03f63cfcc538d0 Reviewed-on: https://go-review.googlesource.com/12702 Reviewed-by: Russ Cox <[email protected]>
As far as I can tell, this is fixed. |
See http://build.golang.org/log/c35e11fe9fbe842fc43b4299a38560742cc7df69.
The text was updated successfully, but these errors were encountered: