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?
to your account
Reproducible on Qualcomm Dragonboard 410c, Brillo image built with BDK 7.5.4.
go_android_exec: adb shell mkdir -p /mnt/media_rw/tmp/net.test-55266
go_android_exec: adb push /var/folders/00/1b8h8000h01000cxqpysvccm005d21/T/go-build559449628/net/_test/net.test /mnt/media_rw/tmp/net.test-55266/net.test-55266-tmp
1358 KB/s (5223788 bytes in 3.754s)
go_android_exec: adb shell cp '/mnt/media_rw/tmp/net.test-55266/net.test-55266-tmp' '/mnt/media_rw/tmp/net.test-55266/net.test-55266'
go_android_exec: adb shell rm '/mnt/media_rw/tmp/net.test-55266/net.test-55266-tmp'
go_android_exec: adb shell export TMPDIR="/mnt/media_rw/tmp/net.test-55266"; export GOROOT="/mnt/media_rw/goroot/"; export GOPATH="/mnt/media_rw/gopath/"; cd "/mnt/media_rw/goroot/src/net"; '/mnt/media_rw/tmp/net.test-55266/net.test-55266' -test.short=true -test.timeout=6m0s; echo -n exitcode=$?
--- FAIL: TestCgoLookupIP (0.01s)
cgo_unix_test.go:19: lookup localhost: No address associated with hostname
cgo_unix_test.go:22: lookup localhost on [::1]:53: read udp [::1]:58014->[::1]:53: read: connection refused
The text was updated successfully, but these errors were encountered:
Holding the fix for this one, Brillo should include a minimal hosts file with localhost similar to Android.
Sorry, something went wrong.
CL https://golang.org/cl/20340 mentions this issue.
runtime: listen 127.0.0.1 instead of localhost on android
Related to #14485.
Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org>
Run-TryBot: Brad Fitzpatrick <email@example.com>
TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
Hey @rakyll shall we close this issue perhaps, as Brillo got refocused? Thanks.
No branches or pull requests