darwin-amd64-race at 780db9a63d73f26dd9614b67e6129b55e854a174 :: 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=712ADEBC-2E61-4FF0-9870-0B34F4FEB64C" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.dKuoBr8jkX/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=AE075EC4-F31D-4925-8736-30EABDB43E73" "__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=712ADEBC-2E61-4FF0-9870-0B34F4FEB64C" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.dKuoBr8jkX/Listeners" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=AE075EC4-F31D-4925-8736-30EABDB43E73" "__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.810s ok archive/zip 2.236s ok bufio 0.542s ok bytes 5.033s ok compress/bzip2 0.658s ok compress/flate 8.011s ok compress/gzip 14.379s ok compress/lzw 0.730s ok compress/zlib 5.439s ok container/heap 0.052s ok container/list 0.052s ok container/ring 0.043s ok context 0.085s ok crypto 0.056s ok crypto/aes 0.090s ok crypto/cipher 0.070s ok crypto/des 0.099s ok crypto/dsa 0.061s ok crypto/ecdh 0.264s ok crypto/ecdsa 0.164s ok crypto/ed25519 0.450s ok crypto/elliptic 0.084s ok crypto/hmac 0.045s ok crypto/internal/alias 0.028s ok crypto/internal/bigmod 3.865s ok crypto/internal/boring 0.050s ok crypto/internal/boring/bcache 0.485s ok crypto/internal/edwards25519 45.632s ok crypto/internal/edwards25519/field 15.152s ok crypto/internal/nistec 4.358s ok crypto/internal/nistec/fiat 0.071s [no tests to run] ok crypto/md5 0.074s ok crypto/rand 0.449s ok crypto/rc4 0.762s ok crypto/rsa 0.623s ok crypto/sha1 0.095s ok crypto/sha256 0.084s ok crypto/sha512 0.115s ok crypto/subtle 0.570s ok crypto/tls 3.569s ok crypto/x509 1.718s ok database/sql 0.581s ok database/sql/driver 0.057s ok debug/buildinfo 0.093s ok debug/dwarf 0.115s ok debug/elf 1.546s ok debug/gosym 0.191s ok debug/macho 0.089s ok debug/pe 0.232s ok debug/plan9obj 0.126s ok embed 0.130s [no tests to run] ok embed/internal/embedtest 0.068s ok encoding/ascii85 0.066s ok encoding/asn1 0.049s ok encoding/base32 0.165s ok encoding/base64 0.083s ok encoding/binary 0.054s ok encoding/csv 0.110s ok encoding/gob 34.065s ok encoding/hex 0.071s ok encoding/json 2.703s ok encoding/pem 2.982s ok encoding/xml 0.333s ok errors 0.058s ok expvar 0.059s ok flag 0.162s ok fmt 0.754s ok go/ast 0.103s ok go/build 7.971s ok go/build/constraint 0.103s ok go/constant 0.059s ok go/doc 0.415s ok go/doc/comment 6.557s ok go/format 0.129s ok go/importer 1.381s ok go/internal/gccgoimporter 0.159s ok go/internal/gcimporter 6.816s ok go/internal/srcimporter 26.592s ok go/parser 1.124s ok go/printer 1.651s ok go/scanner 0.046s ok go/token 0.155s ok go/types 46.888s ok hash 0.054s ok hash/adler32 0.096s ok hash/crc32 0.098s ok hash/crc64 0.096s ok hash/fnv 0.046s ok hash/maphash 0.055s ok html 0.042s ok html/template 0.350s ok image 0.649s ok image/color 0.120s ok image/draw 0.926s ok image/gif 1.764s ok image/jpeg 1.788s ok image/png 4.167s ok index/suffixarray 1.736s ok internal/abi 40.952s ok internal/buildcfg 0.065s ok internal/coverage/cformat 0.076s ok internal/coverage/cmerge 0.063s ok internal/coverage/pods 0.059s ok internal/coverage/slicereader 0.044s ok internal/coverage/slicewriter 0.037s ok internal/coverage/test 0.087s ok internal/cpu 0.164s ok internal/dag 0.076s ok internal/diff 0.094s ok internal/fmtsort 0.055s ok internal/fuzz 0.065s ok internal/godebug 0.071s ok internal/intern 1.280s ok internal/itoa 0.085s ok internal/poll 0.460s ok internal/profile 0.091s ok internal/reflectlite 0.292s ok internal/safefilepath 0.050s ok internal/saferio 0.205s ok internal/singleflight 0.179s ok internal/testenv 0.082s ok internal/trace 0.353s ok internal/types/errors 1.555s ok internal/unsafeheader 0.071s ok internal/xcoff 0.189s ok io 0.100s ok io/fs 0.241s ok io/ioutil 0.113s ok log 0.071s ok log/syslog 1.305s ok math 0.054s ok math/big 3.169s ok math/bits 0.101s ok math/cmplx 0.120s ok math/rand 2.644s ok mime 0.077s ok mime/multipart 2.057s ok mime/quotedprintable 0.111s ================== WARNING: DATA RACE Write at 0x00c00111c2e8 by goroutine 6243: 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 0x00c00111c2e8 by goroutine 751: 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 6243 (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 751 (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 0x00c00111e370 by goroutine 6243: 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 0x00c00111e370 by goroutine 751: 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 6243 (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 751 (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 (4.30s) testing.go:1446: race detected during execution of test ================== WARNING: DATA RACE Write at 0x00c0018d54b8 by goroutine 23039: 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 0x00c0018d54b8 by goroutine 23038: 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 23039 (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 23038 (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 0x00c0012b5fa0 by goroutine 23039: 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 0x00c0012b5fa0 by goroutine 23038: 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 23039 (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 23038 (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.78s) testing.go:1446: race detected during execution of test FAIL FAIL net 21.170s FAIL go tool dist: Failed: exit status 1