linux-amd64-race at e8ca7680f5af6ccecf4882193df934e20dbbbd3b :: 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-rn86420cd" "META_BUILDLET_BINARY_URL=http://storage.googleapis.com/go-builder-data/buildlet.linux-amd64" "META_BUILDLET_HOST_TYPE=host-linux-kubestd" "IN_KUBERNETES=1" "KUBERNETES_SERVICE_PORT_HTTPS=443" "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" "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 cmd/dist using /go1.4. Building Go toolchain1 using /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 linux/amd64. --- 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-rn86420cd" "META_BUILDLET_BINARY_URL=http://storage.googleapis.com/go-builder-data/buildlet.linux-amd64" "META_BUILDLET_HOST_TYPE=host-linux-kubestd" "IN_KUBERNETES=1" "KUBERNETES_SERVICE_PORT_HTTPS=443" "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" "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 ##### Testing packages. ok archive/tar 3.752s ok archive/zip 6.123s ok bufio 1.980s ok bytes 6.950s ok compress/bzip2 2.440s ok compress/flate 9.639s ok compress/gzip 1.545s ok compress/lzw 2.525s ok compress/zlib 12.603s ok container/heap 1.049s ok container/list 1.052s ok container/ring 1.172s ok context 2.064s ok crypto 1.078s ok crypto/aes 1.150s ok crypto/cipher 1.114s ok crypto/des 1.119s ok crypto/dsa 1.092s ok crypto/ecdsa 2.459s ok crypto/elliptic 1.210s ok crypto/hmac 1.223s ok crypto/md5 1.078s ok crypto/rand 1.604s ok crypto/rc4 2.567s ok crypto/rsa 1.649s ok crypto/sha1 1.136s ok crypto/sha256 1.117s ok crypto/sha512 1.118s ok crypto/subtle 1.110s ok crypto/tls 4.202s ok crypto/x509 5.295s ok database/sql 1.951s ok database/sql/driver 1.050s ok debug/dwarf 1.086s ok debug/elf 1.181s ok debug/gosym 1.446s ok debug/macho 1.046s ok debug/pe 1.105s ok debug/plan9obj 1.061s ok encoding/ascii85 1.088s ok encoding/asn1 1.048s ok encoding/base32 1.053s ok encoding/base64 1.110s ok encoding/binary 1.109s ok encoding/csv 1.088s ok encoding/gob 1.245s ok encoding/hex 1.075s ok encoding/json 6.565s ok encoding/pem 1.166s ok encoding/xml 1.216s ok errors 1.047s ok expvar 1.089s ok flag 1.050s ok fmt 2.321s ok go/ast 1.063s ok go/build 1.541s ok go/constant 1.058s ok go/doc 1.349s ok go/format 1.189s ok go/importer 1.416s ok go/internal/gccgoimporter 1.092s ok go/internal/gcimporter 13.432s ok go/internal/srcimporter 5.037s ok go/parser 1.360s ok go/printer 5.331s ok go/scanner 1.131s ok go/token 1.308s ok go/types 11.647s ok hash 1.041s ok hash/adler32 1.123s ok hash/crc32 1.117s ok hash/crc64 1.060s ok hash/fnv 1.037s ok html 1.095s ok html/template 1.279s ok image 1.856s ok image/color 1.118s ok image/draw 1.812s ok image/gif 3.926s ok image/jpeg 4.247s ok image/png 1.527s ok index/suffixarray 1.095s ok internal/cpu 1.064s ok internal/poll 1.094s ok internal/singleflight 1.039s ok internal/trace 6.342s ok io 1.117s ok io/ioutil 1.062s ok log 1.105s ok log/syslog 2.275s ok math 1.060s ok math/big 9.653s ok math/bits 1.050s ok math/cmplx 1.086s ok math/rand 6.972s ok mime 1.080s ok mime/multipart 5.931s ok mime/quotedprintable 1.967s PASS ================== WARNING: DATA RACE Read at 0x000000903670 by goroutine 188: internal/poll.(*FD).destroy() /tmp/workdir/go/src/internal/poll/fd_unix.go:66 +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:86 +0xf5 net.(*netFD).Close() /tmp/workdir/go/src/net/fd_unix.go:184 +0x60 net.(*conn).Close() /tmp/workdir/go/src/net/net.go:200 +0x60 net.(*UDPConn).Close() :1 +0x43 net.(*dnsPacketConn).Close() :1 +0x5b net.(*Resolver).exchange() /tmp/workdir/go/src/net/dnsclient_unix.go:140 +0x614 net.(*Resolver).tryOneName() /tmp/workdir/go/src/net/dnsclient_unix.go:161 +0x1e5 net.(*Resolver).goLookupIPCNAMEOrder.func1() /tmp/workdir/go/src/net/dnsclient_unix.go:483 +0xa5 Previous write at 0x000000903670 by main goroutine: net.uninstallTestHooks() /tmp/workdir/go/src/net/main_unix_test.go:39 +0x7a 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() _testmain.go:530 +0x224 Goroutine 188 (running) created at: net.(*Resolver).goLookupIPCNAMEOrder() /tmp/workdir/go/src/net/dnsclient_unix.go:482 +0x234 net.(*Resolver).lookupIP() /tmp/workdir/go/src/net/lookup_unix.go:101 +0xdf 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 10.352s 2017/11/17 20:55:07 Failed: exit status 1 Error: tests failed: dist test failed: go_test:net: exit status 1