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
https://storage.googleapis.com/go-build-log/7b8a05da/linux-amd64-race_7029367f.log
================== WARNING: DATA RACE Write at 0x000000f00218 by goroutine 1479: net/http.SetReadLoopBeforeNextReadHook() /workdir/go/src/net/http/export_test.go:76 +0x29e net/http_test.testIdleConnChannelLeak() /workdir/go/src/net/http/transport_test.go:3189 +0x1dd net/http_test.run[...].func1() /workdir/go/src/net/http/clientserver_test.go:90 +0x194 testing.tRunner() /workdir/go/src/testing/testing.go:1579 +0x238 testing.(*T).Run.func1() /workdir/go/src/testing/testing.go:1632 +0x44 Previous read at 0x000000f00218 by goroutine 1457: net/http.(*persistConn).readLoop() /workdir/go/src/net/http/transport.go:2108 +0x18f net/http.(*Transport).dialConn.func5() /workdir/go/src/net/http/transport.go:1772 +0x33 Goroutine 1479 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1632 +0x835 net/http_test.run[...]() /workdir/go/src/net/http/clientserver_test.go:82 +0x390 net/http_test.TestIdleConnChannelLeak() /workdir/go/src/net/http/transport_test.go:3174 +0xea testing.tRunner() /workdir/go/src/testing/testing.go:1579 +0x238 testing.(*T).Run.func1() /workdir/go/src/testing/testing.go:1632 +0x44 Goroutine 1457 (finished) created at: net/http.(*Transport).dialConn() /workdir/go/src/net/http/transport.go:1772 +0x24d9 net/http.(*Transport).dialConnFor() /workdir/go/src/net/http/transport.go:1463 +0x129 net/http.(*Transport).queueForDial.func1() /workdir/go/src/net/http/transport.go:1432 +0x44 ================== --- FAIL: TestIdleConnChannelLeak (0.01s) --- FAIL: TestIdleConnChannelLeak/h1 (0.01s) testing.go:1449: race detected during execution of test testing.go:1449: race detected during execution of test FAIL FAIL net/http 7.010s FAIL
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/471555 mentions this issue: net/http: fix race condition with testHookReadLoopBeforeNextRead
net/http: fix race condition with testHookReadLoopBeforeNextRead
Sorry, something went wrong.
Trybot example: https://storage.googleapis.com/go-build-log/f681ace5/linux-amd64-race_3e2d88ba.log
cuonglm
No branches or pull requests
https://storage.googleapis.com/go-build-log/7b8a05da/linux-amd64-race_7029367f.log
The text was updated successfully, but these errors were encountered: