darwin-amd64-race at b89a840d6572c97a80ac78462b03122b83bc84e9 :: 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=83CEBCA8-7DC9-4F2A-9CA3-6F822955F4E9" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.wC47ofF9rX/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=B045D5EF-A7B0-45A7-B6D5-756F5890835C" "__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=83CEBCA8-7DC9-4F2A-9CA3-6F822955F4E9" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.wC47ofF9rX/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=B045D5EF-A7B0-45A7-B6D5-756F5890835C" "__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 2.001s ok archive/zip 2.753s ok bufio 0.677s ok bytes 6.617s ok compress/bzip2 0.975s ok compress/flate 9.626s ok compress/gzip 15.834s ok compress/lzw 0.823s ok compress/zlib 6.115s ok container/heap 0.041s ok container/list 0.038s ok container/ring 0.036s ok context 0.136s ok crypto 0.108s ok crypto/aes 0.111s ok crypto/cipher 0.073s ok crypto/des 0.073s ok crypto/dsa 0.070s ok crypto/ecdh 0.189s ok crypto/ecdsa 0.163s ok crypto/ed25519 0.469s ok crypto/elliptic 0.068s ok crypto/hmac 0.047s ok crypto/internal/alias 0.032s ok crypto/internal/bigmod 3.702s ok crypto/internal/boring 0.034s ok crypto/internal/boring/bcache 0.593s ok crypto/internal/edwards25519 54.244s ok crypto/internal/edwards25519/field 18.134s ok crypto/internal/nistec 5.349s ok crypto/internal/nistec/fiat 0.041s [no tests to run] ok crypto/md5 0.074s ok crypto/rand 0.454s ok crypto/rc4 0.711s ok crypto/rsa 0.531s ok crypto/sha1 0.062s ok crypto/sha256 0.053s ok crypto/sha512 0.068s ok crypto/subtle 0.397s ok crypto/tls 2.938s ok crypto/x509 1.405s ok database/sql 0.528s ok database/sql/driver 0.051s ok debug/buildinfo 0.066s ok debug/dwarf 0.122s ok debug/elf 1.337s ok debug/gosym 0.127s ok debug/macho 0.086s ok debug/pe 0.129s ok debug/plan9obj 0.105s ok embed 0.068s [no tests to run] ok embed/internal/embedtest 0.081s ok encoding/ascii85 0.069s ok encoding/asn1 0.048s ok encoding/base32 0.283s ok encoding/base64 0.059s ok encoding/binary 0.043s ok encoding/csv 0.138s ok encoding/gob 34.913s ok encoding/hex 0.069s ok encoding/json 2.930s ok encoding/pem 3.364s ok encoding/xml 0.479s ok errors 0.063s ok expvar 0.050s ok flag 0.151s ok fmt 1.131s ok go/ast 0.135s ok go/build 7.515s ok go/build/constraint 0.055s ok go/constant 0.055s ok go/doc 0.398s ok go/doc/comment 7.221s ok go/format 0.103s ok go/importer 1.291s ok go/internal/gccgoimporter 0.242s ok go/internal/gcimporter 6.903s ok go/internal/srcimporter 31.746s ok go/parser 1.264s ok go/printer 1.829s ok go/scanner 0.053s ok go/token 0.240s ok go/types 51.440s ok hash 0.056s ok hash/adler32 0.076s ok hash/crc32 0.075s ok hash/crc64 0.047s ok hash/fnv 0.045s ok hash/maphash 0.048s ok html 0.046s ok html/template 0.300s ok image 0.580s ok image/color 0.103s ok image/draw 0.861s ok image/gif 1.399s ok image/jpeg 1.527s ok image/png 4.012s ok index/suffixarray 1.622s ok internal/abi 40.464s ok internal/buildcfg 0.103s ok internal/coverage/cformat 0.146s ok internal/coverage/cmerge 0.142s ok internal/coverage/pods 0.067s ok internal/coverage/slicereader 0.074s ok internal/coverage/slicewriter 0.044s ok internal/coverage/test 0.091s ok internal/cpu 0.116s ok internal/dag 0.049s ok internal/diff 0.102s ok internal/fmtsort 0.058s ok internal/fuzz 0.065s ok internal/godebug 0.094s ok internal/intern 1.643s ok internal/itoa 0.111s ok internal/poll 0.779s ok internal/profile 0.138s ok internal/reflectlite 0.284s ok internal/safefilepath 0.064s ok internal/saferio 0.339s ok internal/singleflight 0.211s ok internal/testenv 0.060s ok internal/trace 0.340s ok internal/types/errors 1.899s ok internal/unsafeheader 0.071s ok internal/xcoff 0.129s ok io 0.133s ok io/fs 0.319s ok io/ioutil 0.129s ok log 0.090s ok log/syslog 1.322s ok math 0.057s ok math/big 3.405s ok math/bits 0.084s ok math/cmplx 0.073s ok math/rand 2.466s ok mime 0.064s ok mime/multipart 1.962s ok mime/quotedprintable 0.077s ================== WARNING: DATA RACE Write at 0x00c0001ac090 by goroutine 2379: 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 0x00c0001ac090 by goroutine 750: 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 2379 (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 750 (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 0x00c000190090 by goroutine 2379: 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 0x00c000190090 by goroutine 750: 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 2379 (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 750 (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: TestAcceptTimeoutMustNotReturn (0.10s) testing.go:1446: race detected during execution of test --- FAIL: TestLookupHostCancel (2.94s) testing.go:1446: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c0010a9a58 by goroutine 14373: 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 0x00c0010a9a58 by goroutine 14372: 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 14373 (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 14372 (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 0x00c001b9bae0 by goroutine 14373: 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 0x00c001b9bae0 by goroutine 14372: 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 14373 (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 14372 (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.22s) testing.go:1446: race detected during execution of test FAIL FAIL net 17.487s FAIL go tool dist: Failed: exit status 1