Skip to content
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: TestCgoLookupIP fails on brillo #14485

Open
rakyll opened this issue Feb 24, 2016 · 3 comments
Open

net: TestCgoLookupIP fails on brillo #14485

rakyll opened this issue Feb 24, 2016 · 3 comments
Labels
Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@rakyll
Copy link
Contributor

rakyll commented Feb 24, 2016

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
FAIL
@rakyll rakyll self-assigned this Feb 24, 2016
@rakyll rakyll added this to the Unplanned milestone Feb 24, 2016
@rakyll rakyll modified the milestones: Go1.7, Unplanned Mar 3, 2016
@rakyll
Copy link
Contributor Author

rakyll commented Mar 3, 2016

Holding the fix for this one, Brillo should include a minimal hosts file with localhost similar to Android.

@gopherbot
Copy link

CL https://golang.org/cl/20340 mentions this issue.

gopherbot pushed a commit that referenced this issue Mar 8, 2016
Fixes #14486.
Related to #14485.

Change-Id: I2dd77b0337aebfe885ae828483deeaacb500b12a
Reviewed-on: https://go-review.googlesource.com/20340
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
@rakyll rakyll modified the milestones: Unplanned, Go1.7 Apr 18, 2016
@mikioh mikioh added the Testing An issue that has been verified to require only test changes, not just a test failure. label May 11, 2016
@odeke-em
Copy link
Member

odeke-em commented Jan 8, 2020

Hey @rakyll shall we close this issue perhaps, as Brillo got refocused? Thanks.

@rsc rsc unassigned rakyll Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

4 participants