FAQ
Change c93fc4d989ad broke the darwin-amd64 build:
http://build.golang.org/log/c724c181d4bbe13a92fec9bf3a6448e69050f38f

net: fix incorrect internal IPv6 address representation in test

Also fixes a dialgoogle test glitch after issue 6628 fix.

R=golang-codereviews, r
CC=golang-codereviews
https://codereview.appspot.com/50660044

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

$ tail -200 < log

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/testing/testing.go:472
+0x97b
testing.Main(0x44fc90, 0x7f98c0, 0xae, 0xae, 0x7f28c0, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/testing/testing.go:403
+0x8c
main.main()
  /Volumes/ramdisk/tmp/go-build929856120/net/http/_test/_testmain.go:431
+0x9c

goroutine 745 [chan receive]:
net/http.(*persistConn).readLoop(0xc21027e600)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:778
+0x6a2
created by net/http.(*Transport).dialConn

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:528
+0x696

goroutine 741 [IO wait]:
net.runtime_pollWait(0x95b9e8, 0x72, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/netpoll.goc:116
+0x6a
net.(*pollDesc).Wait(0xc21051bbc0, 0x72, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:81
+0x34
net.(*pollDesc).WaitRead(0xc21051bbc0, 0x23, 0x9592b0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:86
+0x30
net.(*netFD).Read(0xc21051bb60, 0xc210767000, 0x1000, 0x1000, 0x0, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_unix.go:214
+0x308
net.(*conn).Read(0xc2108c5c60, 0xc210767000, 0x1000, 0x1000, 0x976b28, ...)
  /private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/net.go:122
+0xc5
bufio.(*Reader).fill(0xc2102467e0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/bufio/bufio.go:91
+0x138
bufio.(*Reader).Peek(0xc2102467e0, 0x1, 0x1, 0x0, 0xc210001120, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/bufio/bufio.go:119
+0xcb
net/http.(*persistConn).readLoop(0xc21027e500)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:687
+0xb7
created by net/http.(*Transport).dialConn

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:528
+0x696

goroutine 737 [IO wait]:
net.runtime_pollWait(0x95b748, 0x72, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/netpoll.goc:116
+0x6a
net.(*pollDesc).Wait(0xc21051b7d0, 0x72, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:81
+0x34
net.(*pollDesc).WaitRead(0xc21051b7d0, 0x23, 0x9592b0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:86
+0x30
net.(*netFD).accept(0xc21051b770, 0x450168, 0x0, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_unix.go:392
+0x314
net.(*TCPListener).AcceptTCP(0xc2108c5b68, 0x1b839, 0x7fd6d0, 0xc2100b0120)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/tcpsock_posix.go:233
+0x47
net.(*TCPListener).Accept(0xc2108c5b68, 0x9d5f98, 0x1b683, 0x4501b0,
0x9d9ed8)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/tcpsock_posix.go:243
+0x27
net/http/httptest.(*historyListener).Accept(0xc21083ca50, 0x0, 0x0, 0x0,
0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/httptest/server.go:48
+0x56
net/http.(*Server).Serve(0xc2108d2a50, 0x95ba90, 0xc21083ca50, 0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1625
+0x91
created by net/http/httptest.(*Server).Start

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/httptest/server.go:109
+0x2a6

goroutine 257 [finalizer wait]:
runtime.park(0xd770, 0x7fbb40, 0x7f67d2)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/proc.c:1341
+0x66
runfinq()

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/mgc0.c:2437
+0x84
runtime.goexit()

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/proc.c:1393

goroutine 744 [chan receive]:
net/http_test.func·114(0x95bc90, 0xc21033c500, 0xc2107729c0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/serve_test.go:2107
+0xce
net/http.HandlerFunc.ServeHTTP(0xc210557e70, 0x95bc90, 0xc21033c500,
0xc2107729c0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1223
+0x40
net/http/httptest.(*waitGroupHandler).ServeHTTP(0xc2108bda00, 0x95bc90,
0xc21033c500, 0xc2107729c0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/httptest/server.go:200
+0xa3
net/http.serverHandler.ServeHTTP(0xc2108d2a50, 0x95bc90, 0xc21033c500,
0xc2107729c0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1600
+0x16d
net/http.(*conn).serve(0xc21027e580)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1163
+0x7f3
created by net/http.(*Server).Serve

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1647
+0x29b

goroutine 740 [sleep]:
time.Sleep(0x1dcd6500)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/time.goc:31
+0x31
net/http.(*conn).closeWriteAndWait(0xc21027e480)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1068
+0x75
net/http.(*conn).serve(0xc21027e480)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1170
+0x859
created by net/http.(*Server).Serve

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1647
+0x29b

goroutine 736 [select]:
net/http.(*persistConn).roundTrip(0xc21027e500, 0xc210557ef0, 0xc21027e500,
0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:879
+0x73a
net/http.(*Transport).RoundTrip(0xc210057000, 0xc210772680, 0x4, 0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:187
+0x45f
net/http.send(0xc210772680, 0x9596a8, 0xc210057000, 0x0, 0x0, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/client.go:168
+0x3e6
net/http.(*Client).send(0x7fd100, 0xc210772680, 0x16, 0x30, 0xc20ffaa810)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/client.go:100
+0xd9
net/http.(*Client).doFollowingRedirects(0x7fd100, 0xc210772680, 0x450528,
0x0, 0x0, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/client.go:294
+0x76b
net/http.(*Client).Do(0x7fd100, 0xc210772680, 0xc2108bdb00, 0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/client.go:132
+0x157
net/http_test.TestTransportAndServerSharedBodyRace(0xc21027cbd0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/serve_test.go:2140
+0x373
testing.tRunner(0xc21027cbd0, 0x7fa538)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/testing/testing.go:391
+0x8b
created by testing.RunTests

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/testing/testing.go:471
+0x958

goroutine 738 [IO wait]:
net.runtime_pollWait(0x95b940, 0x72, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/netpoll.goc:116
+0x6a
net.(*pollDesc).Wait(0xc21051b920, 0x72, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:81
+0x34
net.(*pollDesc).WaitRead(0xc21051b920, 0x23, 0x9592b0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:86
+0x30
net.(*netFD).accept(0xc21051b8c0, 0x450168, 0x0, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_unix.go:392
+0x314
net.(*TCPListener).AcceptTCP(0xc2108c5ba8, 0x1b839, 0x7fd6d0, 0xc2100b0360)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/tcpsock_posix.go:233
+0x47
net.(*TCPListener).Accept(0xc2108c5ba8, 0x9d3f98, 0x1b683, 0x4501b0,
0x9cded8)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/tcpsock_posix.go:243
+0x27
net/http/httptest.(*historyListener).Accept(0xc21083cae0, 0x0, 0x0, 0x0,
0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/httptest/server.go:48
+0x56
net/http.(*Server).Serve(0xc2108d2af0, 0x95ba90, 0xc21083cae0, 0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/server.go:1625
+0x91
created by net/http/httptest.(*Server).Start

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/httptest/server.go:109
+0x2a6

goroutine 742 [runnable]:
net.runtime_pollWait(0x95b9e8, 0x77, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/netpoll.goc:116
+0x6a
net.(*pollDesc).Wait(0xc21051bbc0, 0x77, 0x9592b0, 0x23)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:81
+0x34
net.(*pollDesc).WaitWrite(0xc21051bbc0, 0x23, 0x9592b0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_poll_runtime.go:90
+0x30
net.(*netFD).Write(0xc21051bb60, 0xc21070dff8, 0x7008, 0x7008, 0x2eec, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/fd_unix.go:307
+0x46b
net.(*conn).Write(0xc2108c5c60, 0xc21070dff8, 0x7008, 0x7008, 0x0, ...)
  /private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/net.go:130
+0xc5
bufio.(*Writer).Write(0xc210881300, 0xc21070dff8, 0x7008, 0x7008,
0xff8, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/bufio/bufio.go:526
+0xb7
net/http.(*chunkedWriter).Write(0xc210557fe0, 0xc21070d000, 0x8000, 0x8000,
0x8000, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/chunked.go:150
+0x1b6
io.Copy(0x95a098, 0xc210557fe0, 0x95a218, 0xc2108bde20, 0xd8001, ...)
  /private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/io/io.go:354
+0x24a
net/http.(*transferWriter).WriteBody(0xc21051bf50, 0x95bbc8, 0xc210881300,
0x0, 0x0)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transfer.go:190
+0x1aa
net/http.(*Request).write(0xc210772680, 0x95bbc8, 0xc210881300, 0x7000,
0xc21083cd50, ...)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/request.go:401
+0x88d
net/http.(*persistConn).writeLoop(0xc21027e500)

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:797
+0x1c7
created by net/http.(*Transport).dialConn

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/net/http/transport.go:529
+0x6ad

goroutine 254 [syscall]:
runtime.goexit()

/private/tmp/gobuilder/darwin-amd64-c93fc4d989ad/go/src/pkg/runtime/proc.c:1393
FAIL net/http 2.725s
ok net/http/cgi 0.488s
ok net/http/cookiejar 0.025s
ok net/http/fcgi 0.025s
ok net/http/httptest 0.041s
ok net/http/httputil 0.080s
? net/http/pprof [no test files]
ok net/mail 0.022s
ok net/rpc 0.034s
ok net/rpc/jsonrpc 0.030s
ok net/smtp 0.024s
ok net/textproto 0.021s
ok net/url 0.022s
ok os 0.584s
ok os/exec 0.784s
ok os/signal 0.463s
ok os/user 0.019s
ok path 0.019s
ok path/filepath 0.046s
ok reflect 0.075s
ok regexp 0.097s
ok regexp/syntax 0.754s
ok runtime 9.728s
? runtime/cgo [no test files]
ok runtime/debug 0.020s
ok runtime/pprof 7.839s
? runtime/race [no test files]
ok sort 0.185s
ok strconv 0.411s
ok strings 0.164s
ok sync 0.067s
ok sync/atomic 0.048s
ok syscall 0.040s
ok testing 0.021s
? testing/iotest [no test files]
ok testing/quick 0.045s
ok text/scanner 0.021s
ok text/tabwriter 0.022s
ok text/template 0.062s
ok text/template/parse 0.025s
ok time 2.421s
ok unicode 0.021s
ok unicode/utf16 0.019s
ok unicode/utf8 0.021s
? unsafe [no test files]
Build complete, duration 2m10.955663009s. Result: error: exit status 1

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 13, '14 at 10:41p
activeJan 13, '14 at 10:41p
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase