darwin-amd64-race at ac7efcb0caac712395adf602f69d2ff3ace6e16e :: 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=B11830DC-50E4-4FF4-82A9-042F1264090C" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.v3YzGPjnp2/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=531A8761-D553-44E9-B669-2F3A7B9F8E65" "__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=B11830DC-50E4-4FF4-82A9-042F1264090C" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.v3YzGPjnp2/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=531A8761-D553-44E9-B669-2F3A7B9F8E65" "__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.663s ok archive/zip 2.301s ok bufio 0.476s ok bytes 4.279s ok compress/bzip2 0.571s ok compress/flate 7.211s ok compress/gzip 14.756s ok compress/lzw 0.656s ok compress/zlib 6.103s ok container/heap 0.059s ok container/list 0.066s ok container/ring 0.060s ok context 0.151s ok crypto 0.112s ok crypto/aes 0.128s ok crypto/cipher 0.085s ok crypto/des 0.102s ok crypto/dsa 0.080s ok crypto/ecdh 0.270s ok crypto/ecdsa 0.184s ok crypto/ed25519 0.486s ok crypto/elliptic 0.105s ok crypto/hmac 0.087s ok crypto/internal/alias 0.030s ok crypto/internal/bigmod 4.797s ok crypto/internal/boring 0.091s ok crypto/internal/boring/bcache 0.744s ok crypto/internal/edwards25519 55.869s ok crypto/internal/edwards25519/field 20.134s ok crypto/internal/nistec 5.507s ok crypto/internal/nistec/fiat 0.058s [no tests to run] ok crypto/md5 0.112s ok crypto/rand 0.497s ok crypto/rc4 0.556s ok crypto/rsa 0.591s ok crypto/sha1 0.066s ok crypto/sha256 0.082s ok crypto/sha512 0.067s ok crypto/subtle 0.433s ok crypto/tls 3.146s ok crypto/x509 1.467s ok database/sql 0.485s ok database/sql/driver 0.049s ok debug/buildinfo 0.074s ok debug/dwarf 0.123s ok debug/elf 1.552s ok debug/gosym 0.153s ok debug/macho 0.100s ok debug/pe 0.105s ok debug/plan9obj 0.151s ok embed 0.132s [no tests to run] ok embed/internal/embedtest 0.085s ok encoding/ascii85 0.088s ok encoding/asn1 0.058s ok encoding/base32 0.175s ok encoding/base64 0.082s ok encoding/binary 0.042s ok encoding/csv 0.112s ok encoding/gob 26.845s ok encoding/hex 0.049s ok encoding/json 2.536s ok encoding/pem 3.164s ok encoding/xml 0.394s ok errors 0.047s ok expvar 0.046s ok flag 0.163s ok fmt 0.824s ok go/ast 0.102s ok go/build 8.045s ok go/build/constraint 0.055s ok go/constant 0.044s ok go/doc 0.400s ok go/doc/comment 6.048s ok go/format 0.185s ok go/importer 1.159s ok go/internal/gccgoimporter 0.164s ok go/internal/gcimporter 6.807s ok go/internal/srcimporter 29.121s ok go/parser 1.379s ok go/printer 1.993s ok go/scanner 0.053s ok go/token 0.203s ok go/types 54.326s ok hash 0.054s ok hash/adler32 0.057s ok hash/crc32 0.076s ok hash/crc64 0.048s ok hash/fnv 0.044s ok hash/maphash 0.101s ok html 0.104s ok html/template 0.408s ok image 0.722s ok image/color 0.156s ok image/draw 1.295s ok image/gif 1.872s ok image/jpeg 2.074s ok image/png 4.578s ok index/suffixarray 1.705s ok internal/abi 41.024s ok internal/buildcfg 0.048s ok internal/coverage/cformat 0.047s ok internal/coverage/cmerge 0.042s ok internal/coverage/pods 0.135s ok internal/coverage/slicereader 0.109s ok internal/coverage/slicewriter 0.122s ok internal/coverage/test 0.161s ok internal/cpu 0.162s ok internal/dag 0.067s ok internal/diff 0.086s ok internal/fmtsort 0.044s ok internal/fuzz 0.069s ok internal/godebug 0.058s ok internal/intern 1.961s ok internal/itoa 0.134s ok internal/poll 0.831s ok internal/profile 0.062s ok internal/reflectlite 0.409s ok internal/safefilepath 0.070s ok internal/saferio 0.331s ok internal/singleflight 0.209s ok internal/testenv 0.092s ok internal/trace 0.459s ok internal/types/errors 2.095s ok internal/unsafeheader 0.157s ok internal/xcoff 0.108s ok io 0.134s ok io/fs 0.315s ok io/ioutil 0.131s ok log 0.092s ok log/syslog 1.301s ok math 0.059s ok math/big 3.358s ok math/bits 0.050s ok math/cmplx 0.105s ok math/rand 2.687s ok mime 0.084s ok mime/multipart 2.256s ok mime/quotedprintable 0.108s ================== WARNING: DATA RACE Write at 0x00c000e0c1b0 by goroutine 5631: net.cgoLookupIP.func1() /tmp/buildlet/go/src/net/cgo_unix.go:210 +0x95 net.doBlockingWithCtx[...].func1() /tmp/buildlet/go/src/net/cgo_unix.go:48 +0x49 Previous write at 0x00c000e0c1b0 by goroutine 753: net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1f4 net.cgoLookupHost() /tmp/buildlet/go/src/net/cgo_unix.go:62 +0x77 net.(*Resolver).lookupHost() /tmp/buildlet/go/src/net/lookup_unix.go:59 +0x109 net.(*Resolver).LookupHost() /tmp/buildlet/go/src/net/lookup.go:191 +0x22d net.TestLookupHostCancel() /tmp/buildlet/go/src/net/lookup_test.go:991 +0x1a6 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Goroutine 5631 (running) created at: net.doBlockingWithCtx[...]() /tmp/buildlet/go/src/net/cgo_unix.go:46 +0x1b9 net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1d1 net.cgoLookupHost() /tmp/buildlet/go/src/net/cgo_unix.go:62 +0x77 net.(*Resolver).lookupHost() /tmp/buildlet/go/src/net/lookup_unix.go:59 +0x109 net.(*Resolver).LookupHost() /tmp/buildlet/go/src/net/lookup.go:191 +0x22d net.TestLookupHostCancel() /tmp/buildlet/go/src/net/lookup_test.go:991 +0x1a6 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Goroutine 753 (running) created at: testing.(*T).Run() /tmp/buildlet/go/src/testing/testing.go:1629 +0x80b testing.runTests.func1() /tmp/buildlet/go/src/testing/testing.go:2036 +0x84 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.runTests() /tmp/buildlet/go/src/testing/testing.go:2034 +0x8aa testing.(*M).Run() /tmp/buildlet/go/src/testing/testing.go:1906 +0xb34 net.TestMain() /tmp/buildlet/go/src/net/main_test.go:52 +0x38 main.main() _testmain.go:659 +0x31d ================== ================== WARNING: DATA RACE Write at 0x00c000e021b0 by goroutine 5631: net.cgoLookupIP.func1() /tmp/buildlet/go/src/net/cgo_unix.go:210 +0xd5 net.doBlockingWithCtx[...].func1() /tmp/buildlet/go/src/net/cgo_unix.go:48 +0x49 Previous write at 0x00c000e021b0 by goroutine 753: net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x232 net.cgoLookupHost() /tmp/buildlet/go/src/net/cgo_unix.go:62 +0x77 net.(*Resolver).lookupHost() /tmp/buildlet/go/src/net/lookup_unix.go:59 +0x109 net.(*Resolver).LookupHost() /tmp/buildlet/go/src/net/lookup.go:191 +0x22d net.TestLookupHostCancel() /tmp/buildlet/go/src/net/lookup_test.go:991 +0x1a6 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Goroutine 5631 (running) created at: net.doBlockingWithCtx[...]() /tmp/buildlet/go/src/net/cgo_unix.go:46 +0x1b9 net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1d1 net.cgoLookupHost() /tmp/buildlet/go/src/net/cgo_unix.go:62 +0x77 net.(*Resolver).lookupHost() /tmp/buildlet/go/src/net/lookup_unix.go:59 +0x109 net.(*Resolver).LookupHost() /tmp/buildlet/go/src/net/lookup.go:191 +0x22d net.TestLookupHostCancel() /tmp/buildlet/go/src/net/lookup_test.go:991 +0x1a6 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.(*T).Run.func1() /tmp/buildlet/go/src/testing/testing.go:1629 +0x44 Goroutine 753 (running) created at: testing.(*T).Run() /tmp/buildlet/go/src/testing/testing.go:1629 +0x80b testing.runTests.func1() /tmp/buildlet/go/src/testing/testing.go:2036 +0x84 testing.tRunner() /tmp/buildlet/go/src/testing/testing.go:1576 +0x22e testing.runTests() /tmp/buildlet/go/src/testing/testing.go:2034 +0x8aa testing.(*M).Run() /tmp/buildlet/go/src/testing/testing.go:1906 +0xb34 net.TestMain() /tmp/buildlet/go/src/net/main_test.go:52 +0x38 main.main() _testmain.go:659 +0x31d ================== --- FAIL: TestLookupHostCancel (3.34s) testing.go:1446: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c000e0d518 by goroutine 17372: net.cgoLookupIP.func1() /tmp/buildlet/go/src/net/cgo_unix.go:210 +0x95 net.doBlockingWithCtx[...].func1() /tmp/buildlet/go/src/net/cgo_unix.go:48 +0x49 Previous write at 0x00c000e0d518 by goroutine 17371: net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1f4 net.(*Resolver).lookupIP() /tmp/buildlet/go/src/net/lookup_unix.go:74 +0x10c net.(*Resolver).lookupIP-fm() :1 +0x95 net.glob..func1() /tmp/buildlet/go/src/net/hook.go:23 +0x82 net.(*Resolver).lookupIPAddr.func1() /tmp/buildlet/go/src/net/lookup.go:326 +0xa4 internal/singleflight.(*Group).doCall() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:93 +0x5b internal/singleflight.(*Group).DoChan.func1() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x6b Goroutine 17372 (running) created at: net.doBlockingWithCtx[...]() /tmp/buildlet/go/src/net/cgo_unix.go:46 +0x1b9 net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1d1 net.(*Resolver).lookupIP() /tmp/buildlet/go/src/net/lookup_unix.go:74 +0x10c net.(*Resolver).lookupIP-fm() :1 +0x95 net.glob..func1() /tmp/buildlet/go/src/net/hook.go:23 +0x82 net.(*Resolver).lookupIPAddr.func1() /tmp/buildlet/go/src/net/lookup.go:326 +0xa4 internal/singleflight.(*Group).doCall() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:93 +0x5b internal/singleflight.(*Group).DoChan.func1() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x6b Goroutine 17371 (finished) created at: internal/singleflight.(*Group).DoChan() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x5a4 net.(*Resolver).lookupIPAddr() /tmp/buildlet/go/src/net/lookup.go:325 +0x644 net.(*Resolver).internetAddrList() /tmp/buildlet/go/src/net/ipsock.go:288 +0x79e net.(*Resolver).resolveAddrList() /tmp/buildlet/go/src/net/dial.go:234 +0x564 net.(*Dialer).DialContext() /tmp/buildlet/go/src/net/dial.go:422 +0x706 net.TestTCPSpuriousConnSetupCompletionWithCancel.func2() /tmp/buildlet/go/src/net/tcpsock_unix_test.go:104 +0x109 net.TestTCPSpuriousConnSetupCompletionWithCancel.func4() /tmp/buildlet/go/src/net/tcpsock_unix_test.go:109 +0x41 ================== ================== WARNING: DATA RACE Write at 0x00c001afe510 by goroutine 17372: net.cgoLookupIP.func1() /tmp/buildlet/go/src/net/cgo_unix.go:210 +0xd5 net.doBlockingWithCtx[...].func1() /tmp/buildlet/go/src/net/cgo_unix.go:48 +0x49 Previous write at 0x00c001afe510 by goroutine 17371: net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x232 net.(*Resolver).lookupIP() /tmp/buildlet/go/src/net/lookup_unix.go:74 +0x10c net.(*Resolver).lookupIP-fm() :1 +0x95 net.glob..func1() /tmp/buildlet/go/src/net/hook.go:23 +0x82 net.(*Resolver).lookupIPAddr.func1() /tmp/buildlet/go/src/net/lookup.go:326 +0xa4 internal/singleflight.(*Group).doCall() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:93 +0x5b internal/singleflight.(*Group).DoChan.func1() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x6b Goroutine 17372 (running) created at: net.doBlockingWithCtx[...]() /tmp/buildlet/go/src/net/cgo_unix.go:46 +0x1b9 net.cgoLookupIP() /tmp/buildlet/go/src/net/cgo_unix.go:209 +0x1d1 net.(*Resolver).lookupIP() /tmp/buildlet/go/src/net/lookup_unix.go:74 +0x10c net.(*Resolver).lookupIP-fm() :1 +0x95 net.glob..func1() /tmp/buildlet/go/src/net/hook.go:23 +0x82 net.(*Resolver).lookupIPAddr.func1() /tmp/buildlet/go/src/net/lookup.go:326 +0xa4 internal/singleflight.(*Group).doCall() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:93 +0x5b internal/singleflight.(*Group).DoChan.func1() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x6b Goroutine 17371 (finished) created at: internal/singleflight.(*Group).DoChan() /tmp/buildlet/go/src/internal/singleflight/singleflight.go:86 +0x5a4 net.(*Resolver).lookupIPAddr() /tmp/buildlet/go/src/net/lookup.go:325 +0x644 net.(*Resolver).internetAddrList() /tmp/buildlet/go/src/net/ipsock.go:288 +0x79e net.(*Resolver).resolveAddrList() /tmp/buildlet/go/src/net/dial.go:234 +0x564 net.(*Dialer).DialContext() /tmp/buildlet/go/src/net/dial.go:422 +0x706 net.TestTCPSpuriousConnSetupCompletionWithCancel.func2() /tmp/buildlet/go/src/net/tcpsock_unix_test.go:104 +0x109 net.TestTCPSpuriousConnSetupCompletionWithCancel.func4() /tmp/buildlet/go/src/net/tcpsock_unix_test.go:109 +0x41 ================== --- FAIL: TestTCPSpuriousConnSetupCompletionWithCancel (9.08s) testing.go:1446: race detected during execution of test FAIL FAIL net 18.818s FAIL go tool dist: Failed: exit status 1