net: TestLookupPort fails on brillo when CGO_ENABLED=0 #14576
Closed
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. |
gopherbot
pushed a commit
that referenced
this issue
Mar 3, 2016
/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. |
gopherbot
pushed a commit
that referenced
this issue
May 18, 2016
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>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: