darwin-amd64-race at de2efc2aa1448cfcf28fec66ce0ff3f979fc2f12 :: 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=BBE1CCD5-BF89-40FD-BEA2-DB45DC3C2A08" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.om9dVSGVs9/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=173EE350-49DB-454B-A0BB-2D26F6D02680" "__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=BBE1CCD5-BF89-40FD-BEA2-DB45DC3C2A08" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.om9dVSGVs9/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=173EE350-49DB-454B-A0BB-2D26F6D02680" "__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.687s ok archive/zip 2.419s ok bufio 0.491s ok bytes 5.541s ok compress/bzip2 0.792s ok compress/flate 8.896s ok compress/gzip 18.610s ok compress/lzw 0.801s ok compress/zlib 7.571s ok container/heap 0.043s ok container/list 0.033s ok container/ring 0.037s ok context 0.114s ok crypto 0.067s ok crypto/aes 0.148s ok crypto/cipher 0.090s ok crypto/des 0.108s ok crypto/dsa 0.080s ok crypto/ecdh 0.198s ok crypto/ecdsa 0.167s ok crypto/ed25519 0.463s ok crypto/elliptic 0.068s ok crypto/hmac 0.048s ok crypto/internal/alias 0.030s ok crypto/internal/bigmod 4.012s ok crypto/internal/boring 0.044s ok crypto/internal/boring/bcache 0.490s ok crypto/internal/edwards25519 47.980s ok crypto/internal/edwards25519/field 17.363s ok crypto/internal/nistec 4.606s ok crypto/internal/nistec/fiat 0.042s [no tests to run] ok crypto/md5 0.083s ok crypto/rand 0.422s ok crypto/rc4 0.524s ok crypto/rsa 0.654s ok crypto/sha1 0.088s ok crypto/sha256 0.070s ok crypto/sha512 0.082s ok crypto/subtle 0.560s ok crypto/tls 3.964s ok crypto/x509 1.780s ok database/sql 0.519s ok database/sql/driver 0.049s ok debug/buildinfo 0.079s ok debug/dwarf 0.096s ok debug/elf 1.544s ok debug/gosym 0.143s ok debug/macho 0.071s ok debug/pe 0.090s ok debug/plan9obj 0.084s ok embed 0.079s [no tests to run] ok embed/internal/embedtest 0.045s ok encoding/ascii85 0.045s ok encoding/asn1 0.043s ok encoding/base32 0.222s ok encoding/base64 0.065s ok encoding/binary 0.050s ok encoding/csv 0.110s ok encoding/gob 30.133s ok encoding/hex 0.067s ok encoding/json 2.163s ok encoding/pem 2.578s ok encoding/xml 0.302s ok errors 0.058s ok expvar 0.044s ok flag 0.160s ok fmt 0.747s ok go/ast 0.079s ok go/build 7.148s ok go/build/constraint 0.081s ok go/constant 0.065s ok go/doc 0.410s ok go/doc/comment 6.104s ok go/format 0.116s ok go/importer 1.127s ok go/internal/gccgoimporter 0.189s ok go/internal/gcimporter 5.975s ok go/internal/srcimporter 26.152s ok go/parser 1.107s ok go/printer 1.589s ok go/scanner 0.042s ok go/token 0.124s ok go/types 47.911s ok hash 0.044s ok hash/adler32 0.061s ok hash/crc32 0.103s ok hash/crc64 0.072s ok hash/fnv 0.067s ok hash/maphash 0.084s ok html 0.075s ok html/template 0.490s ok image 0.868s ok image/color 0.164s ok image/draw 1.009s ok image/gif 1.792s ok image/jpeg 1.993s ok image/png 5.165s ok index/suffixarray 1.803s ok internal/abi 39.234s ok internal/buildcfg 0.089s ok internal/coverage/cformat 0.104s ok internal/coverage/cmerge 0.060s ok internal/coverage/pods 0.057s ok internal/coverage/slicereader 0.070s ok internal/coverage/slicewriter 0.037s ok internal/coverage/test 0.134s ok internal/cpu 0.160s ok internal/dag 0.056s ok internal/diff 0.074s ok internal/fmtsort 0.034s ok internal/fuzz 0.062s ok internal/godebug 0.054s ok internal/intern 1.486s ok internal/itoa 0.090s ok internal/poll 0.703s ok internal/profile 0.075s ok internal/reflectlite 0.312s ok internal/safefilepath 0.066s ok internal/saferio 0.217s ok internal/singleflight 0.134s ok internal/testenv 0.061s ok internal/trace 0.383s ok internal/types/errors 1.704s ok internal/unsafeheader 0.054s ok internal/xcoff 0.167s ok io 0.154s ok io/fs 0.287s ok io/ioutil 0.060s ok log 0.058s ok log/syslog 1.299s ok math 0.065s ok math/big 3.854s ok math/bits 0.145s ok math/cmplx 0.118s ok math/rand 2.801s ok mime 0.086s ok mime/multipart 2.188s ok mime/quotedprintable 0.101s ================== WARNING: DATA RACE Write at 0x00c000452e10 by goroutine 4006: 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 0x00c000452e10 by goroutine 752: 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 4006 (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 752 (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 0x00c0005ecd60 by goroutine 4006: 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 0x00c0005ecd60 by goroutine 752: 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 4006 (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 752 (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 (2.11s) testing.go:1446: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c001c75200 by goroutine 13830: 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 0x00c001c75200 by goroutine 13829: 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 13830 (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 13829 (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 0x00c001a6dbd0 by goroutine 13830: 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 0x00c001a6dbd0 by goroutine 13829: 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 13830 (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 13829 (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.43s) testing.go:1446: race detected during execution of test FAIL FAIL net 19.566s FAIL go tool dist: Failed: exit status 1