darwin-amd64-race at 08425feae5e10f81e0c7d2b4a0f2cc7179174f45 :: 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=FD4D1F45-60E3-4192-8884-2A1FABB6EDBE" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.BSF13QKKot/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=450D5F7D-66B0-4EB2-A87B-59D4A1C9CF05" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186ad" "_=/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=FD4D1F45-60E3-4192-8884-2A1FABB6EDBE" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.BSF13QKKot/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=450D5F7D-66B0-4EB2-A87B-59D4A1C9CF05" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186ad" "_=/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.938s ok archive/zip 2.696s ok bufio 0.528s ok bytes 5.604s ok compress/bzip2 0.744s ok compress/flate 8.861s ok compress/gzip 18.075s ok compress/lzw 1.011s ok compress/zlib 7.204s ok container/heap 0.082s ok container/list 0.071s ok container/ring 0.059s ok context 0.143s ok crypto 0.136s ok crypto/aes 0.123s ok crypto/cipher 0.097s ok crypto/des 0.114s ok crypto/dsa 0.105s ok crypto/ecdh 0.276s ok crypto/ecdsa 0.160s ok crypto/ed25519 0.472s ok crypto/elliptic 0.080s ok crypto/hmac 0.063s ok crypto/internal/alias 0.030s ok crypto/internal/bigmod 4.165s ok crypto/internal/boring 0.057s ok crypto/internal/boring/bcache 0.620s ok crypto/internal/edwards25519 55.115s ok crypto/internal/edwards25519/field 19.943s ok crypto/internal/nistec 5.469s ok crypto/internal/nistec/fiat 0.046s [no tests to run] ok crypto/md5 0.098s ok crypto/rand 0.476s ok crypto/rc4 0.651s ok crypto/rsa 0.606s ok crypto/sha1 0.057s ok crypto/sha256 0.084s ok crypto/sha512 0.111s ok crypto/subtle 0.421s ok crypto/tls 2.970s ok crypto/x509 1.380s ok database/sql 0.528s ok database/sql/driver 0.032s ok debug/buildinfo 0.060s ok debug/dwarf 0.094s ok debug/elf 1.257s ok debug/gosym 0.133s ok debug/macho 0.090s ok debug/pe 0.113s ok debug/plan9obj 0.090s ok embed 0.084s [no tests to run] ok embed/internal/embedtest 0.078s ok encoding/ascii85 0.071s ok encoding/asn1 0.041s ok encoding/base32 0.276s ok encoding/base64 0.090s ok encoding/binary 0.045s ok encoding/csv 0.193s ok encoding/gob 32.408s ok encoding/hex 0.056s ok encoding/json 2.644s ok encoding/pem 2.868s ok encoding/xml 0.306s ok errors 0.071s ok expvar 0.071s ok flag 0.182s ok fmt 0.910s ok go/ast 0.169s ok go/build 8.083s ok go/build/constraint 0.080s ok go/constant 0.109s ok go/doc 0.670s ok go/doc/comment 6.342s ok go/format 0.095s ok go/importer 1.058s ok go/internal/gccgoimporter 0.196s ok go/internal/gcimporter 7.164s ok go/internal/srcimporter 33.485s ok go/parser 1.258s ok go/printer 1.778s ok go/scanner 0.054s ok go/token 0.161s ok go/types 56.493s ok hash 0.060s ok hash/adler32 0.054s ok hash/crc32 0.072s ok hash/crc64 0.044s ok hash/fnv 0.040s ok hash/maphash 0.037s ok html 0.033s ok html/template 0.292s ok image 0.602s ok image/color 0.073s ok image/draw 0.865s ok image/gif 1.447s ok image/jpeg 1.583s ok image/png 3.761s ok index/suffixarray 1.481s ok internal/abi 42.252s ok internal/buildcfg 0.056s ok internal/coverage/cformat 0.054s ok internal/coverage/cmerge 0.050s ok internal/coverage/pods 0.142s ok internal/coverage/slicereader 0.118s ok internal/coverage/slicewriter 0.108s ok internal/coverage/test 0.123s ok internal/cpu 0.147s ok internal/dag 0.062s ok internal/diff 0.087s ok internal/fmtsort 0.039s ok internal/fuzz 0.060s ok internal/godebug 0.055s ok internal/intern 1.663s ok internal/itoa 0.037s ok internal/poll 0.495s ok internal/profile 0.088s ok internal/reflectlite 0.348s ok internal/safefilepath 0.056s ok internal/saferio 0.319s ok internal/singleflight 0.137s ok internal/testenv 0.061s ok internal/trace 0.583s ok internal/types/errors 2.150s ok internal/unsafeheader 0.145s ok internal/xcoff 0.159s ok io 0.137s ok io/fs 0.310s ok io/ioutil 0.120s ok log 0.126s ok log/syslog 1.327s ok math 0.063s ok math/big 3.595s ok math/bits 0.100s ok math/cmplx 0.154s ok math/rand 3.262s ok mime 0.099s ok mime/multipart 2.386s ok mime/quotedprintable 0.133s ================== WARNING: DATA RACE Write at 0x00c000de4d08 by goroutine 7790: 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 0x00c000de4d08 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 7790 (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 0x00c000dbad30 by goroutine 7790: 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 0x00c000dbad30 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 7790 (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.29s) testing.go:1446: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c002125ba8 by goroutine 20561: 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 0x00c002125ba8 by goroutine 20560: 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 20561 (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 20560 (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 0x00c002140e50 by goroutine 20561: 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 0x00c002140e50 by goroutine 20560: 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 20561 (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 20560 (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.80s) testing.go:1446: race detected during execution of test FAIL FAIL net 21.232s FAIL go tool dist: Failed: exit status 1