FAQ
Change 2788bd8b6b7f broke the freebsd-amd64 build:
http://build.golang.org/log/c00904c76105b4f161913836ca2528b285722bf8

net: fix intermittent TestAddFDReturnsError failure

A fix similar to CL 6859043 was effective in resolving the intermittent
failure.

Fixes issue 4423.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6854102

http://code.google.com/p/go/source/detail?r=2788bd8b6b7f

$ tail -200 < log

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/filetransport.go:43
+0x54
created by net/http.fileTransport.RoundTrip

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/filetransport.go:45
+0xc4

goroutine 114 [select]:
net/http.(*persistConn).writeLoop(0xc20029bf00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 116 [chan receive]:
net/http.(*persistConn).readLoop(0xc2009e6b00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 117 [select]:
net/http.(*persistConn).writeLoop(0xc2009e6b00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 297 [chan receive]:
net/http.(*persistConn).readLoop(0xc20036e700, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 131 [chan receive]:
net/http.(*persistConn).readLoop(0xc2009e6d00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 132 [select]:
net/http.(*persistConn).writeLoop(0xc2009e6d00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 190 [chan receive]:
net/http.(*persistConn).readLoop(0xc200398700, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 218 [chan receive]:
net/http.(*persistConn).readLoop(0xc20029ba80, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 219 [select]:
net/http.(*persistConn).writeLoop(0xc20029ba80, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 191 [select]:
net/http.(*persistConn).writeLoop(0xc200398700, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 298 [select]:
net/http.(*persistConn).writeLoop(0xc20036e700, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 301 [chan receive]:
net/http.(*persistConn).readLoop(0xc200398f00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 302 [select]:
net/http.(*persistConn).writeLoop(0xc200398f00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 1004 [chan receive]:
net/http.(*persistConn).readLoop(0xc20029b180, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:650
+0x5ee
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:407
+0x5d6

goroutine 1006 [chan receive]:
net.(*pollServer).WaitWrite(0xc200675c60, 0xc201a35780, 0xc200675cf0, 0x23,
0xffffffffffffff01, ...)
/usr/local/go/src/pkg/net/fd_unix.go:251 +0x63
net.(*netFD).Write(0xc201a35780, 0xc201342000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:553 +0x3a0
net.(*conn).Write(0xc201ac17e8, 0xc201342000, 0x1000, 0x1000,
0xffffffff, ...)
/usr/local/go/src/pkg/net/net.go:129 +0xd3
bufio.(*Writer).Flush(0xc201b1a880, 0xff8, 0xff8, 0xc201343000)
/usr/local/go/src/pkg/bufio/bufio.go:456 +0xb9
bufio.(*Writer).Write(0xc201b1a880, 0xc201343000, 0x8000, 0x8000, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:492 +0x1ef
net/http.(*response).Write(0xc201b1a900, 0xc201343000, 0x8000, 0x8000,
0x8000, ...)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:507
+0x461
net/http.(*writerOnly).Write(0xc200bb7cd0, 0xc201343000, 0x8000, 0x8000,
0x8000, ...)
/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/chunked.go:0
+0x65
io.Copy(0xc200a07db0, 0xc200bb7cd0, 0xc200a07480, 0x418061, 0xac0000, ...)
/usr/local/go/src/pkg/io/io.go:367 +0x236
net/http.(*response).ReadFrom(0xc201b1a900, 0xc200a07480, 0x418061,
0xc20034f210, 0x0, ...)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:167
+0x1ae
io.Copy(0xc200675f60, 0xc201b1a900, 0xc200a07480, 0x418061, 0x0, ...)
/usr/local/go/src/pkg/io/io.go:357 +0xa2
net/http_test.func·106(0xc200674bc0, 0xc201b1a900)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport_test.go:958
+0x9c
net/http.HandlerFunc.ServeHTTP(0x496630, 0xc200674bc0, 0xc201b1a900,
0xc20133b270, 0x719b88, ...)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:739
+0x3b
net/http.(*ServeMux).ServeHTTP(0xc201addc60, 0xc200674bc0, 0xc201b1a900,
0xc20133b270, 0x43cb0d, ...)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:998
+0x61
net/http/httptest.(*waitGroupHandler).ServeHTTP(0xc201ad77a0, 0xc200674bc0,
0xc201b1a900, 0xc20133b270, 0x0, ...)
/usr/local/go/src/pkg/net/http/httptest/server.go:189 +0x8f
net/http.(*conn).serve(0xc201b1cc00, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:702
+0x55d
created by net/http.(*Server).Serve

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/server.go:1126
+0x36d

goroutine 594 [syscall]:
syscall.Syscall6()
/usr/local/go/src/pkg/syscall/asm_freebsd_amd64.s:38 +0x5
syscall.kevent(0x16, 0x0, 0x0, 0xc2000b0c08, 0xa, ...)
/usr/local/go/src/pkg/syscall/zsyscall_freebsd_amd64.go:199 +0x86
syscall.Kevent(0x16, 0x0, 0x0, 0x0, 0xc2000b0c08, ...)
/usr/local/go/src/pkg/syscall/syscall_bsd.go:551 +0x9b
net.(*pollster).WaitFD(0xc2000b0c00, 0xc2009dcc00, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/fd_freebsd.go:91 +0x178
net.(*pollServer).Run(0xc2009dcc00, 0x0)
/usr/local/go/src/pkg/net/fd_unix.go:211 +0xef
created by net.newPollServer
/usr/local/go/src/pkg/net/newpollserver_unix.go:33 +0x367

goroutine 1005 [select]:
net/http.(*persistConn).writeLoop(0xc20029b180, 0x0)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:661
+0x2a6
created by net/http.(*Transport).getConn

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport.go:408
+0x5ed

goroutine 1002 [semacquire]:
sync.runtime_Semacquire(0xc201ac1858, 0xc201ac1858)
/usr/local/go/src/pkg/runtime/zsema_freebsd_amd64.c:165 +0x2e
sync.(*WaitGroup).Wait(0xc200001170, 0x0)
/usr/local/go/src/pkg/sync/waitgroup.go:102 +0xf2
net/http/httptest.(*Server).Close(0xc200001140, 0xc200409410)
/usr/local/go/src/pkg/net/http/httptest/server.go:157 +0x41
net/http_test.TestIssue4191_InfiniteGetToPutTimeout(0xc201a28750,
0xc2275edb80)

/tmp/gobuilder/freebsd-amd64-2788bd8b6b7f/go/src/pkg/net/http/transport_test.go:1006
+0x325
testing.tRunner(0xc201a28750, 0x8f50a0, 0x0, 0x0)
/usr/local/go/src/pkg/testing/testing.go:301 +0x6c
created by testing.RunTests
/usr/local/go/src/pkg/testing/testing.go:377 +0x86e
FAIL net/http 120.045s
ok net/http/cgi 0.233s
ok net/http/fcgi 0.013s
ok net/http/httptest 0.012s
ok net/http/httputil 0.032s
? net/http/pprof [no test files]
ok net/mail 0.009s
ok net/rpc 0.068s
ok net/rpc/jsonrpc 0.015s
ok net/smtp 0.014s
ok net/textproto 0.009s
ok net/url 0.015s
ok old/netchan 0.026s
ok os 0.205s
ok os/exec 0.259s
ok os/signal 0.013s
ok os/user 0.015s
ok path 0.013s
ok path/filepath 0.522s
ok reflect 0.036s
ok regexp 0.081s
ok regexp/syntax 0.432s
ok runtime 1.024s
? runtime/cgo [no test files]
ok runtime/debug 0.020s
ok runtime/pprof 0.365s
ok sort 0.054s
ok strconv 0.289s
ok strings 0.221s
ok sync 0.041s
ok sync/atomic 0.018s
? syscall [no test files]
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.022s
ok text/scanner 0.060s
ok text/tabwriter 0.008s
ok text/template 0.020s
ok text/template/parse 0.016s
ok time 3.917s
ok unicode 0.009s
ok unicode/utf16 0.032s
ok unicode/utf8 0.019s
? unsafe [no test files]

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 27, '12 at 11:38p
activeNov 27, '12 at 11:38p
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase