linux-amd64-race at 04d98a9cbbadea0126af48d890e7b2d5cbffa9f8 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn3b9fb20" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=100ms" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/go/src Building Go cmd/dist using /go1.4. (go1.4 linux/amd64) 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 /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/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-jessie-rn3b9fb20" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=100ms" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/go/bin ##### Testing packages. ok archive/tar 0.171s ok archive/zip 2.465s ok bufio 0.694s ok bytes 4.321s ok compress/bzip2 1.126s ok compress/flate 11.437s ok compress/gzip 0.515s ok compress/lzw 1.139s ok compress/zlib 8.304s ok container/heap 0.041s ok container/list 0.023s ok container/ring 0.033s ok context 0.051s ok crypto 0.035s ok crypto/aes 0.092s ok crypto/cipher 0.074s ok crypto/des 0.136s ok crypto/dsa 0.034s ok crypto/ecdsa 1.244s ok crypto/ed25519 1.111s ok crypto/elliptic 0.325s ok crypto/hmac 0.036s ok crypto/internal/subtle 0.025s ok crypto/md5 0.034s ok crypto/rand 0.274s ok crypto/rc4 0.956s ok crypto/rsa 0.401s ok crypto/sha1 0.089s ok crypto/sha256 0.059s ok crypto/sha512 0.034s ok crypto/subtle 0.040s ok crypto/tls 2.348s ok crypto/x509 2.023s ok database/sql 0.744s ok database/sql/driver 0.055s ok debug/dwarf 0.074s ok debug/elf 0.159s ok debug/gosym 0.280s ok debug/macho 0.067s ok debug/pe 0.052s ok debug/plan9obj 0.029s ok embed/internal/embedtest 0.026s ok encoding/ascii85 0.040s ok encoding/asn1 0.032s ok encoding/base32 0.120s ok encoding/base64 0.056s ok encoding/binary 0.032s ok encoding/csv 0.057s ok encoding/gob 0.094s ok encoding/hex 0.044s ok encoding/json 1.698s ok encoding/pem 0.094s ok encoding/xml 0.167s ok errors 0.044s ok expvar 0.034s ok flag 0.103s ok fmt 0.900s ok go/ast 0.044s ok go/build 2.427s ok go/constant 0.033s ok go/doc 0.236s ok go/format 0.074s ok go/importer 0.337s ok go/internal/gccgoimporter 0.075s ok go/internal/gcimporter 25.421s ok go/internal/srcimporter 12.264s ok go/parser 0.312s ok go/printer 2.784s ok go/scanner 0.036s ok go/token 0.146s ok go/types 12.263s ok hash 0.035s ok hash/adler32 0.096s ok hash/crc32 0.083s ok hash/crc64 0.061s ok hash/fnv 0.025s ok hash/maphash 0.600s ok html 0.032s ok html/template 0.508s ok image 0.909s ok image/color 0.075s ok image/draw 0.620s ok image/gif 2.762s ok image/jpeg 2.294s ok image/png 0.500s ok index/suffixarray 1.995s ok internal/cpu 0.091s ok internal/fmtsort 0.036s ok internal/poll 0.588s ok internal/profile 0.039s ok internal/reflectlite 0.267s ok internal/singleflight 0.053s ok internal/trace 0.236s ok internal/unsafeheader 0.035s ok internal/xcoff 0.068s ok io 0.074s ok io/fs 0.046s ok io/ioutil 0.039s ok log 0.058s ok log/syslog 1.274s ok math 0.053s ok math/big 4.346s ok math/bits 0.046s ok math/cmplx 0.036s ok math/rand 4.213s ok mime 0.054s ok mime/multipart 2.505s ok mime/quotedprintable 0.087s ok net 14.349s ok net/http 15.950s ok net/http/cgi 0.511s ok net/http/cookiejar 0.077s ok net/http/fcgi 0.044s ok net/http/httptest 0.196s ok net/http/httptrace 0.022s ok net/http/httputil 0.227s ok net/http/internal 0.036s ok net/http/pprof 5.241s ok net/internal/socktest 0.027s ok net/mail 0.048s ok net/rpc 0.080s ok net/rpc/jsonrpc 0.063s ok net/smtp 0.064s ok net/textproto 0.053s ok net/url 0.044s ok os 1.207s ok os/exec 1.662s ok os/signal 2.217s ok os/user 0.021s ok path 0.042s ok path/filepath 0.065s ok plugin 0.022s ok reflect 0.582s ok regexp 0.768s ok regexp/syntax 3.599s ok runtime 54.204s ok runtime/debug 0.098s ok runtime/internal/atomic 0.088s ok runtime/internal/math 0.034s ok runtime/internal/sys 0.027s ok runtime/metrics 0.022s ok runtime/pprof 8.012s ok runtime/race 26.251s ok runtime/trace 1.690s ok sort 0.785s ok strconv 4.573s ok strings 3.063s ok sync 1.527s ok sync/atomic 0.608s ok syscall 0.205s ok testing 1.699s ok testing/fstest 0.025s ok testing/iotest 0.039s ok testing/quick 0.322s ok text/scanner 0.061s ok text/tabwriter 0.034s ok text/template 0.305s ok text/template/parse 0.106s ok time 2.295s ok unicode 0.034s ok unicode/utf16 0.042s ok unicode/utf8 0.045s ok cmd/addr2line 5.119s ok cmd/api 7.919s ok cmd/asm/internal/asm 3.906s ok cmd/asm/internal/lex 0.033s ok cmd/compile 43.437s ok cmd/compile/internal/gc 14.221s ok cmd/compile/internal/logopt 0.176s ok cmd/compile/internal/ssa 3.975s ok cmd/compile/internal/syntax 0.120s ok cmd/compile/internal/test 0.075s ok cmd/compile/internal/types 0.033s ok cmd/cover 4.658s ok cmd/doc 1.358s ok cmd/fix 1.633s go test proxy running at GOPROXY=http://127.0.0.1:38731/mod --- FAIL: TestScript (0.11s) --- FAIL: TestScript/mod_retract (0.34s) script_test.go:211: # Populate go.sum. (0.087s) # 'go list pkg' does not report an error when a retracted version is used. (0.069s) # Nor does 'go build'. (0.000s) # Neither 'go list' nor 'go build' should download go.mod from the version # that would list retractions. (0.000s) # Importing a package from a module with a retracted latest version will # select the latest non-retracted version. (0.175s) > go get -d ./use_self_prev [stderr] go: downloading example.com v1.0.0 go: downloading example.com/retract/self/prev v1.1.0 go: downloading example.com/retract v1.1.0 ================== WARNING: DATA RACE Read at 0x00c0002c0ce8 by main goroutine: cmd/go/internal/modget.reportRetractions() /workdir/go/src/cmd/go/internal/modget/get.go:550 +0x224 cmd/go/internal/modget.runGet() /workdir/go/src/cmd/go/internal/modget/get.go:490 +0x931 main.main() /workdir/go/src/cmd/go/main.go:195 +0xb94 Previous write at 0x00c0002c0ce8 by goroutine 76: cmd/go/internal/modload.addRetraction() /workdir/go/src/cmd/go/internal/modload/build.go:132 +0x424 cmd/go/internal/modload.ListModules.func1.1() /workdir/go/src/cmd/go/internal/modload/list.go:40 +0x84 Goroutine 76 (finished) created at: cmd/go/internal/modload.ListModules.func1() /workdir/go/src/cmd/go/internal/modload/list.go:32 +0xe4 cmd/go/internal/modload.ListModules() /workdir/go/src/cmd/go/internal/modload/list.go:46 +0x1fa cmd/go/internal/modget.reportRetractions() /workdir/go/src/cmd/go/internal/modget/get.go:547 +0x184 cmd/go/internal/modget.runGet() /workdir/go/src/cmd/go/internal/modget/get.go:490 +0x931 main.main() /workdir/go/src/cmd/go/main.go:195 +0xb94 ================== ================== WARNING: DATA RACE Read at 0x00c000058ac0 by main goroutine: cmd/go/internal/modget.reportRetractions() /workdir/go/src/cmd/go/internal/modget/get.go:556 +0x2b9 cmd/go/internal/modget.runGet() /workdir/go/src/cmd/go/internal/modget/get.go:490 +0x931 main.main() /workdir/go/src/cmd/go/main.go:195 +0xb94 Previous write at 0x00c000058ac0 by goroutine 76: cmd/go/internal/modload.checkRetractions() /workdir/go/src/cmd/go/internal/modload/modfile.go:163 +0x4a4 cmd/go/internal/modload.addRetraction() /workdir/go/src/cmd/go/internal/modload/build.go:126 +0x104 cmd/go/internal/modload.ListModules.func1.1() /workdir/go/src/cmd/go/internal/modload/list.go:40 +0x84 Goroutine 76 (finished) created at: cmd/go/internal/modload.ListModules.func1() /workdir/go/src/cmd/go/internal/modload/list.go:32 +0xe4 cmd/go/internal/modload.ListModules() /workdir/go/src/cmd/go/internal/modload/list.go:46 +0x1fa cmd/go/internal/modget.reportRetractions() /workdir/go/src/cmd/go/internal/modget/get.go:547 +0x184 cmd/go/internal/modget.runGet() /workdir/go/src/cmd/go/internal/modget/get.go:490 +0x931 main.main() /workdir/go/src/cmd/go/main.go:195 +0xb94 ================== go: warning: example.com/retract@v1.0.0-bad is retracted: bad go: run 'go get example.com/retract@latest' to switch to the latest unretracted version Found 2 data race(s) [exit status 66] FAIL: testdata/script/mod_retract.txt:23: unexpected command failure FAIL FAIL cmd/go 151.822s FAIL go tool dist: Failed: exit status 1 Error: tests failed: dist test failed: go_test:cmd/go: exit status 1