linux-amd64-race at ab0f0459da302a2c81c4c11a7b9b4387c15a7aa0 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rn00e7f61" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=2s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/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 linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rn00e7f61" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=2s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.65+ #1 SMP Sat Jan 21 10:12:05 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.287s ok archive/zip 2.457s ok bufio 0.315s ok bytes 4.406s ok compress/bzip2 0.468s ok compress/flate 5.724s ok compress/gzip 11.622s ok compress/lzw 0.552s ok compress/zlib 4.765s ok container/heap 0.042s ok container/list 0.033s ok container/ring 0.032s ok context 0.047s ok crypto 0.033s ok crypto/aes 0.072s ok crypto/cipher 0.062s ok crypto/des 0.062s ok crypto/dsa 0.033s ok crypto/ecdh 0.194s ok crypto/ecdsa 0.143s ok crypto/ed25519 0.385s ok crypto/elliptic 0.062s ok crypto/hmac 0.042s ok crypto/internal/alias 0.031s ok crypto/internal/bigmod 2.396s ok crypto/internal/boring 0.031s ok crypto/internal/boring/bcache 0.350s ok crypto/internal/edwards25519 35.970s ok crypto/internal/edwards25519/field 12.716s ok crypto/internal/nistec 3.621s ok crypto/internal/nistec/fiat 0.031s [no tests to run] ok crypto/md5 0.044s ok crypto/rand 0.434s ok crypto/rc4 0.473s ok crypto/rsa 0.497s ok crypto/sha1 0.052s ok crypto/sha256 0.042s ok crypto/sha512 0.043s ok crypto/subtle 0.437s ok crypto/tls 1.543s ok crypto/x509 1.124s ok database/sql 0.347s ok database/sql/driver 0.031s ok debug/buildinfo 0.052s ok debug/dwarf 0.093s ok debug/elf 1.282s ok debug/gosym 0.346s ok debug/macho 0.052s ok debug/pe 0.063s ok debug/plan9obj 0.031s ok embed 0.032s [no tests to run] ok embed/internal/embedtest 0.031s ok encoding/ascii85 0.041s ok encoding/asn1 0.041s ok encoding/base32 0.084s ok encoding/base64 0.041s ok encoding/binary 0.041s ok encoding/csv 0.073s ok encoding/gob 17.399s ok encoding/hex 0.043s ok encoding/json 1.270s ok encoding/pem 2.483s ok encoding/xml 0.249s ok errors 0.042s ok expvar 0.032s ok flag 0.155s ok fmt 0.588s ok go/ast 0.042s ok go/build 4.040s ok go/build/constraint 0.042s ok go/constant 0.042s ok go/doc 0.265s ok go/doc/comment 2.182s ok go/format 0.063s ok go/importer 0.184s ok go/internal/gccgoimporter 0.061s ok go/internal/gcimporter 1.018s ok go/internal/srcimporter 13.558s ok go/parser 0.895s ok go/printer 1.301s ok go/scanner 0.042s ok go/token 0.134s ok go/types 33.109s ok hash 0.042s ok hash/adler32 0.052s ok hash/crc32 0.073s ok hash/crc64 0.041s ok hash/fnv 0.031s ok hash/maphash 0.032s ok html 0.041s ok html/template 0.234s ok image 0.426s ok image/color 0.052s ok image/draw 0.578s ok image/gif 0.913s ok image/jpeg 1.270s ok image/png 3.080s ok index/suffixarray 0.950s ok internal/abi 19.098s ok internal/buildcfg 0.031s ok internal/coverage/cformat 0.031s ok internal/coverage/cmerge 0.031s ok internal/coverage/pods 0.030s ok internal/coverage/slicereader 0.030s ok internal/coverage/slicewriter 0.030s ok internal/coverage/test 0.062s ok internal/cpu 0.093s ok internal/dag 0.032s ok internal/diff 0.040s ok internal/fmtsort 0.030s ok internal/fuzz 0.053s ok internal/godebug 0.030s ok internal/intern 0.217s ok internal/itoa 0.031s ok internal/poll 0.528s ok internal/profile 0.032s ok internal/reflectlite 0.286s ok internal/safefilepath 0.031s ok internal/saferio 0.183s ok internal/singleflight 0.113s ok internal/testenv 0.031s ok internal/trace 0.195s ok internal/types/errors 0.365s ok internal/unsafeheader 0.031s ok internal/xcoff 0.051s ok io 0.073s ok io/fs 0.264s ok io/ioutil 0.041s ok log 0.043s ok log/syslog 1.259s ok math 0.041s ok math/big 3.070s ok math/bits 0.042s ok math/cmplx 0.033s ok math/rand 2.071s ok mime 0.054s ok mime/multipart 1.508s ok mime/quotedprintable 0.063s ok net 10.320s ================== WARNING: DATA RACE Write at 0x00c0013e2000 by goroutine 1926: runtime.slicecopy() /workdir/go/src/runtime/slice.go:310 +0x0 net/http.(*http2dataBuffer).Read() /workdir/go/src/net/http/h2_bundle.go:1105 +0x284 net/http.(*http2pipe).Read() /workdir/go/src/net/http/h2_bundle.go:3678 +0x36f net/http.http2transportResponseBody.Read() /workdir/go/src/net/http/h2_bundle.go:9470 +0xdb io.discard.ReadFrom() /workdir/go/src/io/io.go:645 +0x91 io.(*discard).ReadFrom() :1 +0x4c io.copyBuffer() /workdir/go/src/io/io.go:420 +0x1ef io.Copy() /workdir/go/src/io/io.go:386 +0x46f net/http_test.testIssue4191_InfiniteGetTimeout() /workdir/go/src/net/http/transport_test.go:2255 +0x3f3 net/http_test.run[...].func1() /workdir/go/src/net/http/clientserver_test.go:90 +0x18e testing.tRunner() /workdir/go/src/testing/testing.go:1576 +0x23a testing.(*T).Run.func1() /workdir/go/src/testing/testing.go:1629 +0x44 Previous read at 0x00c0013e2000 by goroutine 6137: runtime.slicecopy() /workdir/go/src/runtime/slice.go:310 +0x0 net/http.(*http2Framer).WriteDataPadded() /workdir/go/src/net/http/h2_bundle.go:2025 +0x4dc net/http.(*http2Framer).WriteData() /workdir/go/src/net/http/h2_bundle.go:1985 +0xdc net/http.(*http2writeData).writeFrame() /workdir/go/src/net/http/h2_bundle.go:10220 +0x1a net/http.(*http2serverConn).writeFrameAsync() /workdir/go/src/net/http/h2_bundle.go:4589 +0x85 net/http.(*http2serverConn).startFrameWrite.func1() /workdir/go/src/net/http/h2_bundle.go:5000 +0x6b Goroutine 1926 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1629 +0x80b net/http_test.run[...]() /workdir/go/src/net/http/clientserver_test.go:82 +0x396 net/http_test.TestIssue4191_InfiniteGetTimeout() /workdir/go/src/net/http/transport_test.go:2225 +0x3b testing.tRunner() /workdir/go/src/testing/testing.go:1576 +0x23a testing.(*T).Run.func1() /workdir/go/src/testing/testing.go:1629 +0x44 Goroutine 6137 (finished) created at: net/http.(*http2serverConn).startFrameWrite() /workdir/go/src/net/http/h2_bundle.go:5000 +0x604 net/http.(*http2serverConn).scheduleFrameWrite() /workdir/go/src/net/http/h2_bundle.go:5102 +0x3c8 net/http.(*http2serverConn).writeFrame() /workdir/go/src/net/http/h2_bundle.go:4955 +0x3c7 net/http.(*http2serverConn).serve() /workdir/go/src/net/http/h2_bundle.go:4681 +0x13b1 net/http.(*http2Server).ServeConn() /workdir/go/src/net/http/h2_bundle.go:4270 +0x183d net/http.http2ConfigureServer.func1() /workdir/go/src/net/http/h2_bundle.go:4060 +0x11e net/http.(*conn).serve() /workdir/go/src/net/http/server.go:1892 +0x1c01 net/http.(*Server).Serve.func3() /workdir/go/src/net/http/server.go:3078 +0x4f ================== --- FAIL: TestIssue4191_InfiniteGetTimeout (0.00s) --- FAIL: TestIssue4191_InfiniteGetTimeout/h2 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestServerShutdown (0.00s) --- FAIL: TestServerShutdown/h1 (0.08s) testing.go:1446: race detected during execution of test --- FAIL: TestServerShutdown/h2 (0.08s) testing.go:1446: race detected during execution of test --- FAIL: TestHeadResponses (0.00s) --- FAIL: TestHeadResponses/h1 (0.03s) testing.go:1446: race detected during execution of test --- FAIL: TestHeadResponses/h2 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestNoContentLengthIfTransferEncoding (0.00s) --- FAIL: TestIssue3644 (0.00s) --- FAIL: TestIssue3644/h2 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestIssue3644/h1 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportResponseHeaderTimeout (0.01s) --- FAIL: TestTimeoutHandler (0.01s) --- FAIL: TestTimeoutHandler/h2 (0.05s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportPersistConnContextLeakMaxConnsPerHost (0.00s) --- FAIL: TestServerConnState (0.00s) --- FAIL: TestIssue3595 (0.00s) --- FAIL: TestTransportIdleConnCrash (0.00s) --- FAIL: TestSetsRemoteAddr (0.00s) --- FAIL: TestTransportSocketLateBinding (0.00s) --- FAIL: TestTransportSocketLateBinding/h1 (0.26s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportSocketLateBinding/h2 (0.24s) testing.go:1446: race detected during execution of test --- FAIL: TestIssue4191_InfiniteGetToPutTimeout (0.00s) --- FAIL: TestHTTP10ConnectionHeader (0.00s) --- FAIL: TestSOCKS5Proxy (0.00s) --- FAIL: TestTransportServerClosingUnexpectedly (0.00s) --- FAIL: TestServerValidatesHeaders (1.07s) testing.go:1446: race detected during execution of test --- FAIL: TestHijackAfterCloseNotifier (0.00s) --- FAIL: TestOptionsHandler (0.00s) --- FAIL: TestTransportGzip (0.00s) --- FAIL: TestTransportRequestWriteRoundTrip (0.00s) --- FAIL: TestTransportRequestWriteRoundTrip/h1 (0.33s) --- FAIL: TestTransportRequestWriteRoundTrip/h1/file,_negative_length (0.05s) testing.go:1446: race detected during execution of test testing.go:1446: race detected during execution of test --- FAIL: TestTransportRequestWriteRoundTrip/h2 (0.39s) --- FAIL: TestTransportRequestWriteRoundTrip/h2/file,_negative_length (0.04s) testing.go:1446: race detected during execution of test testing.go:1446: race detected during execution of test --- FAIL: TestTransportGzipRecursive (0.00s) --- FAIL: TestTransportMaxPerHostIdleConns (0.00s) --- FAIL: TestServerEmptyBodyRace (0.00s) --- FAIL: TestCloseNotifier (0.00s) --- FAIL: TestTLSServerRejectHTTPRequests (0.01s) --- FAIL: TestTransportGzipShort (0.00s) --- FAIL: TestIdentityResponse (0.00s) --- FAIL: TestOptions (0.00s) --- FAIL: TestTransportRespectRequestWantsClose (0.00s) --- FAIL: TestTransportConnectionCloseOnRequest (0.00s) --- FAIL: TestRoundTripGzip (0.00s) --- FAIL: TestTransportConnectionCloseOnRequestDisableKeepAlive (0.00s) --- FAIL: TestTransportPersistConnLeakNeverIdle (0.00s) --- FAIL: TestServerReaderFromOrder (0.00s) --- FAIL: TestServerNoDate (0.00s) --- FAIL: TestTransportHeadResponses (0.00s) --- FAIL: TestOnlyWriteTimeout (0.00s) --- FAIL: TestCaseSensitiveMethod (0.00s) --- FAIL: TestTransportAndServerSharedBodyRace (0.00s) --- FAIL: TestHijackBeforeRequestBodyRead (0.00s) --- FAIL: TestStripPrefix (0.00s) --- FAIL: TestTransportConnectionCloseOnResponse (0.00s) --- FAIL: TestHeadBody (0.00s) --- FAIL: TestServerHandlersCanHandleH2PRI (0.00s) --- FAIL: TestCloseNotifierPipelined (0.00s) --- FAIL: TestServerWriteHijackZeroBytes (0.00s) --- FAIL: TestResponseControllerSetPastReadDeadline (0.00s) --- FAIL: TestRequestRedirect (0.00s) --- FAIL: TestGetBody (0.00s) --- FAIL: TestMaxInt64ForMultipartFormMaxMemoryOverflow (0.00s) --- FAIL: TestTransportRemovesDeadIdleConnections (0.01s) --- FAIL: TestServerWriteTimeout (0.00s) --- FAIL: TestFSRedirect (0.00s) --- FAIL: TestResponseControllerSetPastWriteDeadline (0.00s) --- FAIL: TestBadResponseAfterReadingBody (0.00s) --- FAIL: TestServerIdleTimeout (0.00s) --- FAIL: TestWriteHeader0 (0.00s) --- FAIL: TestNoPanicOnRoundTripWithBasicAuth (0.00s) --- FAIL: TestTransportMaxConnsPerHost (0.01s) --- FAIL: TestNoSniffExpectRequestBody (0.00s) --- FAIL: TestServerUndeclaredTrailers (0.00s) --- FAIL: TestClientWriteShutdown (0.00s) --- FAIL: TestServeContentErrorMessages (0.00s) --- FAIL: TestFileServerNotDirError (0.00s) --- FAIL: TestCloseIdleConnections (0.00s) --- FAIL: TestWriteHeaderNoCodeCheck (0.00s) --- FAIL: TestFileServerNamesEscape (0.00s) --- FAIL: TestSniffWriteSize (0.01s) --- FAIL: TestTLSHandshakeTimeout (0.00s) --- FAIL: TestFileServerZeroByte (0.00s) --- FAIL: TestServeFileMimeType (0.00s) --- FAIL: TestTransportUserAgent (0.00s) --- FAIL: TestServeIndexHtmlFS (0.00s) --- FAIL: TestConnectRequest (0.00s) --- FAIL: TestServeFileWithContentEncoding (0.00s) --- FAIL: TestServeFileContentType (0.00s) --- FAIL: TestBidiStreamReverseProxy (0.00s) --- FAIL: TestFileServerMethodOptions (0.00s) --- FAIL: TestServeDirWithoutTrailingSlash (0.00s) --- FAIL: TestFileServerSortsNames (0.00s) --- FAIL: TestServerKeepAliveAfterWriteError (0.03s) --- FAIL: TestTransportDiscardsUnneededConns (0.00s) --- FAIL: TestTransportRejectsInvalidHeaders (0.00s) --- FAIL: TestFileServerImplicitLeadingSlash (0.00s) --- FAIL: TestServerAllowsBlockingRemoteAddr (0.00s) --- FAIL: TestTransportIgnore1xxResponses (0.00s) --- FAIL: TestServeFile (0.00s) --- FAIL: TestIdentityTransferEncoding (0.02s) --- FAIL: TestTransportIdleCacheKeys (0.00s) --- FAIL: TestConcurrentReadWriteReqBody (0.03s) --- FAIL: TestHandlerSetsBodyNil (0.03s) --- FAIL: TestParseFormCleanup (0.00s) --- FAIL: TestStressSurpriseServerCloses (0.03s) --- FAIL: TestFileServerEscapesNames (0.03s) --- FAIL: TestHandlerBodyClose (2.02s) testing.go:1446: race detected during execution of test --- FAIL: TestTrailersServerToClient (0.00s) --- FAIL: TestTransportGCRequest (0.00s) --- FAIL: TestServeIndexHtml (0.00s) --- FAIL: TestTrailersServerToClientFlush (0.03s) --- FAIL: Test304Responses (0.00s) --- FAIL: TestTimeoutHandlerRaceHeader (0.00s) --- FAIL: TestServeFileFromCWD (0.00s) --- FAIL: TestClientTimeout (0.00s) --- FAIL: TestServeFileNotModified (0.00s) --- FAIL: TestTransportProxyDialDoesNotMutateProxyConnectHeader (0.00s) --- FAIL: TestServeContent (0.01s) --- FAIL: TestClientDoCanceledVsTimeout (0.00s) --- FAIL: TestTransportClosesBodyOnError (0.00s) --- FAIL: TestTimeoutHandlerContextCanceled (0.00s) --- FAIL: TestTransportBodyReadError (0.00s) --- FAIL: TestServeFileRejectsInvalidSuffixLengths (0.00s) --- FAIL: TestClientRedirect308NoGetBody (0.00s) --- FAIL: TestEmptyPasswordAuth (0.00s) --- FAIL: TestClientHeadContentLength (0.00s) --- FAIL: TestClientRedirectTypes (0.00s) --- FAIL: TestNewClientServerTest (0.00s) --- FAIL: TestCancelRequestWithChannelBeforeDo_Cancel (0.00s) --- FAIL: TestClientAltersCookiesOnRedirect (0.00s) --- FAIL: TestCancelRequestMidBody (0.00s) --- FAIL: TestProbeZeroLengthBody (0.00s) --- FAIL: TestTransportReadToEndReusesConn (0.00s) --- FAIL: TestClientCopyHostOnRedirect (0.00s) --- FAIL: TestContentLengthZero (0.00s) --- FAIL: TestReadResponseCloseInMiddle (2.05s) testing.go:1446: race detected during execution of test --- FAIL: TestServerHijackGetsBackgroundByte (0.00s) --- FAIL: TestTransportMaxConnsPerHostIncludeDialInProgress (0.00s) --- FAIL: TestClientRedirectUseResponse (0.00s) --- FAIL: TestClientRedirectsContext (0.00s) --- FAIL: TestChunkedResponseHeaders (0.00s) --- FAIL: TestTransportDialTLSContext (0.00s) --- FAIL: TestTransportKeepAlives (0.00s) --- FAIL: TestClient (0.00s) --- FAIL: TestServeWithSlashRedirectKeepsQueryString (0.00s) --- FAIL: TestReuseRequest (0.00s) --- FAIL: TestDeleteRedirects (0.00s) --- FAIL: TestWriteDeadlineExtendedOnNewRequest (0.00s) --- FAIL: TestPostRedirects (0.00s) --- FAIL: TestRequestBodyLimit (0.00s) --- FAIL: TestServerContentType (0.00s) --- FAIL: TestWrappedResponseController (0.00s) --- FAIL: TestResponseControllerSetFutureReadDeadline (0.00s) --- FAIL: TestShouldRedirectConcurrency (0.00s) --- FAIL: TestHostHandlers (0.00s) --- FAIL: TestClientCallsCloseOnlyOnce (0.00s) --- FAIL: TestServerIssue5953 (0.00s) --- FAIL: TestServerContentTypeSniff (0.00s) --- FAIL: TestTransportRejectsSignInContentLength (0.00s) --- FAIL: TestServerRequestContextCancel_ConnClose (0.00s) --- FAIL: TestResponseControllerSetFutureWriteDeadline (0.00s) --- FAIL: TestResponseControllerHijack (0.00s) --- FAIL: TestContentTypeWithVariousSources (0.00s) --- FAIL: TestTLSServer (0.00s) --- FAIL: TestServerRequestContextCancel_ServeHTTPDone (0.00s) --- FAIL: TestTransportClosesRequestBody (0.00s) --- FAIL: TestTransportExpect100Continue (0.00s) --- FAIL: TestTransportCancelRequest (0.00s) --- FAIL: TestServerReadTimeout (0.00s) --- FAIL: TestTransportCloseResponseBody (0.00s) --- FAIL: TestTimeoutHandlerRace (0.00s) --- FAIL: TestServerKeepAlivesEnabledResultClose (0.00s) --- FAIL: TestServerContext_ServerContextKey (0.00s) --- FAIL: TestDirectoryIfNotModified (0.00s) --- FAIL: TestServerContext_LocalAddrContextKey (0.00s) --- FAIL: TestEarlyHintsRequest (0.00s) --- FAIL: TestServerTimeouts (0.00s) --- FAIL: TestResponseBodyReadAfterClose (0.00s) --- FAIL: TestServerCancelsReadHeaderTimeoutWhenIdle (0.00s) --- FAIL: TestTrailersClientToServer (0.00s) --- FAIL: TestClientRedirectEatsBody_h1 (0.00s) --- FAIL: TestRequestBodyCloseDoesntBlock (0.00s) --- FAIL: TestServerCancelsReadTimeoutWhenIdle (0.00s) --- FAIL: TestClientTimeoutDoesNotExpire (0.00s) --- FAIL: TestClientCopyHeadersOnRedirect (0.00s) --- FAIL: TestClientTimeout_Headers (0.00s) --- FAIL: TestClientHead (0.00s) --- FAIL: TestClientTimeoutCancel (0.00s) --- FAIL: TestJarCalls (0.00s) --- FAIL: TestClientWrites (0.00s) --- FAIL: TestContentEncodingNoSniffing (0.00s) --- FAIL: TestTransportUsesTLSConfigServerName (0.00s) --- FAIL: TestClientWithIncorrectTLSServerName (0.00s) --- FAIL: TestResponseSetsTLSConnectionState (0.00s) --- FAIL: TestHTTPSClientDetectsHTTPServer (0.00s) --- FAIL: TestStreamingGet (0.00s) --- FAIL: TestClientWithCorrectTLSServerName (0.00s) --- FAIL: TestClientRedirects (0.00s) --- FAIL: TestRedirectCookiesJar (0.00s) --- FAIL: TestClientInsecureTransport (0.00s) --- FAIL: TestServerGracefulClose (0.00s) --- FAIL: TestOmitHTTP2Vet (3.46s) testing.go:1446: race detected during execution of test --- FAIL: TestClientRedirectNoLocation (0.00s) --- FAIL: TestMaxBytesHandler (0.00s) --- FAIL: TestTLSServerClosesConnection (0.00s) --- FAIL: TestRequestLimit (0.00s) FAIL FAIL net/http 6.834s FAIL go tool dist: Failed: exit status 1