darwin-amd64-race at 4b7f7eef3fc09f7a595378179ed867f52daea55f :: Running /tmp/buildlet/go/src/make.bash with args ["/tmp/buildlet/go/src/make.bash"] and env ["TERM_PROGRAM=Apple_Terminal" "SHELL=/bin/zsh" "TERM=xterm-256color" "TERM_PROGRAM_VERSION=445" "TERM_SESSION_ID=E45ACCB3-949D-4CFC-88CE-6358B5B04126" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.VDU2mMukyE/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=A8A8552D-6D0A-4919-93CF-00E65072FA9E" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186a6" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-amd64-race" "GOBIN=" "TMPDIR=/tmp/buildlet/tmp" "GOCACHE=/tmp/buildlet/gocache" "PWD=/tmp/buildlet/go/src"] in dir /tmp/buildlet/go/src Building Go cmd/dist using /tmp/buildlet/go1.4. (go1.17.13 darwin/amd64) Building Go toolchain1 using /tmp/buildlet/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for darwin/amd64. --- Installed Go for darwin/amd64 in /tmp/buildlet/go Installed commands in /tmp/buildlet/go/bin :: Running /tmp/buildlet/go/bin/go with args ["/tmp/buildlet/go/bin/go" "install" "-race" "std"] and env ["TERM_PROGRAM=Apple_Terminal" "SHELL=/bin/zsh" "TERM=xterm-256color" "TERM_PROGRAM_VERSION=445" "TERM_SESSION_ID=E45ACCB3-949D-4CFC-88CE-6358B5B04126" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.VDU2mMukyE/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=A8A8552D-6D0A-4919-93CF-00E65072FA9E" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186a6" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-amd64-race" "GOBIN=" "TMPDIR=/tmp/buildlet/tmp" "GOCACHE=/tmp/buildlet/gocache" "PWD=/tmp/buildlet/go/bin"] in dir /tmp/buildlet/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: # GOOS: darwin # OS Version: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64 ##### Testing packages. ok archive/tar 1.581s ok archive/zip 2.316s ok bufio 0.511s ok bytes 4.628s ok compress/bzip2 0.661s ok compress/flate 7.623s ok compress/gzip 15.212s ok compress/lzw 0.860s ok compress/zlib 6.366s ok container/heap 0.055s ok container/list 0.037s ok container/ring 0.050s ok context 0.101s ok crypto 0.081s ok crypto/aes 0.130s ok crypto/cipher 0.068s ok crypto/des 0.089s ok crypto/dsa 0.066s ok crypto/ecdh 0.219s ok crypto/ecdsa 0.159s ok crypto/ed25519 0.470s ok crypto/elliptic 0.062s ok crypto/hmac 0.060s ok crypto/internal/alias 0.028s ok crypto/internal/bigmod 3.484s ok crypto/internal/boring 0.043s ok crypto/internal/boring/bcache 0.407s ok crypto/internal/edwards25519 46.257s ok crypto/internal/edwards25519/field 16.060s ok crypto/internal/nistec 4.271s ok crypto/internal/nistec/fiat 0.059s [no tests to run] ok crypto/md5 0.059s ok crypto/rand 0.385s ok crypto/rc4 0.547s ok crypto/rsa 0.627s ok crypto/sha1 0.072s ok crypto/sha256 0.081s ok crypto/sha512 0.085s ok crypto/subtle 0.397s ok crypto/tls 3.601s ok crypto/x509 1.662s ok database/sql 0.496s ok database/sql/driver 0.062s ok debug/buildinfo 0.118s ok debug/dwarf 0.103s ok debug/elf 1.417s ok debug/gosym 0.141s ok debug/macho 0.073s ok debug/pe 0.117s ok debug/plan9obj 0.103s ok embed 0.103s [no tests to run] ok embed/internal/embedtest 0.116s ok encoding/ascii85 0.139s ok encoding/asn1 0.037s ok encoding/base32 0.215s ok encoding/base64 0.044s ok encoding/binary 0.038s ok encoding/csv 0.108s ok encoding/gob 29.420s ok encoding/hex 0.071s ok encoding/json 2.476s ok encoding/pem 2.798s ok encoding/xml 0.290s ok errors 0.067s ok expvar 0.083s ok flag 0.153s ok fmt 0.757s ok go/ast 0.140s ok go/build 7.285s ok go/build/constraint 0.049s ok go/constant 0.060s ok go/doc 0.389s ok go/doc/comment 5.712s ok go/format 0.321s ok go/importer 1.077s ok go/internal/gccgoimporter 0.163s ok go/internal/gcimporter 5.553s ok go/internal/srcimporter 25.959s ok go/parser 1.222s ok go/printer 2.000s ok go/scanner 0.066s ok go/token 0.141s ok go/types 50.096s ok hash 0.052s ok hash/adler32 0.063s ok hash/crc32 0.065s ok hash/crc64 0.050s ok hash/fnv 0.040s ok hash/maphash 0.058s ok html 0.041s ok html/template 0.425s ok image 0.772s ok image/color 0.152s ok image/draw 0.757s ok image/gif 1.380s ok image/jpeg 1.498s ok image/png 4.164s ok index/suffixarray 1.531s ok internal/abi 37.015s ok internal/buildcfg 0.046s ok internal/coverage/cformat 0.041s ok internal/coverage/cmerge 0.045s ok internal/coverage/pods 0.106s ok internal/coverage/slicereader 0.095s ok internal/coverage/slicewriter 0.097s ok internal/coverage/test 0.091s ok internal/cpu 0.116s ok internal/dag 0.047s ok internal/diff 0.062s ok internal/fmtsort 0.032s ok internal/fuzz 0.059s ok internal/godebug 0.080s ok internal/intern 1.278s ok internal/itoa 0.101s ok internal/poll 0.575s ok internal/profile 0.342s ok internal/reflectlite 0.330s ok internal/safefilepath 0.062s ok internal/saferio 0.251s ok internal/singleflight 0.140s ok internal/testenv 0.055s ok internal/trace 0.428s ok internal/types/errors 1.711s ok internal/unsafeheader 0.050s ok internal/xcoff 0.148s ok io 0.102s ok io/fs 0.285s ok io/ioutil 0.119s ok log 0.093s ok log/syslog 1.321s ok math 0.061s ok math/big 3.235s ok math/bits 0.105s ok math/cmplx 0.088s ok math/rand 2.348s ok mime 0.073s ok mime/multipart 1.741s ok mime/quotedprintable 0.070s ok net 16.692s ================== WARNING: DATA RACE Write at 0x00c001880000 by goroutine 1910: runtime.slicecopy() /tmp/buildlet/go/src/runtime/slice.go:310 +0x0 net/http.(*http2dataBuffer).Read() /tmp/buildlet/go/src/net/http/h2_bundle.go:1105 +0x284 net/http.(*http2pipe).Read() /tmp/buildlet/go/src/net/http/h2_bundle.go:3678 +0x36f net/http.http2transportResponseBody.Read() /tmp/buildlet/go/src/net/http/h2_bundle.go:9470 +0xdb io.discard.ReadFrom() /tmp/buildlet/go/src/io/io.go:645 +0x91 io.(*discard).ReadFrom() :1 +0x4c io.copyBuffer() /tmp/buildlet/go/src/io/io.go:420 +0x1ef io.Copy() /tmp/buildlet/go/src/io/io.go:386 +0x46f net/http_test.testIssue4191_InfiniteGetTimeout() /tmp/buildlet/go/src/net/http/transport_test.go:2255 +0x3f3 net/http_test.run[...].func1() /tmp/buildlet/go/src/net/http/clientserver_test.go:90 +0x18e testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x23a testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Previous read at 0x00c001880000 by goroutine 9880: runtime.slicecopy() /tmp/buildlet/go/src/runtime/slice.go:310 +0x0 net/http.(*http2Framer).WriteDataPadded() /tmp/buildlet/go/src/net/http/h2_bundle.go:2025 +0x4dc net/http.(*http2Framer).WriteData() /tmp/buildlet/go/src/net/http/h2_bundle.go:1985 +0xdc net/http.(*http2writeData).writeFrame() /tmp/buildlet/go/src/net/http/h2_bundle.go:10220 +0x1a net/http.(*http2serverConn).writeFrameAsync() /tmp/buildlet/go/src/net/http/h2_bundle.go:4589 +0x85 net/http.(*http2serverConn).startFrameWrite.func1() /tmp/buildlet/go/src/net/http/h2_bundle.go:5000 +0x6b Goroutine 1910 (running) created at: testing.(*T).Run() /tmp/buildlet/go/src/testing/testing.go:1629 +0x80b net/http_test.run[...]() /tmp/buildlet/go/src/net/http/clientserver_test.go:82 +0x396 net/http_test.TestIssue4191_InfiniteGetTimeout() /tmp/buildlet/go/src/net/http/transport_test.go:2225 +0x3b testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x23a testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Goroutine 9880 (finished) created at: net/http.(*http2serverConn).startFrameWrite() /tmp/buildlet/go/src/net/http/h2_bundle.go:5000 +0x604 net/http.(*http2serverConn).scheduleFrameWrite() /tmp/buildlet/go/src/net/http/h2_bundle.go:5102 +0x3c8 net/http.(*http2serverConn).writeFrame() /tmp/buildlet/go/src/net/http/h2_bundle.go:4955 +0x3c7 net/http.(*http2serverConn).serve() /tmp/buildlet/go/src/net/http/h2_bundle.go:4681 +0x13b1 net/http.(*http2Server).ServeConn() /tmp/buildlet/go/src/net/http/h2_bundle.go:4270 +0x183d net/http.http2ConfigureServer.func1() /tmp/buildlet/go/src/net/http/h2_bundle.go:4060 +0x11e net/http.(*conn).serve() /tmp/buildlet/go/src/net/http/server.go:1892 +0x1c01 net/http.(*Server).Serve.func3() /tmp/buildlet/go/src/net/http/server.go:3078 +0x4f ================== --- FAIL: TestIssue4191_InfiniteGetTimeout (0.02s) --- FAIL: TestIssue4191_InfiniteGetTimeout/h1 (0.07s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportReadToEndReusesConn (0.03s) --- FAIL: TestTransportReadToEndReusesConn/h1 (0.07s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportReadToEndReusesConn/h2 (0.06s) testing.go:1446: race detected during execution of test --- FAIL: TestServerNoDate (0.01s) --- FAIL: TestTransportIDNA (0.00s) --- FAIL: TestServerKeepAlivesEnabledResultClose (0.00s) --- FAIL: TestServerRequestContextCancel_ServeHTTPDone (0.00s) --- FAIL: TestSOCKS5Proxy (0.03s) --- FAIL: TestTransportLimits1xxResponses (0.00s) --- FAIL: TestTimeoutHandlerSuperfluousLogs (0.00s) --- FAIL: TestDisableKeepAliveUpgrade (0.01s) --- FAIL: TestTransportGzipShort (0.02s) --- FAIL: TestTransportIgnore1xxResponses (0.00s) --- FAIL: TestServerContentTypeSniff (0.02s) --- FAIL: TestHandlerPanicWithHijack (0.00s) --- FAIL: TestTransportCancelRequestInDo (0.01s) --- FAIL: TestZeroLengthPostAndResponse (0.01s) --- FAIL: TestTransportMaxIdleConns (0.01s) --- FAIL: TestTransportRejectsInvalidHeaders (0.01s) --- FAIL: TestNoBodyOnChunked304Response (0.01s) --- FAIL: TestTransportResponseBodyWritableOnProtocolSwitch (0.00s) --- FAIL: TestServerUndeclaredTrailers (0.03s) --- FAIL: TestGetBody (0.01s) --- FAIL: TestTransportProxyConnectHeader (0.01s) --- FAIL: TestTimeoutHandlerContextCanceled (0.01s) --- FAIL: TestTimeoutHandlerStartTimerWhenServing (0.00s) --- FAIL: TestTransportRejectsSignInContentLength (0.01s) --- FAIL: TestTransportEventTraceTLSVerify (0.02s) --- FAIL: TestServerSetKeepAlivesEnabledClosesConns (0.00s) --- FAIL: TestIssue32441 (0.00s) --- FAIL: TestTimeoutHandlerRaceHeaderTimeout (0.00s) --- FAIL: TestTransportDiscardsUnneededConns (0.00s) --- FAIL: TestTimeoutHandlerRaceHeader (0.00s) --- FAIL: TestCancelRequestWithChannelBeforeDo_Cancel (0.05s) --- FAIL: TestTimeoutHandlerRace (0.00s) --- FAIL: TestTimeoutHandlerEmptyResponse (0.10s) --- FAIL: TestServerExpect (0.01s) --- FAIL: TestTimeoutHandler (0.00s) --- FAIL: TestTLSServerRejectHTTPRequests (0.00s) --- FAIL: TestTLSServer (0.02s) --- FAIL: TestHeadResponses (0.00s) --- FAIL: TestServerAllowsBlockingRemoteAddr (0.00s) --- FAIL: TestSetsRemoteAddr (0.00s) --- FAIL: TestKeepAliveFinalChunkWithEOF (0.00s) --- FAIL: TestIdentityResponse (0.00s) --- FAIL: TestRequestLimit (0.03s) --- FAIL: TestRequestLimit/h1 (2.71s) testing.go:1446: race detected during execution of test --- FAIL: TestRequestLimit/h2 (2.74s) testing.go:1446: race detected during execution of test --- FAIL: TestWriteDeadlineExtendedOnNewRequest (0.00s) --- FAIL: TestOnlyWriteTimeout (0.00s) --- FAIL: TestTLSHandshakeTimeout (0.00s) --- FAIL: TestServerContexts (0.00s) --- FAIL: TestShouldRedirectConcurrency (0.00s) --- FAIL: TestServeWithSlashRedirectKeepsQueryString (0.00s) --- FAIL: TestServerReadTimeout (0.00s) --- FAIL: TestResponseControllerSetPastWriteDeadline (0.00s) --- FAIL: TestTransportExpect100Continue (0.01s) --- FAIL: TestTransportExpect100Continue/h1 (2.03s) testing.go:1446: race detected during execution of test --- FAIL: TestRequestBodyCloseDoesntBlock (0.00s) --- FAIL: TestHostHandlers (0.00s) --- FAIL: TestCancelRequestWithChannel (0.00s) --- FAIL: TestServerRequestContextCancel_ConnClose (0.00s) --- FAIL: TestUnsupportedTransferEncodingsReturn501 (0.00s) --- FAIL: TestServerWriteTimeout (0.00s) --- FAIL: TestStressSurpriseServerCloses (0.00s) --- FAIL: TestTransportRemovesH2ConnsAfterIdle (0.00s) --- FAIL: TestServerKeepAliveAfterWriteError (0.00s) --- FAIL: TestTransportContentEncodingCaseInsensitive (0.00s) --- FAIL: TestServerTimeouts (0.00s) --- FAIL: TestTransportConnectionCloseOnRequestDisableKeepAlive (0.00s) --- FAIL: TestTransportFlushesRequestHeader (0.00s) --- FAIL: TestTransportRangeAndGzip (0.00s) --- FAIL: TestTransportIssue10457 (0.00s) --- FAIL: TestTransportClosesBodyOnInvalidRequests (0.00s) --- FAIL: TestTransportDialTLS (0.00s) --- FAIL: TestServerEmptyBodyRace (0.01s) --- FAIL: TestContentEncodingNoSniffing (0.00s) --- FAIL: TestResponseControllerSetPastReadDeadline (0.00s) --- FAIL: TestResponseControllerSetFutureReadDeadline (0.00s) --- FAIL: TestTransportKeepAlives (0.00s) --- FAIL: TestTransportReuseConnection_Gzip_ContentLength (0.00s) --- FAIL: TestContentTypeWithVariousSources (0.00s) --- FAIL: TestTransportUserAgent (0.00s) --- FAIL: TestWrappedResponseController (0.00s) --- FAIL: TestConcurrentReadWriteReqBody (0.00s) --- FAIL: TestConnectRequest (0.00s) --- FAIL: TestResponseBodyReadAfterClose (0.00s) --- FAIL: TestTransportGCRequest (0.01s) --- FAIL: TestTrailersServerToClientFlush (0.00s) --- FAIL: TestTrailersServerToClient (0.00s) --- FAIL: TestTransportGzip (0.00s) --- FAIL: TestServerFlushAndHijack (0.00s) --- FAIL: TestTrailersClientToServer (0.00s) --- FAIL: TestCancelRequestMidBody (0.00s) --- FAIL: TestClientTimeoutKillsConn_AfterHeaders (0.00s) --- FAIL: TestResponseControllerSetFutureWriteDeadline (0.00s) --- FAIL: Test304Responses (0.00s) --- FAIL: TestOptionsHandler (0.00s) --- FAIL: TestCancelRequestWhenSharingConnection (0.00s) --- FAIL: TestResponseControllerFlush (0.00s) --- FAIL: TestTransportResponseHeaderTimeout (0.00s) --- FAIL: TestFSRedirect (0.00s) --- FAIL: TestTransportCancelRequestWithBodyInDo (0.00s) --- FAIL: TestServerCancelsReadHeaderTimeoutWhenIdle (0.00s) --- FAIL: TestTransportConnectionCloseOnResponse (0.00s) --- FAIL: TestTransportPrefersResponseOverWriteError (0.00s) --- FAIL: TestTransportRemovesDeadIdleConnections (0.00s) --- FAIL: TestWriteHeaderNoCodeCheck (0.00s) --- FAIL: TestTransportResponseHeaderLength (0.00s) --- FAIL: TestNoPanicOnRoundTripWithBasicAuth (0.00s) --- FAIL: TestConnContextNotModifyingAllContexts (0.00s) --- FAIL: TestRequestRedirect (0.00s) --- FAIL: TestTransportRequestWriteRoundTrip (0.00s) --- FAIL: TestServerShutdown (0.00s) --- FAIL: TestFileServerImplicitLeadingSlash (0.00s) --- FAIL: TestBidiStreamReverseProxy (0.03s) --- FAIL: TestServerContext_ServerContextKey (0.00s) --- FAIL: TestResponseControllerHijack (0.00s) --- FAIL: TestMaxInt64ForMultipartFormMaxMemoryOverflow (0.00s) --- FAIL: TestServerReaderFromOrder (0.00s) --- FAIL: TestProbeZeroLengthBody (0.00s) --- FAIL: TestChunkedResponseHeaders (0.00s) --- FAIL: TestFileServerNotDirError (0.00s) --- FAIL: TestClientDoCanceledVsTimeout (0.00s) --- FAIL: TestTransportBodyReadError (0.00s) --- FAIL: TestNewClientServerTest (0.00s) --- FAIL: TestServeFileRejectsInvalidSuffixLengths (0.00s) --- FAIL: TestServeContentErrorMessages (0.00s) --- FAIL: TestDirectoryIfNotModified (0.00s) --- FAIL: TestFileServerNamesEscape (0.00s) --- FAIL: TestClientCallsCloseOnlyOnce (0.00s) --- FAIL: TestServeIndexHtmlFS (0.00s) --- FAIL: TestClientCopyHostOnRedirect (0.00s) --- FAIL: TestServeFileNotModified (0.00s) --- FAIL: TestServeContent (0.00s) --- FAIL: TestFileServerZeroByte (0.00s) --- FAIL: TestServeIndexHtml (0.00s) --- FAIL: TestServeFileWithContentEncoding (0.00s) --- FAIL: TestClientRedirectEatsBody_h1 (0.00s) --- FAIL: TestClientCopyHeadersOnRedirect (0.00s) --- FAIL: TestClientTimeoutCancel (0.00s) --- FAIL: TestClientAltersCookiesOnRedirect (0.00s) --- FAIL: TestClientTimeoutDoesNotExpire (0.00s) --- FAIL: TestClientTimeout_Headers (0.00s) --- FAIL: TestClientRedirectTypes (0.00s) --- FAIL: TestClientRedirectUseResponse (0.00s) --- FAIL: TestEmptyPasswordAuth (0.00s) --- FAIL: TestClientRedirect308NoGetBody (0.00s) --- FAIL: TestClientHeadContentLength (0.00s) --- FAIL: TestClientHead (0.00s) --- FAIL: TestHTTPSClientDetectsHTTPServer (0.00s) --- FAIL: TestDeleteRedirects (0.00s) --- FAIL: TestClientRedirectsContext (0.00s) --- FAIL: TestPostRedirects (0.00s) --- FAIL: TestClient (0.00s) --- FAIL: TestResponseSetsTLSConnectionState (0.00s) --- FAIL: TestTransportUsesTLSConfigServerName (0.00s) --- FAIL: TestClientWithIncorrectTLSServerName (0.00s) --- FAIL: TestClientWithCorrectTLSServerName (0.00s) --- FAIL: TestClientWrites (0.00s) --- FAIL: TestClientTimeout (0.00s) --- FAIL: TestJarCalls (0.01s) --- FAIL: TestClientInsecureTransport (0.00s) --- FAIL: TestClientRedirects (0.00s) --- FAIL: TestRedirectCookiesJar (0.02s) --- FAIL: TestStreamingGet (0.00s) --- FAIL: TestClientRedirectNoLocation (0.00s) --- FAIL: TestMaxBytesHandler (0.16s) --- FAIL: TestMaxBytesHandler/max_size_100_request_size_100 (0.02s) --- FAIL: TestMaxBytesHandler/max_size_1000_request_size_1000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000000_request_size_1000000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000000_request_size_1000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000_request_size_1000000 (0.01s) --- FAIL: TestMaxBytesHandler/max_size_100_request_size_1000000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000_request_size_100 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_100_request_size_1000 (0.01s) --- FAIL: TestMaxBytesHandler/max_size_1000000_request_size_100 (0.01s) FAIL FAIL net/http 18.476s FAIL go tool dist: Failed: exit status 1