-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
net: TestInterfaces and TestInterfaceAddrs fail on unnumbered or dialup network interfaces #15249
Comments
Thanks for the report. Can you please show us the output of |
Looks like this is a bug on both TestInterfaces and TestInterfaceAddrs test cases. I completely overlooked the existence of dialup interfaces. You can ignore those test errors. The network interface identification functionality works correctly. |
I have just confirmed, this issue also happens on tip. Are you sure that's the right command? Because I get this:
|
Please run the command at $GOROOT/src/syscall. |
@mikioh I did, which is why I included the output of |
Yup, my bad, sorry. Please run |
See TestRouteRIB.txt. |
Thanks for the information. Just confirmed that this is a bug of both test cases and the net package APIs work correctly. |
It would be great if the fix could be ported back to Go 1.6.1 so I have a chance to build Go from the ports without disabling tests. |
We only backport critical fixes to releases. A test failure is not a critical fix. Sorry. |
CL https://golang.org/cl/22079 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?I'm trying to build Go 1.6.1
What operating system and processor architecture are you using (
go env
)?I can't run Go env but uname says:
FreeBSD miso 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
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.
A successful build.
Failed tests:
The complete (hopefully) build log is attached as go1.6.1-build.log.txt.
Here is my ifconfig if that helps:
The text was updated successfully, but these errors were encountered: