linux-amd64-race at 588ee7987d7f6be605166872ff8c478aa125bc58 building tools at dfd3c1e1e4771b2f30c3f19d07f2c5cd55486eb0 testing in module mode; GOMOD=/workdir/gopath/src/golang.org/x/tools/go.mod :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "-race" "golang.org/x/tools/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn234cc72" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=24s" "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" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.4:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools go: downloading golang.org/x/mod v0.2.0 go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 go: downloading golang.org/x/net v0.0.0-20200226121028-0de0cce0169b ok golang.org/x/tools/benchmark/parse 0.031s ok golang.org/x/tools/blog 0.036s ? golang.org/x/tools/blog/atom [no test files] ? golang.org/x/tools/cmd/auth/authtest [no test files] ? golang.org/x/tools/cmd/auth/cookieauth [no test files] ? golang.org/x/tools/cmd/auth/gitauth [no test files] ? golang.org/x/tools/cmd/auth/netrcauth [no test files] ok golang.org/x/tools/cmd/benchcmp 0.030s ok golang.org/x/tools/cmd/bundle 0.071s ok golang.org/x/tools/cmd/callgraph 32.590s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 1.762s ok golang.org/x/tools/cmd/digraph 0.049s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/fiximports 11.943s ok golang.org/x/tools/cmd/getgo 0.041s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.036s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 21.200s ? golang.org/x/tools/cmd/goimports [no test files] ? golang.org/x/tools/cmd/gomvpkg [no test files] ok golang.org/x/tools/cmd/gorename 10.545s ? golang.org/x/tools/cmd/gotype [no test files] ? golang.org/x/tools/cmd/goyacc [no test files] ok golang.org/x/tools/cmd/guru 0.078s ? golang.org/x/tools/cmd/guru/serial [no test files] ? golang.org/x/tools/cmd/html2article [no test files] ? golang.org/x/tools/cmd/present [no test files] ? golang.org/x/tools/cmd/splitdwarf [no test files] ok golang.org/x/tools/cmd/splitdwarf/internal/macho 0.037s ? golang.org/x/tools/cmd/ssadump [no test files] ? golang.org/x/tools/cmd/stress [no test files] ok golang.org/x/tools/cmd/stringer 16.733s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 2.795s ok golang.org/x/tools/cover 0.032s ? golang.org/x/tools/go/analysis [no test files] ok golang.org/x/tools/go/analysis/analysistest 0.262s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.320s ok golang.org/x/tools/go/analysis/internal/checker 0.198s ok golang.org/x/tools/go/analysis/internal/facts 0.345s ok golang.org/x/tools/go/analysis/multichecker 76.075s ok golang.org/x/tools/go/analysis/passes/asmdecl 2.178s ok golang.org/x/tools/go/analysis/passes/assign 5.149s ok golang.org/x/tools/go/analysis/passes/atomic 0.122s ok golang.org/x/tools/go/analysis/passes/atomicalign 0.141s ok golang.org/x/tools/go/analysis/passes/bools 7.584s ok golang.org/x/tools/go/analysis/passes/buildssa 0.100s ok golang.org/x/tools/go/analysis/passes/buildtag 0.132s ok golang.org/x/tools/go/analysis/passes/cgocall 13.213s ok golang.org/x/tools/go/analysis/passes/composite 10.266s ok golang.org/x/tools/go/analysis/passes/copylock 9.204s ok golang.org/x/tools/go/analysis/passes/ctrlflow 10.295s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 11.540s ok golang.org/x/tools/go/analysis/passes/errorsas 6.134s ok golang.org/x/tools/go/analysis/passes/findcall 0.599s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/httpresponse 23.315s ok golang.org/x/tools/go/analysis/passes/ifaceassert 7.208s ? golang.org/x/tools/go/analysis/passes/ifaceassert/cmd/ifaceassert [no test files] ? golang.org/x/tools/go/analysis/passes/inspect [no test files] ? golang.org/x/tools/go/analysis/passes/internal/analysisutil [no test files] ok golang.org/x/tools/go/analysis/passes/loopclosure 0.105s ok golang.org/x/tools/go/analysis/passes/lostcancel 8.945s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.081s ok golang.org/x/tools/go/analysis/passes/nilness 0.197s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.188s ok golang.org/x/tools/go/analysis/passes/printf 9.852s ok golang.org/x/tools/go/analysis/passes/shadow 7.315s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.132s ok golang.org/x/tools/go/analysis/passes/sortslice 8.367s ok golang.org/x/tools/go/analysis/passes/stdmethods 25.130s ok golang.org/x/tools/go/analysis/passes/stringintconv 0.130s ? golang.org/x/tools/go/analysis/passes/stringintconv/cmd/stringintconv [no test files] ok golang.org/x/tools/go/analysis/passes/structtag 11.208s ok golang.org/x/tools/go/analysis/passes/testinggoroutine 11.740s ok golang.org/x/tools/go/analysis/passes/tests 12.285s ok golang.org/x/tools/go/analysis/passes/unmarshal 12.443s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.210s ok golang.org/x/tools/go/analysis/passes/unsafeptr 9.253s ok golang.org/x/tools/go/analysis/passes/unusedresult 7.517s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 4.129s ok golang.org/x/tools/go/ast/astutil 0.316s ok golang.org/x/tools/go/ast/inspector 1.061s ok golang.org/x/tools/go/buildutil 0.980s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.063s ok golang.org/x/tools/go/callgraph/rta 0.073s ok golang.org/x/tools/go/callgraph/static 0.042s ok golang.org/x/tools/go/cfg 0.033s ok golang.org/x/tools/go/expect 0.042s ok golang.org/x/tools/go/gccgoexportdata 0.026s ok golang.org/x/tools/go/gcexportdata 0.316s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.109s ok golang.org/x/tools/go/internal/gcimporter 34.008s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 44.013s ok golang.org/x/tools/go/packages 220.091s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.255s ok golang.org/x/tools/go/pointer 30.942s ok golang.org/x/tools/go/ssa 37.598s ok golang.org/x/tools/go/ssa/interp 2.315s ok golang.org/x/tools/go/ssa/ssautil 7.943s ok golang.org/x/tools/go/types/objectpath 0.099s ok golang.org/x/tools/go/types/typeutil 5.789s ok golang.org/x/tools/go/vcs 0.092s ok golang.org/x/tools/godoc 4.516s ? golang.org/x/tools/godoc/analysis [no test files] ? golang.org/x/tools/godoc/golangorgenv [no test files] ok golang.org/x/tools/godoc/redirect 5.356s ok golang.org/x/tools/godoc/static 30.147s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.032s ok golang.org/x/tools/godoc/vfs/gatefs 0.056s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.051s ok golang.org/x/tools/godoc/vfs/zipfs 0.097s ? golang.org/x/tools/imports [no test files] ok golang.org/x/tools/internal/apidiff 0.590s ok golang.org/x/tools/internal/fastwalk 0.043s ? golang.org/x/tools/internal/gocommand [no test files] ok golang.org/x/tools/internal/gopathwalk 0.037s ok golang.org/x/tools/internal/imports 40.227s ok golang.org/x/tools/internal/jsonrpc2 0.167s ok golang.org/x/tools/internal/jsonrpc2/servertest 0.040s ok golang.org/x/tools/internal/lsp 48.830s ? golang.org/x/tools/internal/lsp/browser [no test files] ok golang.org/x/tools/internal/lsp/cache 0.143s 2020/03/04 19:03:58 Build info ---------- version master, built in $GOPATH mode Go info ------- go version devel 588ee7987d7f6be605166872ff8c478aa125bc58 linux/amd64 GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/workdir/gocache" GOENV="/root/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/workdir/gopath" GOPRIVATE="" GOPROXY="http://10.240.0.4:30157" GOROOT="/workdir/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/workdir/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/workdir/gopath/src/golang.org/x/tools/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/workdir/tmp/go-build646727645=/tmp/go-build -gno-record-gcc-switches" 2020/03/04 19:03:58 go/packages.Load snapshot = 0 query = [./... builtin] packages = 2 2020/03/04 19:03:59 go/packages.Load snapshot = 2 query = [file=/workdir/tmp/fake061005852/fake.go] packages = 1 2020/03/04 19:03:59 go/packages.Load snapshot = 2 package = command-line-arguments files = [/workdir/tmp/fake061005852/fake.go] 2020/03/04 19:03:59 go/packages.Load snapshot = 1 query = [file=/workdir/tmp/fake061005852/fake.go] packages = 1 2020/03/04 19:03:59 go/packages.Load snapshot = 1 package = command-line-arguments files = [/workdir/tmp/fake061005852/fake.go] 2020/03/04 19:04:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:03 Error:2020/03/04 19:04:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:12 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:12 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:12 Error:2020/03/04 19:04:12 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:12 Error:2020/03/04 19:04:12 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:13 Error:2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:13 Error:2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:13 Error:2020/03/04 19:04:13 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:20 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:20 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:20 Error:2020/03/04 19:04:20 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:20 Error:2020/03/04 19:04:20 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:28 Error:2020/03/04 19:04:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:29 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:29 Error:2020/03/04 19:04:29 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:29 background imports cache refresh starting 2020/03/04 19:04:29 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:29 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:29 Error:2020/03/04 19:04:29 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:29 Error:2020/03/04 19:04:29 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:29 background refresh finished after 115.324586ms Error = 2020/03/04 19:04:34 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:34 Error:2020/03/04 19:04:34 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:38 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:38 Error:2020/03/04 19:04:38 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/03/04 19:04:40 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:40 quick fixes failed: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) file = file:///workdir/tmp/TestCommandLine_Modules268957651/lsp/suggestedfix/has_suggested_fix.go 2020/03/04 19:04:40 Error:2020/03/04 19:04:40 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:40 Error:2020/03/04 19:04:40 quick fixes failed: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) file = file:///workdir/tmp/TestCommandLine_Modules268957651/lsp/suggestedfix/has_suggested_fix.go 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:41 Error:2020/03/04 19:04:41 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:42 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:42 Error:2020/03/04 19:04:42 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:42 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:42 Error:2020/03/04 19:04:42 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 Error:2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 Error:2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:43 Error:2020/03/04 19:04:43 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:44 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:44 Error:2020/03/04 19:04:44 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 unable to compute error positions: no file for in package golang.org/x/tools/internal/lsp/danglingstmt package = golang.org/x/tools/internal/lsp/danglingstmt 2020/03/04 19:04:45 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:45 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:45 Error:2020/03/04 19:04:45 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 Error:2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 Error:2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:46 Error:2020/03/04 19:04:46 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) ================== WARNING: DATA RACE Read at 0x00c003f32e40 by goroutine 464: runtime.mapiterinit() /workdir/go/src/runtime/map.go:797 +0x0 golang.org/x/tools/internal/lsp/cache.hashUnsavedOverlays() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:140 +0x8e golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidyHandle() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod.go:301 +0x40c golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x2d5 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:61 +0x3e2 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:38 +0x94 Previous write at 0x00c003f32e40 by goroutine 2290: runtime.mapassign_faststr() /workdir/go/src/runtime/map_faststr.go:202 +0x0 golang.org/x/tools/internal/lsp/cache.(*snapshot).GetFile() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:507 +0x3fe golang.org/x/tools/internal/lsp/source.findIgnoredFile() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:694 +0x73 golang.org/x/tools/internal/lsp/source.findMapperInPackage() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:679 +0x9f golang.org/x/tools/internal/lsp/source.posToMappedRange() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:204 +0x183 golang.org/x/tools/internal/lsp/source.nameToMappedRange() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:199 +0x1358 golang.org/x/tools/internal/lsp/source.findIdentifier() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/identifier.go:141 +0x12b1 golang.org/x/tools/internal/lsp/source.formatFieldType() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:525 +0x17d golang.org/x/tools/internal/lsp/source.formatParams() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:501 +0x208 golang.org/x/tools/internal/lsp/source.SignatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/signature_help.go:94 +0x6b7 golang.org/x/tools/internal/lsp.(*Server).signatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/signature_help.go:21 +0x15d golang.org/x/tools/internal/lsp.(*Server).SignatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/server_gen.go:192 +0x5a golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver() /workdir/gopath/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:378 +0x65ca golang.org/x/tools/internal/lsp/protocol.(*serverHandler).Deliver() :1 +0x94 golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:372 +0x1c5 Goroutine 464 (running) created at: golang.org/x/tools/internal/lsp.(*Server).didModifyFiles() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:229 +0x887 golang.org/x/tools/internal/lsp.(*Server).didOpen() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:25 +0x2b0 golang.org/x/tools/internal/lsp.(*Server).DidOpen() /workdir/gopath/src/golang.org/x/tools/internal/lsp/server_gen.go:56 +0x56 golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver() /workdir/gopath/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:135 +0x1833 golang.org/x/tools/internal/lsp/protocol.(*serverHandler).Deliver() :1 +0x94 golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:372 +0x1c5 Goroutine 2290 (running) created at: golang.org/x/tools/internal/jsonrpc2.(*Conn).Run() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:356 +0x80c golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream() /workdir/gopath/src/golang.org/x/tools/internal/lsp/lsprpc/lsprpc.go:152 +0xadf golang.org/x/tools/internal/jsonrpc2.Serve.func2() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:99 +0x70 ================== ================== WARNING: DATA RACE Read at 0x00c00d5c0b68 by goroutine 464: golang.org/x/tools/internal/lsp/cache.hashUnsavedOverlays() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:140 +0x107 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidyHandle() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod.go:301 +0x40c golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x2d5 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:61 +0x3e2 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:38 +0x94 Previous write at 0x00c00d5c0b68 by goroutine 2290: golang.org/x/tools/internal/lsp/cache.(*snapshot).GetFile() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:507 +0x416 golang.org/x/tools/internal/lsp/source.findIgnoredFile() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:694 +0x73 golang.org/x/tools/internal/lsp/source.findMapperInPackage() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:679 +0x9f golang.org/x/tools/internal/lsp/source.posToMappedRange() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:204 +0x183 golang.org/x/tools/internal/lsp/source.nameToMappedRange() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:199 +0x1358 golang.org/x/tools/internal/lsp/source.findIdentifier() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/identifier.go:141 +0x12b1 golang.org/x/tools/internal/lsp/source.formatFieldType() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:525 +0x17d golang.org/x/tools/internal/lsp/source.formatParams() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/util.go:501 +0x208 golang.org/x/tools/internal/lsp/source.SignatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/source/signature_help.go:94 +0x6b7 golang.org/x/tools/internal/lsp.(*Server).signatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/signature_help.go:21 +0x15d golang.org/x/tools/internal/lsp.(*Server).SignatureHelp() /workdir/gopath/src/golang.org/x/tools/internal/lsp/server_gen.go:192 +0x5a golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver() /workdir/gopath/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:378 +0x65ca golang.org/x/tools/internal/lsp/protocol.(*serverHandler).Deliver() :1 +0x94 golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:372 +0x1c5 Goroutine 464 (running) created at: golang.org/x/tools/internal/lsp.(*Server).didModifyFiles() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:229 +0x887 golang.org/x/tools/internal/lsp.(*Server).didOpen() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:25 +0x2b0 golang.org/x/tools/internal/lsp.(*Server).DidOpen() /workdir/gopath/src/golang.org/x/tools/internal/lsp/server_gen.go:56 +0x56 golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver() /workdir/gopath/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:135 +0x1833 golang.org/x/tools/internal/lsp/protocol.(*serverHandler).Deliver() :1 +0x94 golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:372 +0x1c5 Goroutine 2290 (running) created at: golang.org/x/tools/internal/jsonrpc2.(*Conn).Run() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:356 +0x80c golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream() /workdir/gopath/src/golang.org/x/tools/internal/lsp/lsprpc/lsprpc.go:152 +0xadf golang.org/x/tools/internal/jsonrpc2.Serve.func2() /workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:99 +0x70 ================== 2020/03/04 19:04:47 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:47 Error:2020/03/04 19:04:47 diagnose: could not generate diagnostics for go.mod file: err: exit status 1: stderr: golang.org/x/tools/internal/lsp/bad imports nosuchpkg: package nosuchpkg is not in GOROOT (/workdir/go/src/nosuchpkg) 2020/03/04 19:04:48 diagnose: could not generate diagnostics for go.mod file: err: chdir /workdir/tmp/TestCommandLine_Modules111248055/lsp: no such file or directory: stderr: 2020/03/04 19:04:48 Error:2020/03/04 19:04:48 diagnose: could not generate diagnostics for go.mod file: err: chdir /workdir/tmp/TestCommandLine_Modules111248055/lsp: no such file or directory: stderr: --- FAIL: TestCommandLine (49.40s) --- FAIL: TestCommandLine/Modules (24.38s) --- FAIL: TestCommandLine/Modules/../testdata/lsp (20.80s) --- FAIL: TestCommandLine/Modules/../testdata/lsp/SignatureHelp (0.45s) --- FAIL: TestCommandLine/Modules/../testdata/lsp/SignatureHelp/signature_32_6 (0.13s) testing.go:906: race detected during execution of test testing.go:906: race detected during execution of test testing.go:906: race detected during execution of test testing.go:906: race detected during execution of test testing.go:906: race detected during execution of test FAIL FAIL golang.org/x/tools/internal/lsp/cmd 50.398s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ok golang.org/x/tools/internal/lsp/debug 0.099s ok golang.org/x/tools/internal/lsp/diff 0.095s ok golang.org/x/tools/internal/lsp/diff/difftest 0.042s [no tests to run] ok golang.org/x/tools/internal/lsp/diff/myers 0.076s ok golang.org/x/tools/internal/lsp/fake 0.045s ok golang.org/x/tools/internal/lsp/fuzzy 0.114s ? golang.org/x/tools/internal/lsp/helper [no test files] ok golang.org/x/tools/internal/lsp/lsprpc 0.800s ok golang.org/x/tools/internal/lsp/mod 0.313s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/regtest 51.903s ok golang.org/x/tools/internal/lsp/snippet 0.063s ok golang.org/x/tools/internal/lsp/source 60.323s ? golang.org/x/tools/internal/lsp/telemetry [no test files] ? golang.org/x/tools/internal/lsp/tests [no test files] ok golang.org/x/tools/internal/memoize 0.077s ? golang.org/x/tools/internal/packagesinternal [no test files] ok golang.org/x/tools/internal/span 0.078s ok golang.org/x/tools/internal/telemetry 0.034s [no tests to run] ? golang.org/x/tools/internal/telemetry/export [no test files] ok golang.org/x/tools/internal/telemetry/export/ocagent 0.072s ok golang.org/x/tools/internal/telemetry/export/ocagent/wire 0.045s ? golang.org/x/tools/internal/telemetry/export/prometheus [no test files] ? golang.org/x/tools/internal/telemetry/log [no test files] ? golang.org/x/tools/internal/telemetry/metric [no test files] ? golang.org/x/tools/internal/telemetry/stats [no test files] ? golang.org/x/tools/internal/telemetry/tag [no test files] ? golang.org/x/tools/internal/telemetry/trace [no test files] ? golang.org/x/tools/internal/telemetry/unit [no test files] ? golang.org/x/tools/internal/testenv [no test files] ? golang.org/x/tools/internal/tool [no test files] ? golang.org/x/tools/internal/xcontext [no test files] ? golang.org/x/tools/playground [no test files] ok golang.org/x/tools/playground/socket 0.062s ok golang.org/x/tools/present 0.142s ok golang.org/x/tools/refactor/eg 17.252s ok golang.org/x/tools/refactor/importgraph 5.570s ok golang.org/x/tools/refactor/rename 0.516s ? golang.org/x/tools/refactor/satisfy [no test files] ok golang.org/x/tools/txtar 0.034s FAIL :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "-race" "golang.org/x/tools/gopls/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn234cc72" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=24s" "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" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.4:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools/gopls go: downloading honnef.co/go/tools v0.0.1-2020.1.3 go: downloading github.com/sergi/go-diff v1.0.0 go: downloading mvdan.cc/xurls/v2 v2.1.0 go: downloading github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ? golang.org/x/tools/gopls/integration/govim [no test files] ? golang.org/x/tools/gopls/integration/parse [no test files] ? golang.org/x/tools/gopls/integration/replay [no test files] ok golang.org/x/tools/gopls/internal/hooks 0.096s ok golang.org/x/tools/gopls/test 29.474s Error: tests failed: exit status 1