-
Notifications
You must be signed in to change notification settings - Fork 18k
net: TestLookupPort fails on brillo when CGO_ENABLED=0 #14576
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
(Reproducible on an Intel Edison.) |
CC @mikioh |
does brillo have /etc/services? (see net/port_unix.go) |
I'll take a look if no one sends a CL until the Go 1.7 cutoff. Probably we need to split the test case into two: one for LookupPort and another for lookupPort. |
/etc/services are not available on Android and Brillo. goLookupPort should return an error that lookup is not supported on Android. We also need to separate the test case into two to skip the lookup test on GOOS=android and CGO_ENABLED=0. |
/etc/services is not available on Android. The pure Go implementation of LookupPort will never succeed on Android. Skipping the test. Updates #14576. Change-Id: I707ac24aea3f988656b95b1816ee5c9690106985 Reviewed-on: https://go-review.googlesource.com/20154 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Linux on IBM z (s390x) too; linux-on-ibm-z@d611bf8 |
CL https://golang.org/cl/20349 mentions this issue. |
CL https://golang.org/cl/23111 mentions this issue. |
CL https://golang.org/cl/23194 mentions this issue. |
Looks like some version of Android still fails with "servname not supported for ai_socktype". It probably doesn't support ai_socktype=SOCK_STREAM. Updates #14576. Change-Id: I77ecff147d5b759e3281b3798c60f150a4aab811 Reviewed-on: https://go-review.googlesource.com/23194 Reviewed-by: Ian Lance Taylor <iant@golang.org>
The text was updated successfully, but these errors were encountered: