Skip to content

Instantly share code, notes, and snippets.

@prologic
Created May 8, 2014 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prologic/86aea66c887d5a550962 to your computer and use it in GitHub Desktop.
Save prologic/86aea66c887d5a550962 to your computer and use it in GitHub Desktop.
go 1.2.1 tests fails on crux 3.1
# pkgmk -d -kw
=======> Building '/usr/ports/contrib/go/go#1.2.1-3.pkg.tar.gz'.
bsdtar -p -o -C /usr/ports/contrib/go/work/src -xf /usr/ports/contrib/go/go1.2.1.src.tar.gz
cp golang.sh /usr/ports/contrib/go/work/src
+ build
+ cd /usr/ports/contrib/go/work/src/go/src
+ export GOROOT_FINAL=/usr/lib/go
+ GOROOT_FINAL=/usr/lib/go
+ export GOROOT=/tmp/go/
+ GOROOT=/tmp/go/
+ unset CC
+ unset CXX
+ ./all.bash
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
libbio
libmach
misc/pprof
cmd/addr2line
cmd/nm
cmd/objdump
cmd/pack
cmd/prof
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
cmd/6g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/os/exec
pkg/os/signal
pkg/net/url
pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
# Building packages and commands for linux/amd64.
runtime
errors
sync/atomic
unicode
unicode/utf8
math
sort
encoding
unicode/utf16
crypto/subtle
container/list
container/ring
image/color
sync
runtime/race
io
syscall
container/heap
image/color/palette
hash
crypto/cipher
hash/crc32
crypto/hmac
hash/adler32
hash/crc64
hash/fnv
bytes
strings
text/tabwriter
bufio
path
html
compress/bzip2
time
strconv
math/rand
math/cmplx
os
crypto
reflect
encoding/base64
regexp/syntax
net/url
crypto/aes
crypto/rc4
encoding/pem
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
encoding/ascii85
encoding/base32
image
path/filepath
os/exec
os/signal
io/ioutil
regexp
image/draw
image/jpeg
encoding/binary
fmt
debug/dwarf
crypto/des
index/suffixarray
flag
go/token
debug/elf
debug/macho
debug/pe
encoding/json
encoding/xml
go/scanner
text/template/parse
log
compress/flate
math/big
encoding/hex
go/ast
mime
runtime/pprof
compress/gzip
cmd/yacc
archive/tar
archive/zip
text/template
compress/lzw
compress/zlib
database/sql/driver
debug/gosym
crypto/elliptic
crypto/rand
crypto/dsa
encoding/asn1
database/sql
crypto/rsa
encoding/csv
go/parser
go/printer
go/doc
encoding/gob
crypto/x509/pkix
crypto/ecdsa
html/template
image/gif
image/png
runtime/debug
testing
cmd/cgo
go/format
go/build
cmd/gofmt
cmd/fix
testing/iotest
testing/quick
text/scanner
runtime/cgo
net
os/user
crypto/x509
net/textproto
log/syslog
mime/multipart
net/mail
crypto/tls
net/http
net/smtp
cmd/go
expvar
net/http/cgi
net/http/cookiejar
net/http/httptest
net/http/httputil
net/http/pprof
net/rpc
net/http/fcgi
net/rpc/jsonrpc
# Testing packages.
? cmd/cgo [no test files]
ok cmd/fix 0.011s
ok cmd/go 0.020s
ok cmd/gofmt 0.033s
? cmd/yacc [no test files]
ok archive/tar 0.003s
ok archive/zip 0.443s
ok bufio 0.069s
ok bytes 0.089s
ok compress/bzip2 0.055s
ok compress/flate 0.438s
ok compress/gzip 0.020s
ok compress/lzw 0.132s
ok compress/zlib 0.991s
ok container/heap 0.002s
ok container/list 0.002s
ok container/ring 0.030s
? crypto [no test files]
ok crypto/aes 0.026s
ok crypto/cipher 0.003s
ok crypto/des 0.014s
ok crypto/dsa 0.006s
ok crypto/ecdsa 0.026s
ok crypto/elliptic 0.058s
ok crypto/hmac 0.003s
ok crypto/md5 0.003s
ok crypto/rand 0.026s
ok crypto/rc4 0.106s
ok crypto/rsa 0.164s
ok crypto/sha1 0.002s
ok crypto/sha256 0.018s
ok crypto/sha512 0.011s
ok crypto/subtle 0.005s
ok crypto/tls 1.137s
ok crypto/x509 0.486s
? crypto/x509/pkix [no test files]
ok database/sql 0.054s
ok database/sql/driver 0.002s
ok debug/dwarf 0.003s
ok debug/elf 0.009s
ok debug/gosym 0.259s
ok debug/macho 0.016s
ok debug/pe 0.004s
? encoding [no test files]
ok encoding/ascii85 0.002s
ok encoding/asn1 0.003s
ok encoding/base32 0.003s
ok encoding/base64 0.011s
ok encoding/binary 0.003s
ok encoding/csv 0.021s
ok encoding/gob 0.016s
ok encoding/hex 0.003s
ok encoding/json 0.120s
ok encoding/pem 0.002s
ok encoding/xml 0.009s
ok errors 0.002s
ok expvar 0.003s
ok flag 0.003s
ok fmt 0.025s
ok go/ast 0.003s
ok go/build 0.083s
ok go/doc 0.060s
ok go/format 0.013s
ok go/parser 0.028s
ok go/printer 0.293s
ok go/scanner 0.003s
ok go/token 0.025s
? hash [no test files]
ok hash/adler32 0.008s
ok hash/crc32 0.006s
ok hash/crc64 0.019s
ok hash/fnv 0.002s
ok html 0.003s
ok html/template 0.030s
ok image 0.068s
ok image/color 0.007s
? image/color/palette [no test files]
ok image/draw 0.081s
ok image/gif 0.042s
ok image/jpeg 0.115s
ok image/png 0.026s
ok index/suffixarray 0.011s
ok io 0.045s
ok io/ioutil 0.011s
ok log 0.003s
2014/05/08 10:33:59 startServer failed: listen udp 127.0.0.1:0: bind: cannot assign requested address
FAIL log/syslog 0.412s
ok math 0.003s
ok math/big 0.202s
ok math/cmplx 0.007s
ok math/rand 0.014s
ok mime 0.002s
ok mime/multipart 0.316s
--- FAIL: TestConnAndListener (0.00 seconds)
conn_test.go:47: Listen failed: listen tcp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestDialTimeout (0.00 seconds)
dial_test.go:29: listen tcp6 [::1]:0: bind: cannot assign requested address
--- FAIL: TestSelfConnect (0.00 seconds)
dial_test.go:128: listen tcp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestDialTimeoutFDLeak (0.00 seconds)
dial_test.go:29: listen tcp6 [::1]:0: bind: cannot assign requested address
--- FAIL: TestDialer (0.00 seconds)
dial_test.go:485: Listen failed: listen tcp4 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestFileListener (0.00 seconds)
file_test.go:36: Listen failed: listen tcp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestFilePacketConn (0.00 seconds)
file_test.go:139: ListenPacket failed: listen udp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestConnICMPEcho (0.10 seconds)
ipraw_test.go:133: Conn.Read failed: read ip4 127.0.0.1: i/o timeout
--- FAIL: TestPacketConnICMPEcho (0.10 seconds)
ipraw_test.go:205: PacketConn.ReadFrom failed: read ip4 0.0.0.0: i/o timeout
--- FAIL: TestIPConnLocalName (0.00 seconds)
ipraw_test.go:261: ListenIP failed: listen ip4:icmp 127.0.0.1: bind: cannot assign requested address
--- FAIL: TestIPConnRemoteName (0.00 seconds)
ipraw_test.go:283: DialIP failed: dial ip:tcp 127.0.0.10: bind: cannot assign requested address
--- FAIL: TestIPv4MulticastListener (0.00 seconds)
multicast_test.go:57: "224.0.0.254" not found in multicast RIB
--- FAIL: TestShutdown (0.00 seconds)
net_test.go:23: ListenTCP on :0: listen tcp6 [::1]:0: bind: cannot assign requested address
--- FAIL: TestTCPListenClose (0.00 seconds)
net_test.go:122: Listen failed: listen tcp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestUDPListenClose (0.00 seconds)
net_test.go:154: Listen failed: listen udp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestTCPClose (0.00 seconds)
net_test.go:186: listen tcp 127.0.0.1:0: bind: cannot assign requested address
panic: test timed out after 2m0s
goroutine 86 [running]:
runtime.panic(0x59cd40, 0xc2100af270)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·007()
/usr/lib/go/src/pkg/testing/testing.go:596 +0xd4
created by time.goFunc
/usr/lib/go/src/pkg/time/sleep.go:123 +0x47
goroutine 1 [chan receive]:
testing.RunTests(0x676310, 0x824040, 0x7c, 0x7c, 0xc210056200)
/usr/lib/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x676310, 0x824040, 0x7c, 0x7c, 0x81af00, ...)
/usr/lib/go/src/pkg/testing/testing.go:403 +0x84
main.main()
net/_test/_testmain.go:327 +0x9c
goroutine 3 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
goroutine 85 [IO wait]:
net.runtime_pollWait(0x7f0738ce5b08, 0x77, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100501b0, 0x77, 0x7f0738ce03b0, 0x73)
/usr/ports/contrib/go/work/src/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitWrite(0xc2100501b0, 0x73, 0x7f0738ce03b0)
/usr/ports/contrib/go/work/src/go/src/pkg/net/fd_poll_runtime.go:90 +0x30
net.(*netFD).connect(0xc210050150, 0x0, 0x0, 0x7f0738ce0598, 0xc21005d880, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/fd_unix.go:86 +0x166
net.(*netFD).dial(0xc210050150, 0x7f0738ce0548, 0x0, 0x7f0738ce0548, 0xc210057840, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/sock_posix.go:121 +0x2fd
net.socket(0x619620, 0x3, 0x2, 0x1, 0x0, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/sock_posix.go:91 +0x40b
net.internetSocket(0x619620, 0x3, 0x7f0738ce0548, 0x0, 0x7f0738ce0548, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/ipsock_posix.go:136 +0x161
net.dialTCP(0x619620, 0x3, 0x0, 0xc210057840, 0x0, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/tcpsock_posix.go:155 +0xef
net.dialSingle(0x619620, 0x3, 0x61cf30, 0xf, 0x0, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/dial.go:225 +0x3d8
net.func·018(0x0, 0x0, 0x0, 0x619620, 0x3, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/dial.go:158 +0xde
net.dial(0x619620, 0x3, 0x7f0738ce04e0, 0xc210057840, 0x7f0736227c88, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/fd_unix.go:40 +0x45
net.(*Dialer).Dial(0x7f0736227d28, 0x619620, 0x3, 0x61cf30, 0xf, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/dial.go:165 +0x3e0
net.Dial(0x619620, 0x3, 0x61cf30, 0xf, 0x43764e, ...)
/usr/ports/contrib/go/work/src/go/src/pkg/net/dial.go:138 +0x75
net.TestErrorNil(0xc2100aa630)
/usr/ports/contrib/go/work/src/go/src/pkg/net/net_test.go:223 +0x56
testing.tRunner(0xc2100aa630, 0x8246d0)
/usr/lib/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/go/src/pkg/testing/testing.go:471 +0x8b2
FAIL net 120.006s
2014/05/08 10:34:01 net/http: invalid Cookie.Domain "wrong;bad.abc"; dropping domain attribute
2014/05/08 10:34:01 net/http: invalid Cookie.Domain "bad-.abc"; dropping domain attribute
2014/05/08 10:34:01 net/http: invalid Cookie.Domain "::1"; dropping domain attribute
2014/05/08 10:34:01 net/http: invalid byte ' ' in Cookie.Value; dropping invalid bytes
2014/05/08 10:34:01 net/http: invalid byte '\x00' in Cookie.Value; dropping invalid bytes
2014/05/08 10:34:01 net/http: invalid byte '"' in Cookie.Value; dropping invalid bytes
2014/05/08 10:34:01 net/http: invalid byte ';' in Cookie.Path; dropping invalid bytes
--- FAIL: TestClient (0.00 seconds)
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address [recovered]
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address
goroutine 38 [running]:
runtime.panic(0x690820, 0xc210076c10)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/usr/lib/go/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x690820, 0xc210076c10)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
net/http/httptest.newLocalListener(0x100000003, 0x41b7eb)
/usr/lib/go/src/pkg/net/http/httptest/server.go:68 +0x3b1
net/http/httptest.NewUnstartedServer(0x7f8d481c5508, 0x80ebf8, 0x47a929)
/usr/lib/go/src/pkg/net/http/httptest/server.go:96 +0x1e
net/http/httptest.NewServer(0x7f8d481c5508, 0x80ebf8, 0x0)
/usr/lib/go/src/pkg/net/http/httptest/server.go:83 +0x31
net/http_test.TestClient(0xc210057f30)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/client_test.go:59 +0x6e
testing.tRunner(0xc210057f30, 0xae1028)
/usr/lib/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/go/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x80ae40, 0xae0d40, 0xab, 0xab, 0x701)
/usr/lib/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x80ae40, 0xae0d40, 0xab, 0xab, 0xad9ea0, ...)
/usr/lib/go/src/pkg/testing/testing.go:403 +0x84
main.main()
net/http/_test/_testmain.go:423 +0x9c
FAIL net/http 0.233s
--- FAIL: TestCopyError (0.00 seconds)
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address [recovered]
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address
goroutine 20 [running]:
runtime.panic(0x5f9820, 0xc2100954b0)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/usr/lib/go/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x5f9820, 0xc2100954b0)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
net/http/httptest.newLocalListener(0x0, 0x4071dc)
/usr/lib/go/src/pkg/net/http/httptest/server.go:68 +0x3b1
net/http/httptest.NewUnstartedServer(0x7f4dac40b918, 0xc210097510, 0x0)
/usr/lib/go/src/pkg/net/http/httptest/server.go:96 +0x1e
net/http/httptest.NewServer(0x7f4dac40b918, 0xc210097510, 0x965860)
/usr/lib/go/src/pkg/net/http/httptest/server.go:83 +0x31
net/http/cgi.TestCopyError(0xc210097480)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/cgi/host_test.go:308 +0xc2
testing.tRunner(0xc210097480, 0x961750)
/usr/lib/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/go/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x730638, 0x961600, 0x15, 0x15, 0x5f7d01)
/usr/lib/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x730638, 0x961600, 0x15, 0x15, 0x965340, ...)
/usr/lib/go/src/pkg/testing/testing.go:403 +0x84
main.main()
net/http/cgi/_test/_testmain.go:87 +0x9c
goroutine 10 [finalizer wait]:
runtime.park(0x40b670, 0x965448, 0x963268)
/usr/lib/go/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2279 +0x84
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
FAIL net/http/cgi 0.183s
ok net/http/cookiejar 0.006s
ok net/http/fcgi 0.004s
--- FAIL: TestServer (0.00 seconds)
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address [recovered]
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address
goroutine 5 [running]:
runtime.panic(0x5e2a60, 0xc2100368a0)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/usr/lib/go/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x5e2a60, 0xc2100368a0)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
net/http/httptest.newLocalListener(0x92a7b0, 0xc210001120)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/httptest/server.go:68 +0x3b1
net/http/httptest.NewUnstartedServer(0x7fb9f45287b8, 0x711c50, 0xc200000000)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/httptest/server.go:96 +0x1e
net/http/httptest.NewServer(0x7fb9f45287b8, 0x711c50, 0x929918)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/httptest/server.go:83 +0x31
net/http/httptest.TestServer(0xc210055120)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/httptest/server_test.go:16 +0x48
testing.tRunner(0xc210055120, 0x9200b8)
/usr/lib/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/go/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x70ed50, 0x9200a0, 0x2, 0x2, 0x1)
/usr/lib/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x70ed50, 0x9200a0, 0x2, 0x2, 0x929200, ...)
/usr/lib/go/src/pkg/testing/testing.go:403 +0x84
main.main()
net/http/httptest/_test/_testmain.go:55 +0x9c
FAIL net/http/httptest 0.014s
--- FAIL: TestReverseProxy (0.00 seconds)
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address [recovered]
panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: cannot assign requested address
goroutine 20 [running]:
runtime.panic(0x5ec5c0, 0xc210036c80)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/usr/lib/go/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x5ec5c0, 0xc210036c80)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
net/http/httptest.newLocalListener(0x4408b0, 0xc21005aea0)
/usr/lib/go/src/pkg/net/http/httptest/server.go:68 +0x3b1
net/http/httptest.NewUnstartedServer(0x7f91f5008b80, 0xc210036ce0, 0x0)
/usr/lib/go/src/pkg/net/http/httptest/server.go:96 +0x1e
net/http/httptest.NewServer(0x7f91f5008b80, 0xc210036ce0, 0x940148)
/usr/lib/go/src/pkg/net/http/httptest/server.go:83 +0x31
net/http/httputil.TestReverseProxy(0xc21004cab0)
/usr/ports/contrib/go/work/src/go/src/pkg/net/http/httputil/reverseproxy_test.go:42 +0x93
testing.tRunner(0xc21004cab0, 0x939ee0)
/usr/lib/go/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/go/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x71bdc8, 0x939e80, 0x8, 0x8, 0x1)
/usr/lib/go/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x71bdc8, 0x939e80, 0x8, 0x8, 0x93fa00, ...)
/usr/lib/go/src/pkg/testing/testing.go:403 +0x84
main.main()
net/http/httputil/_test/_testmain.go:61 +0x9c
goroutine 10 [chan receive]:
net/http.(*persistConn).readLoop(0xc210061e00)
/usr/lib/go/src/pkg/net/http/transport.go:701 +0x2f4
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 11 [select]:
net/http.(*persistConn).writeLoop(0xc210061e00)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
goroutine 14 [chan receive]:
net/http.(*persistConn).readLoop(0xc210061d00)
/usr/lib/go/src/pkg/net/http/transport.go:701 +0x2f4
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 15 [select]:
net/http.(*persistConn).writeLoop(0xc210061d00)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
goroutine 18 [chan receive]:
net/http.(*persistConn).readLoop(0xc210061c00)
/usr/lib/go/src/pkg/net/http/transport.go:701 +0x2f4
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 19 [select]:
net/http.(*persistConn).writeLoop(0xc210061c00)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
FAIL net/http/httputil 0.006s
? net/http/pprof [no test files]
ok net/mail 0.003s
2014/05/08 10:34:01 net.Listen tcp :0: listen tcp 127.0.0.1:0: bind: cannot assign requested address
FAIL net/rpc 0.004s
ok net/rpc/jsonrpc 0.004s
--- FAIL: TestSendMail (0.00 seconds)
smtp_test.go:422: Unable to to create listener: listen tcp 127.0.0.1:0: bind: cannot assign requested address
FAIL
FAIL net/smtp 0.003s
ok net/textproto 0.003s
ok net/url 0.004s
ok os 0.473s
--- FAIL: TestExtraFiles (0.00 seconds)
exec_test.go:355: listen tcp 127.0.0.1:0: bind: cannot assign requested address
--- FAIL: TestExtraFilesRace (0.00 seconds)
exec_test.go:417: listen tcp 127.0.0.1:0: bind: cannot assign requested address
FAIL
FAIL os/exec 0.025s
ok os/signal 0.424s
ok os/user 0.002s
ok path 0.002s
ok path/filepath 0.011s
ok reflect 0.044s
ok regexp 0.069s
ok regexp/syntax 0.547s
ok runtime 12.082s
? runtime/cgo [no test files]
ok runtime/debug 0.002s
ok runtime/pprof 6.397s
? runtime/race [no test files]
ok sort 0.075s
ok strconv 0.305s
ok strings 0.093s
ok sync 0.038s
ok sync/atomic 0.043s
ok syscall 0.003s
ok testing 0.004s
? testing/iotest [no test files]
ok testing/quick 0.024s
ok text/scanner 0.003s
ok text/tabwriter 0.003s
ok text/template 0.023s
ok text/template/parse 0.008s
ok time 2.645s
ok unicode 0.003s
ok unicode/utf16 0.005s
ok unicode/utf8 0.003s
? unsafe [no test files]
=======> ERROR: Building '/usr/ports/contrib/go/go#1.2.1-3.pkg.tar.gz' failed.
#
# prt-get listinst -v | egrep "(gcc|glibc)"
avr-gcc 4.8.2-1
gcc 4.8.2-1
glibc 2.19-2
glibc-32 2.19-1
@prologic
Copy link
Author

FYI (to anyone that runs into this) the solution is to ensure that you have the following config option enabled in your kernel config:

# cd /usr/src/linux
# egrep "MULTICAST" .config
CONFIG_IP_MULTICAST=y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment