linux-amd64-race at 6861ce7f90b59c8088a2c60b02158e184dd04195 :: Running /tmp/workdir/go/src/make.bash with args ["/tmp/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-kubestd-rn3634e04" "IN_KUBERNETES=1" "META_BUILDLET_BINARY_URL=http://storage.googleapis.com/go-builder-data/buildlet.linux-amd64" "META_BUILDLET_HOST_TYPE=host-linux-kubestd" "KUBERNETES_PORT=tcp://10.3.240.1:443" "KUBERNETES_PORT_443_TCP=tcp://10.3.240.1:443" "KUBERNETES_PORT_443_TCP_PROTO=tcp" "KUBERNETES_PORT_443_TCP_PORT=443" "KUBERNETES_PORT_443_TCP_ADDR=10.3.240.1" "KUBERNETES_SERVICE_HOST=10.3.240.1" "KUBERNETES_SERVICE_PORT=443" "KUBERNETES_SERVICE_PORT_HTTPS=443" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "WORKDIR=/tmp/workdir" "GOROOT_BOOTSTRAP=/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOBIN="] in dir /tmp/workdir/go/src ##### Building Go bootstrap tool. cmd/dist ##### Building Go toolchain using /go1.4. bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/objabi bootstrap/cmd/internal/src bootstrap/cmd/internal/sys bootstrap/cmd/asm/internal/flags bootstrap/cmd/internal/bio bootstrap/math/bits bootstrap/cmd/internal/gcprog bootstrap/debug/pe bootstrap/cmd/compile/internal/syntax bootstrap/math/big bootstrap/cmd/internal/obj bootstrap/cmd/asm/internal/lex bootstrap/cmd/link/internal/ld bootstrap/cmd/internal/obj/arm bootstrap/cmd/internal/obj/arm64 bootstrap/cmd/internal/obj/mips bootstrap/cmd/internal/obj/ppc64 bootstrap/cmd/internal/obj/s390x bootstrap/cmd/internal/obj/x86 bootstrap/cmd/compile/internal/types bootstrap/cmd/asm/internal/arch bootstrap/cmd/compile/internal/ssa bootstrap/cmd/asm/internal/asm bootstrap/cmd/asm bootstrap/cmd/link/internal/amd64 bootstrap/cmd/link/internal/arm bootstrap/cmd/link/internal/arm64 bootstrap/cmd/link/internal/mips bootstrap/cmd/link/internal/mips64 bootstrap/cmd/link/internal/ppc64 bootstrap/cmd/link/internal/s390x bootstrap/cmd/link/internal/x86 bootstrap/cmd/link bootstrap/cmd/compile/internal/gc bootstrap/cmd/compile/internal/amd64 bootstrap/cmd/compile/internal/arm bootstrap/cmd/compile/internal/arm64 bootstrap/cmd/compile/internal/mips bootstrap/cmd/compile/internal/mips64 bootstrap/cmd/compile/internal/ppc64 bootstrap/cmd/compile/internal/s390x bootstrap/cmd/compile/internal/x86 bootstrap/cmd/compile ##### Building go_bootstrap for host, linux/amd64. runtime/internal/sys runtime/internal/atomic runtime encoding errors internal/cpu internal/race internal/syscall/windows/sysdll math/bits sync/atomic unicode unicode/utf16 unicode/utf8 math sync internal/singleflight io syscall cmd/go/internal/web hash bytes strings hash/adler32 strconv bufio path reflect encoding/base64 crypto crypto/sha1 internal/syscall/windows internal/syscall/windows/registry time internal/poll os os/signal sort encoding/binary fmt container/heap regexp/syntax path/filepath io/ioutil context flag go/token log cmd/go/internal/str net/url text/template/parse compress/flate encoding/xml encoding/json debug/dwarf go/scanner os/exec regexp cmd/internal/objabi go/ast compress/zlib text/template debug/macho debug/elf go/parser go/doc go/build cmd/go/internal/cfg cmd/go/internal/base cmd/go/internal/buildid cmd/go/internal/cmdflag cmd/go/internal/doc cmd/go/internal/help cmd/go/internal/load cmd/go/internal/tool cmd/go/internal/version cmd/go/internal/fix cmd/go/internal/fmtcmd cmd/go/internal/work cmd/go/internal/clean cmd/go/internal/envcmd cmd/go/internal/generate cmd/go/internal/get cmd/go/internal/list cmd/go/internal/run cmd/go/internal/test cmd/go/internal/vet cmd/go/internal/bug cmd/go ##### Building packages and commands for linux/amd64. runtime/internal/sys runtime/internal/atomic runtime errors internal/cpu internal/race sync/atomic unicode unicode/utf8 container/list math/bits container/ring crypto/subtle crypto/internal/cipherhw internal/nettrace vendor/golang_org/x/crypto/curve25519 encoding unicode/utf16 image/color internal/syscall/windows internal/syscall/windows/registry internal/syscall/windows/sysdll runtime/race vendor/golang_org/x/text/secure vendor/golang_org/x/text/unicode cmd/compile/internal/test cmd/vet/internal/whitelist vendor/golang_org/x/crypto/poly1305 math sync image/color/palette io syscall internal/singleflight hash crypto/cipher runtime/trace hash/adler32 hash/crc32 crypto/hmac hash/crc64 hash/fnv bytes strings strconv math/rand math/cmplx bufio text/tabwriter vendor/golang_org/x/text/transform path html reflect cmd/internal/src crypto crypto/aes crypto/rc4 encoding/base64 encoding/ascii85 encoding/base32 image crypto/sha512 crypto/md5 crypto/sha1 crypto/sha256 time internal/syscall/unix image/internal/imageutil image/draw image/jpeg internal/poll os os/signal fmt sort encoding/binary path/filepath regexp/syntax compress/bzip2 container/heap encoding/pem runtime/debug cmd/internal/sys crypto/des vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20 vendor/golang_org/x/crypto/chacha20poly1305 io/ioutil log compress/flate debug/dwarf flag debug/gosym debug/plan9obj cmd/vendor/golang.org/x/arch/arm/armasm cmd/vendor/golang.org/x/arch/x86/x86asm archive/tar compress/lzw context math/big encoding/hex go/token encoding/csv encoding/gob encoding/json encoding/xml vendor/golang_org/x/net/http2/hpack vendor/golang_org/x/text/unicode/norm net/url mime mime/quotedprintable net/http/internal text/template/parse text/scanner net/internal/socktest cmd/internal/dwarf cmd/compile/internal/syntax cmd/internal/gcprog cmd/go/internal/str cmd/vendor/golang.org/x/arch/ppc64/ppc64asm vendor/golang_org/x/text/unicode/bidi image/gif testing/iotest os/exec database/sql/driver go/scanner cmd/internal/bio regexp cmd/pack cmd/vendor/github.com/ianlancetaylor/demangle compress/zlib archive/zip compress/gzip go/ast cmd/internal/objabi testing testing/quick cmd/asm/internal/flags database/sql image/png runtime/pprof internal/trace cmd/internal/browser index/suffixarray runtime/pprof/internal/profile cmd/vendor/github.com/google/pprof/profile cmd/vendor/github.com/google/pprof/third_party/svg cmd/internal/goobj cmd/internal/obj cmd/asm/internal/lex vendor/golang_org/x/text/secure/bidirule text/template vendor/golang_org/x/net/idna cmd/dist debug/elf debug/macho debug/pe testing/internal/testdeps internal/testenv cmd/vendor/github.com/google/pprof/internal/proftest html/template crypto/dsa crypto/elliptic encoding/asn1 crypto/rand go/constant cmd/internal/obj/arm cmd/internal/obj/arm64 cmd/internal/obj/mips cmd/internal/obj/ppc64 cmd/internal/obj/s390x cmd/internal/obj/x86 cmd/compile/internal/types go/parser go/printer go/doc crypto/rsa cmd/internal/objfile cmd/link/internal/ld cmd/vendor/github.com/google/pprof/internal/elfexec crypto/x509/pkix cmd/vendor/github.com/google/pprof/internal/plugin cmd/vendor/github.com/google/pprof/internal/measurement crypto/ecdsa cmd/vendor/github.com/google/pprof/internal/binutils cmd/vendor/github.com/google/pprof/internal/symbolz cmd/vendor/github.com/google/pprof/internal/graph cmd/addr2line cmd/nm cmd/objdump cmd/cgo go/types go/format go/build cmd/gofmt cmd/fix cmd/vet/internal/cfg cmd/vendor/github.com/google/pprof/internal/report cmd/cover cmd/doc cmd/go/internal/cfg cmd/go/internal/base cmd/go/internal/buildid cmd/asm/internal/arch cmd/compile/internal/ssa cmd/go/internal/load cmd/go/internal/cmdflag cmd/go/internal/help cmd/go/internal/doc cmd/go/internal/tool cmd/go/internal/version cmd/asm/internal/asm cmd/asm cmd/go/internal/work cmd/go/internal/fix cmd/go/internal/fmtcmd go/internal/gccgoimporter go/internal/gcimporter go/internal/srcimporter cmd/api runtime/cgo go/importer cmd/vet cmd/go/internal/envcmd cmd/go/internal/clean cmd/go/internal/generate cmd/go/internal/list cmd/go/internal/run cmd/go/internal/test cmd/go/internal/vet cmd/link/internal/amd64 cmd/link/internal/ppc64 cmd/link/internal/arm64 cmd/link/internal/mips cmd/link/internal/mips64 cmd/link/internal/arm cmd/link/internal/s390x cmd/link/internal/x86 cmd/link net os/user plugin crypto/x509 vendor/golang_org/x/net/lex/httplex vendor/golang_org/x/net/proxy net/textproto log/syslog vendor/golang_org/x/net/nettest mime/multipart net/mail crypto/tls net/http/httptrace net/smtp net/http expvar net/http/cgi net/http/cookiejar net/http/httptest net/http/httputil net/http/pprof net/rpc cmd/go/internal/web cmd/vendor/github.com/google/pprof/internal/symbolizer cmd/trace cmd/go/internal/bug cmd/go/internal/get cmd/vendor/github.com/google/pprof/internal/driver net/http/fcgi net/rpc/jsonrpc cmd/go cmd/vendor/github.com/google/pprof/driver cmd/pprof cmd/compile/internal/gc cmd/compile/internal/amd64 cmd/compile/internal/arm cmd/compile/internal/arm64 cmd/compile/internal/mips cmd/compile/internal/mips64 cmd/compile/internal/ppc64 cmd/compile/internal/s390x cmd/compile/internal/x86 cmd/compile --- Installed Go for linux/amd64 in /tmp/workdir/go Installed commands in /tmp/workdir/go/bin :: Running /tmp/workdir/go/bin/go with args ["/tmp/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-kubestd-rn3634e04" "IN_KUBERNETES=1" "META_BUILDLET_BINARY_URL=http://storage.googleapis.com/go-builder-data/buildlet.linux-amd64" "META_BUILDLET_HOST_TYPE=host-linux-kubestd" "KUBERNETES_PORT=tcp://10.3.240.1:443" "KUBERNETES_PORT_443_TCP=tcp://10.3.240.1:443" "KUBERNETES_PORT_443_TCP_PROTO=tcp" "KUBERNETES_PORT_443_TCP_PORT=443" "KUBERNETES_PORT_443_TCP_ADDR=10.3.240.1" "KUBERNETES_SERVICE_HOST=10.3.240.1" "KUBERNETES_SERVICE_PORT=443" "KUBERNETES_SERVICE_PORT_HTTPS=443" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "WORKDIR=/tmp/workdir" "GOROOT_BOOTSTRAP=/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOBIN="] in dir /tmp/workdir/go/bin ##### cmd/go terminal test skipping terminal test; stdout/stderr not terminals ##### Testing packages. ok archive/tar 1.245s ok archive/zip 5.498s ok bufio 1.927s ok bytes 5.077s ok compress/bzip2 2.401s ok compress/flate 7.857s ok compress/gzip 1.352s ok compress/lzw 2.139s ok compress/zlib 9.724s ok container/heap 1.056s ok container/list 1.039s ok container/ring 1.180s ok context 2.033s ok crypto/aes 1.107s ok crypto/cipher 1.090s ok crypto/des 1.164s ok crypto/dsa 1.073s ok crypto/ecdsa 1.738s ok crypto/elliptic 1.154s ok crypto/hmac 1.117s ok crypto/md5 1.100s ok crypto/rand 1.382s ok crypto/rc4 2.099s ok crypto/rsa 1.535s ok crypto/sha1 1.077s ok crypto/sha256 1.078s ok crypto/sha512 1.062s ok crypto/subtle 1.107s ok crypto/tls 3.070s ok crypto/x509 4.252s ok database/sql 1.802s ok database/sql/driver 1.039s ok debug/dwarf 1.080s ok debug/elf 1.145s ok debug/gosym 1.489s ok debug/macho 1.139s ok debug/pe 1.097s ok debug/plan9obj 1.072s ok encoding/ascii85 1.051s ok encoding/asn1 1.128s ok encoding/base32 1.168s ok encoding/base64 1.058s ok encoding/binary 1.143s ok encoding/csv 1.031s ok encoding/gob 1.182s ok encoding/hex 1.040s ok encoding/json 4.831s ok encoding/pem 1.117s ok encoding/xml 1.170s ok errors 1.035s ok expvar 1.080s ok flag 1.040s ok fmt 1.997s ok go/ast 1.040s ok go/build 1.493s ok go/constant 1.065s ok go/doc 1.298s ok go/format 1.100s ok go/internal/gccgoimporter 1.059s ok go/internal/gcimporter 6.412s ok go/internal/srcimporter 4.666s ok go/parser 1.190s ok go/printer 3.900s ok go/scanner 1.040s ok go/token 1.245s ok go/types 8.363s ok hash/adler32 1.094s ok hash/crc32 1.117s ok hash/crc64 1.029s ok hash/fnv 1.038s ok html 1.034s ok html/template 1.250s ok image 1.949s ok image/color 1.096s ok image/draw 1.635s ok image/gif 1.603s ok image/jpeg 3.570s ok image/png 1.449s ok index/suffixarray 1.092s ok internal/cpu 1.043s ok internal/poll 1.126s ok internal/singleflight 1.040s ok internal/trace 4.492s ok io 1.068s ok io/ioutil 1.030s ok log 1.043s ok log/syslog 2.290s ok math 1.038s ok math/big 6.838s ok math/bits 1.028s ok math/cmplx 1.047s ok math/rand 4.217s ok mime 1.074s ok mime/multipart 4.794s ok mime/quotedprintable 1.685s PASS ================== WARNING: DATA RACE Read at 0x000000914450 by goroutine 134: internal/poll.(*FD).destroy() /tmp/workdir/go/src/internal/poll/fd_unix.go:62 +0x52 internal/poll.(*FD).decref() /tmp/workdir/go/src/internal/poll/fd_mutex.go:211 +0x55 internal/poll.(*FD).Close() /tmp/workdir/go/src/internal/poll/fd_unix.go:81 +0xf5 net.(*netFD).Close() /tmp/workdir/go/src/net/fd_unix.go:184 +0x6a net.(*conn).Close() /tmp/workdir/go/src/net/net.go:200 +0x63 net.(*UDPConn).Close() :1 +0x43 net.(*dnsPacketConn).Close() :1 +0x5b net.(*Resolver).exchange() /tmp/workdir/go/src/net/dnsclient_unix.go:145 +0x5b2 net.(*Resolver).tryOneName() /tmp/workdir/go/src/net/dnsclient_unix.go:161 +0x1f5 net.(*Resolver).goLookupIPCNAMEOrder.func1() /tmp/workdir/go/src/net/dnsclient_unix.go:483 +0xb1 Previous write at 0x000000914450 by main goroutine: net.uninstallTestHooks() /tmp/workdir/go/src/net/main_unix_test.go:39 +0x80 sync.(*Once).Do() /tmp/workdir/go/src/sync/once.go:44 +0xe1 net.TestMain() /tmp/workdir/go/src/net/main_test.go:52 +0x6c main.main() net/_test/_testmain.go:524 +0x1cd Goroutine 134 (running) created at: net.(*Resolver).goLookupIPCNAMEOrder() /tmp/workdir/go/src/net/dnsclient_unix.go:482 +0x256 net.(*Resolver).lookupIP() /tmp/workdir/go/src/net/lookup_unix.go:101 +0xe2 net.(*Resolver).(net.lookupIP)-fm() /tmp/workdir/go/src/net/lookup.go:187 +0x7f net.glob..func10() /tmp/workdir/go/src/net/hook.go:19 +0x6e net.(*Resolver).LookupIPAddr.func1() /tmp/workdir/go/src/net/lookup.go:193 +0xc9 internal/singleflight.(*Group).doCall() /tmp/workdir/go/src/internal/singleflight/singleflight.go:93 +0x4c ================== Found 1 data race(s) FAIL net 8.110s 2017/08/03 20:16:56 Failed: exit status 1 Error: tests failed: dist test failed: go_test:net: exit status 1