windows-amd64-race at a17d959debdb04cd550016a3501dd09d50cd62e7 :: Running C:\workdir\go\src\make.bat with args ["C:\\workdir\\go\\src\\make.bat"] and env ["GOBUILDEXIT=1" "=C:=C:\\golang" "ALLUSERSPROFILE=C:\\ProgramData" "APPDATA=C:\\Users\\gopher\\AppData\\Roaming" "CommonProgramFiles=C:\\Program Files\\Common Files" "CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files" "CommonProgramW6432=C:\\Program Files\\Common Files" "COMPUTERNAME=SERVER-2016-V8-" "ComSpec=C:\\Windows\\system32\\cmd.exe" "GooGetRoot=C:\\ProgramData\\GooGet" "HOMEDRIVE=C:" "HOMEPATH=\\Users\\gopher" "LOCALAPPDATA=C:\\Users\\gopher\\AppData\\Local" "LOGONSERVER=\\\\SERVER-2016-V8-" "NUMBER_OF_PROCESSORS=8" "OS=Windows_NT" "PATH=C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\ProgramData\\GooGet;C:\\Program Files\\Google\\Compute Engine\\metadata_scripts;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Google\\Compute Engine\\sysprep;C:\\Users\\gopher\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\godep\\gcc64\\bin" "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" "POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows Server 2016 Datacenter" "PROCESSOR_ARCHITECTURE=AMD64" "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 0, GenuineIntel" "PROCESSOR_LEVEL=6" "PROCESSOR_REVISION=4f00" "ProgramData=C:\\ProgramData" "ProgramFiles=C:\\Program Files" "ProgramFiles(x86)=C:\\Program Files (x86)" "ProgramW6432=C:\\Program Files" "PROMPT=$P$G" "PSModulePath=C:\\Program Files (x86)\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\PowerShell" "PUBLIC=C:\\Users\\Public" "SESSIONNAME=Console" "SystemDrive=C:" "SystemRoot=C:\\Windows" "TEMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "TMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "USERDOMAIN=SERVER-2016-V8-" "USERDOMAIN_ROAMINGPROFILE=SERVER-2016-V8-" "USERNAME=gopher" "USERPROFILE=C:\\Users\\gopher" "windir=C:\\Windows" "GO_STAGE0_NET_DELAY=15s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=C:\\workdir" "GOROOT_BOOTSTRAP=C:\\workdir\\go1.4" "GO_BUILDER_NAME=windows-amd64-race" "GOARCH=amd64" "GOHOSTARCH=amd64" "GO_TEST_TIMEOUT_SCALE=2" "GOBIN=" "PWD=C:\\workdir\\go\\src"] in dir C:\workdir\go\src Building Go cmd/dist using C:\workdir\go1.4. (go1.17.13 windows/amd64) Building Go toolchain1 using C:\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 windows/amd64. --- Installed Go for windows/amd64 in C:\workdir\go Installed commands in C:\workdir\go\bin :: Running C:\workdir\go\bin\go with args ["C:\\workdir\\go\\bin\\go" "install" "-race" "std"] and env ["GOBUILDEXIT=1" "=C:=C:\\golang" "ALLUSERSPROFILE=C:\\ProgramData" "APPDATA=C:\\Users\\gopher\\AppData\\Roaming" "CommonProgramFiles=C:\\Program Files\\Common Files" "CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files" "CommonProgramW6432=C:\\Program Files\\Common Files" "COMPUTERNAME=SERVER-2016-V8-" "ComSpec=C:\\Windows\\system32\\cmd.exe" "GooGetRoot=C:\\ProgramData\\GooGet" "HOMEDRIVE=C:" "HOMEPATH=\\Users\\gopher" "LOCALAPPDATA=C:\\Users\\gopher\\AppData\\Local" "LOGONSERVER=\\\\SERVER-2016-V8-" "NUMBER_OF_PROCESSORS=8" "OS=Windows_NT" "PATH=C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\ProgramData\\GooGet;C:\\Program Files\\Google\\Compute Engine\\metadata_scripts;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Google\\Compute Engine\\sysprep;C:\\Users\\gopher\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\godep\\gcc64\\bin" "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" "POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows Server 2016 Datacenter" "PROCESSOR_ARCHITECTURE=AMD64" "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 0, GenuineIntel" "PROCESSOR_LEVEL=6" "PROCESSOR_REVISION=4f00" "ProgramData=C:\\ProgramData" "ProgramFiles=C:\\Program Files" "ProgramFiles(x86)=C:\\Program Files (x86)" "ProgramW6432=C:\\Program Files" "PROMPT=$P$G" "PSModulePath=C:\\Program Files (x86)\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\PowerShell" "PUBLIC=C:\\Users\\Public" "SESSIONNAME=Console" "SystemDrive=C:" "SystemRoot=C:\\Windows" "TEMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "TMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "USERDOMAIN=SERVER-2016-V8-" "USERDOMAIN_ROAMINGPROFILE=SERVER-2016-V8-" "USERNAME=gopher" "USERPROFILE=C:\\Users\\gopher" "windir=C:\\Windows" "GO_STAGE0_NET_DELAY=15s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=C:\\workdir" "GOROOT_BOOTSTRAP=C:\\workdir\\go1.4" "GO_BUILDER_NAME=windows-amd64-race" "GOARCH=amd64" "GOHOSTARCH=amd64" "GO_TEST_TIMEOUT_SCALE=2" "GOBIN=" "PWD=C:\\workdir\\go\\bin"] in dir C:\workdir\go\bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: windows # OS Version: 10.0.14393 ##### Testing packages. ok archive/tar 2.230s ok archive/zip 2.800s ok bufio 1.345s ok bytes 5.400s ok compress/bzip2 1.570s ok compress/flate 6.187s ok compress/gzip 14.613s ok compress/lzw 1.556s ok compress/zlib 7.109s ok container/heap 1.040s ok container/list 1.033s ok container/ring 1.037s ok context 1.068s ok crypto 1.033s ok crypto/aes 1.070s ok crypto/cipher 1.063s ok crypto/des 1.065s ok crypto/dsa 1.037s ok crypto/ecdh 1.240s ok crypto/ecdsa 1.156s ok crypto/ed25519 1.397s ok crypto/elliptic 1.059s ok crypto/hmac 1.037s ok crypto/internal/alias 1.031s ok crypto/internal/bigmod 3.687s ok crypto/internal/boring 1.034s ok crypto/internal/boring/bcache 1.394s ok crypto/internal/edwards25519 37.689s ok crypto/internal/edwards25519/field 13.782s ok crypto/internal/nistec 4.697s ok crypto/internal/nistec/fiat 1.033s [no tests to run] ok crypto/md5 1.047s ok crypto/rand 1.119s ok crypto/rc4 1.491s ok crypto/rsa 1.550s ok crypto/sha1 1.038s ok crypto/sha256 1.039s ok crypto/sha512 1.040s ok crypto/subtle 1.383s ok crypto/tls 2.704s ok crypto/x509 2.775s ok database/sql 1.357s ok database/sql/driver 1.036s ok debug/buildinfo 1.055s ok debug/dwarf 1.104s ok debug/elf 2.220s ok debug/gosym 1.089s ok debug/macho 1.050s ok debug/pe 6.879s ok debug/plan9obj 1.037s ok embed 1.037s [no tests to run] ok embed/internal/embedtest 1.036s ok encoding/ascii85 1.037s ok encoding/asn1 1.037s ok encoding/base32 1.080s ok encoding/base64 1.042s ok encoding/binary 1.040s ok encoding/csv 1.073s ok encoding/gob 16.298s ok encoding/hex 1.041s ok encoding/json 2.229s ok encoding/pem 3.105s ok encoding/xml 1.202s ok errors 1.041s ok expvar 1.039s ok flag 3.173s ok fmt 1.544s ok go/ast 1.049s ok go/build 5.571s ok go/build/constraint 1.040s ok go/constant 1.039s ok go/doc 1.271s ok go/doc/comment 3.493s ok go/format 1.071s ok go/importer 1.632s ok go/internal/gccgoimporter 1.085s ok go/internal/gcimporter 3.500s ok go/internal/srcimporter 19.943s ok go/parser 2.034s ok go/printer 2.302s ok go/scanner 1.044s ok go/token 1.148s ok go/types 40.995s ok hash 1.040s ok hash/adler32 1.065s ok hash/crc32 1.075s ok hash/crc64 1.048s ok hash/fnv 1.039s ok hash/maphash 1.039s ok html 1.041s ok html/template 1.245s ok image 1.440s ok image/color 1.058s ok image/draw 1.630s ok image/gif 1.965s ok image/jpeg 2.367s ok image/png 4.277s ok index/suffixarray 2.049s ok internal/abi 25.183s ok internal/buildcfg 1.040s ok internal/coverage/cformat 1.040s ok internal/coverage/cmerge 1.034s ok internal/coverage/pods 1.045s ok internal/coverage/slicereader 1.032s ok internal/coverage/slicewriter 1.032s ok internal/coverage/test 1.066s ok internal/cpu 1.033s ok internal/dag 1.035s ok internal/diff 1.042s ok internal/fmtsort 1.033s ok internal/fuzz 1.053s ok internal/godebug 1.035s ok internal/intern 1.542s ok internal/itoa 1.036s ok internal/poll 1.559s ok internal/profile 1.043s ok internal/reflectlite 1.264s ok internal/safefilepath 1.037s ok internal/saferio 1.157s ok internal/singleflight 1.146s ok internal/syscall/windows 2.064s ok internal/syscall/windows/registry 1.037s ok internal/testenv 1.033s ok internal/trace 1.218s ok internal/types/errors 1.916s ok internal/unsafeheader 1.036s ok internal/xcoff 1.066s ok io 1.088s ok io/fs 1.292s ok io/ioutil 1.047s ok log 1.048s ok math 1.046s ok math/big 3.980s ok math/bits 1.044s ok math/cmplx 1.037s ok math/rand 2.984s ok mime 1.090s ok mime/multipart 2.594s ok mime/quotedprintable 1.058s ok net 11.999s ================== WARNING: DATA RACE Write at 0x00c000842000 by goroutine 3843: runtime.slicecopy() C:/workdir/go/src/runtime/slice.go:310 +0x0 net/http.(*http2dataBuffer).Read() C:/workdir/go/src/net/http/h2_bundle.go:1105 +0x27e net/http.(*http2pipe).Read() C:/workdir/go/src/net/http/h2_bundle.go:3678 +0x36f net/http.http2transportResponseBody.Read() C:/workdir/go/src/net/http/h2_bundle.go:9470 +0xdb net/http.(*cancelTimerBody).Read() C:/workdir/go/src/net/http/client.go:955 +0x66 io.(*LimitedReader).Read() C:/workdir/go/src/io/io.go:478 +0xc5 io.discard.ReadFrom() C:/workdir/go/src/io/io.go:645 +0x91 io.(*discard).ReadFrom() :1 +0x4c io.copyBuffer() C:/workdir/go/src/io/io.go:420 +0x1ef io.Copy() C:/workdir/go/src/io/io.go:386 +0xce io.CopyN() C:/workdir/go/src/io/io.go:362 +0xb0 net/http.(*Client).do() C:/workdir/go/src/net/http/client.go:698 +0xf7b net/http.(*Client).Do() C:/workdir/go/src/net/http/client.go:582 +0xa5 net/http.(*Client).Get() C:/workdir/go/src/net/http/client.go:480 +0xa6 net/http_test.testClientTimeout() C:/workdir/go/src/net/http/client_test.go:1234 +0x684 net/http_test.run[...].func1() C:/workdir/go/src/net/http/clientserver_test.go:90 +0x18e testing.tRunner() C:/workdir/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() C:/workdir/go/src/testing/testing.go:1629 +0x44 Previous read at 0x00c000842000 by goroutine 18671: runtime.slicecopy() C:/workdir/go/src/runtime/slice.go:310 +0x0 net/http.(*http2Framer).WriteDataPadded() C:/workdir/go/src/net/http/h2_bundle.go:2025 +0x4dc net/http.(*http2Framer).WriteData() C:/workdir/go/src/net/http/h2_bundle.go:1985 +0xdc net/http.(*http2writeData).writeFrame() C:/workdir/go/src/net/http/h2_bundle.go:10220 +0x1a net/http.(*http2serverConn).writeFrameAsync() C:/workdir/go/src/net/http/h2_bundle.go:4589 +0x85 net/http.(*http2serverConn).startFrameWrite.func1() C:/workdir/go/src/net/http/h2_bundle.go:5000 +0x6b Goroutine 3843 (running) created at: testing.(*T).Run() C:/workdir/go/src/testing/testing.go:1629 +0x80b net/http_test.run[...]() C:/workdir/go/src/net/http/clientserver_test.go:82 +0x3a1 net/http_test.TestClientTimeout() C:/workdir/go/src/net/http/client_test.go:1180 +0x3b testing.tRunner() C:/workdir/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() C:/workdir/go/src/testing/testing.go:1629 +0x44 Goroutine 18671 (finished) created at: net/http.(*http2serverConn).startFrameWrite() C:/workdir/go/src/net/http/h2_bundle.go:5000 +0x5fa net/http.(*http2serverConn).scheduleFrameWrite() C:/workdir/go/src/net/http/h2_bundle.go:5102 +0x3c8 net/http.(*http2serverConn).writeFrame() C:/workdir/go/src/net/http/h2_bundle.go:4955 +0x3c7 net/http.(*http2serverConn).serve() C:/workdir/go/src/net/http/h2_bundle.go:4681 +0x13b1 net/http.(*http2Server).ServeConn() C:/workdir/go/src/net/http/h2_bundle.go:4270 +0x181d net/http.http2ConfigureServer.func1() C:/workdir/go/src/net/http/h2_bundle.go:4060 +0x11e net/http.(*conn).serve() C:/workdir/go/src/net/http/server.go:1892 +0x1c01 net/http.(*Server).Serve.func3() C:/workdir/go/src/net/http/server.go:3078 +0x4f ================== --- FAIL: TestEmptyPasswordAuth (0.00s) --- FAIL: TestEmptyPasswordAuth/h1 (0.05s) testing.go:1446: race detected during execution of test --- FAIL: TestEmptyPasswordAuth/h2 (0.06s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportUsesTLSConfigServerName (0.00s) --- FAIL: TestTransportUsesTLSConfigServerName/https1 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestTransportUsesTLSConfigServerName/h2 (0.04s) testing.go:1446: race detected during execution of test --- FAIL: TestServeFileMimeType (0.00s) --- FAIL: TestServeFileMimeType/h1 (0.05s) testing.go:1446: race detected during execution of test --- FAIL: TestWriteDeadlineExtendedOnNewRequest (0.00s) --- FAIL: TestClientTimeout (0.00s) --- FAIL: TestClientTimeout/h1 (0.09s) client_test.go:1226: attempting test with timeout 10ms client_test.go:1238: timeout before response received client_test.go:1226: attempting test with timeout 20ms clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51636: read tcp 127.0.0.1:51630->127.0.0.1:51636: wsarecv: An established connection was aborted by the software in your host machine. client_test.go:1238: timeout before response received client_test.go:1226: attempting test with timeout 40ms clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51640: read tcp 127.0.0.1:51630->127.0.0.1:51640: wsarecv: An existing connection was forcibly closed by the remote host. testing.go:1446: race detected during execution of test --- FAIL: TestClientTimeout/h2 (0.13s) client_test.go:1226: attempting test with timeout 10ms client_test.go:1238: timeout before response received client_test.go:1226: attempting test with timeout 20ms clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51634: read tcp 127.0.0.1:51629->127.0.0.1:51634: wsarecv: An existing connection was forcibly closed by the remote host. client_test.go:1238: timeout before response received client_test.go:1226: attempting test with timeout 40ms testing.go:1446: race detected during execution of test --- FAIL: TestFileServerSortsNames (0.00s) --- FAIL: TestResponseBodyReadAfterClose (0.00s) --- FAIL: TestFileServerEscapesNames (0.00s) --- FAIL: TestTransportDiscardsUnneededConns (0.00s) --- FAIL: TestEarlyHintsRequest (0.00s) --- FAIL: TestFileServerImplicitLeadingSlash (0.00s) --- FAIL: TestClientWrites (0.00s) --- FAIL: TestShouldRedirectConcurrency (0.00s) --- FAIL: TestServerWriteTimeout (0.00s) --- FAIL: TestConcurrentReadWriteReqBody (0.00s) --- FAIL: TestWrappedResponseController (0.00s) --- FAIL: TestIdentityTransferEncoding (0.00s) --- FAIL: TestStreamingGet (0.00s) --- FAIL: TestClientRedirect308NoGetBody (0.00s) --- FAIL: TestClient (0.00s) --- FAIL: TestServeDirWithoutTrailingSlash (0.00s) --- FAIL: TestFSRedirect (0.00s) --- FAIL: TestClientRedirectNoLocation (0.00s) --- FAIL: TestClientRedirectNoLocation/h2 (0.00s) --- FAIL: TestClientRedirectNoLocation/h1 (0.00s) --- FAIL: TestBidiStreamReverseProxy (0.00s) --- FAIL: TestMaxBytesHandler (0.00s) --- FAIL: TestMaxBytesHandler/max_size_100_request_size_1000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000_request_size_1000000 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000000_request_size_100 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_1000_request_size_100 (0.00s) --- 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_100_request_size_100 (0.00s) --- FAIL: TestMaxBytesHandler/max_size_100_request_size_1000000 (0.00s) --- FAIL: TestOmitHTTP2Vet (7.29s) testing.go:1446: race detected during execution of test FAIL FAIL net/http 9.976s FAIL go tool dist: Failed: exit status 1