android-amd64-emu at a754d2993db1771ca3903d0a5d0e3add1883cf9b building tools at d0db29b5c615a0acadf0405a5c2eaa51ac0056a3 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" "golang.org/x/tools/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/android/sdk/platform-tools:/android/sdk/build-tools/27.0.3:/android/gradle/bin" "HOSTNAME=buildlet-android-amd64-emu-rn9f5e209" "DEBIAN_FRONTEND=noninteractive" "GO_BUILDER_ENV=android-amd64-emu" "ANDROID_HOME=/android/sdk" "CGO_CFLAGS=-I/android/openal-headers" "CC_FOR_android_386=/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang" "CC_FOR_android_amd64=/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android26-clang" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=12.2s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=android-amd64-emu" "GOROOT_BOOTSTRAP=/go1.4" "GOARCH=amd64" "GOOS=android" "GOHOSTARCH=amd64" "GOHOSTOS=linux" "CGO_ENABLED=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.13:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools go: downloading golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: downloading golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 go: extracting golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 go: extracting golang.org/x/sync v0.0.0-20190423024810-112230192c58 go: extracting golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: finding golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58 go: finding golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 ok golang.org/x/tools/benchmark/parse 76.231s ok golang.org/x/tools/blog 73.717s ? 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 73.439s ok golang.org/x/tools/cmd/bundle 72.867s ? golang.org/x/tools/cmd/callgraph [no test files] ? golang.org/x/tools/cmd/compilebench [no test files] ? golang.org/x/tools/cmd/cover [no test files] ok golang.org/x/tools/cmd/digraph 0.813s ? golang.org/x/tools/cmd/eg [no test files] ? golang.org/x/tools/cmd/fiximports [no test files] ok golang.org/x/tools/cmd/getgo 1.494s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.452s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 0.744s ? golang.org/x/tools/cmd/goimports [no test files] ? golang.org/x/tools/cmd/gomvpkg [no test files] ? golang.org/x/tools/cmd/gopls [no test files] ok golang.org/x/tools/cmd/gorename 1.018s ? 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 1.326s ? 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.605s ? 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 2.288s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 2.179s ? golang.org/x/tools/cover [no test files] ? golang.org/x/tools/go/analysis [no test files] ok golang.org/x/tools/go/analysis/analysistest 2.888s ok golang.org/x/tools/go/analysis/internal/analysisflags 1.806s ok golang.org/x/tools/go/analysis/internal/checker 1.880s ok golang.org/x/tools/go/analysis/internal/facts 1.638s ok golang.org/x/tools/go/analysis/multichecker 1.501s ok golang.org/x/tools/go/analysis/passes/asmdecl 2.264s ok golang.org/x/tools/go/analysis/passes/assign 4.092s ok golang.org/x/tools/go/analysis/passes/atomic 3.659s ok golang.org/x/tools/go/analysis/passes/atomicalign 5.657s ok golang.org/x/tools/go/analysis/passes/bools 4.000s ok golang.org/x/tools/go/analysis/passes/buildssa 2.898s ok golang.org/x/tools/go/analysis/passes/buildtag 2.082s ok golang.org/x/tools/go/analysis/passes/cgocall 6.691s ok golang.org/x/tools/go/analysis/passes/composite 3.426s ok golang.org/x/tools/go/analysis/passes/copylock 7.629s ok golang.org/x/tools/go/analysis/passes/ctrlflow 10.189s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 9.376s ok golang.org/x/tools/go/analysis/passes/errorsas 18.382s ok golang.org/x/tools/go/analysis/passes/findcall 11.858s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/httpresponse 7.601s ? 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 5.590s ok golang.org/x/tools/go/analysis/passes/lostcancel 3.530s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 6.041s ok golang.org/x/tools/go/analysis/passes/nilness 4.325s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 1.888s ok golang.org/x/tools/go/analysis/passes/printf 6.741s ok golang.org/x/tools/go/analysis/passes/shadow 2.342s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 2.384s ok golang.org/x/tools/go/analysis/passes/sortslice 12.235s ok golang.org/x/tools/go/analysis/passes/stdmethods 8.322s ok golang.org/x/tools/go/analysis/passes/structtag 12.071s ok golang.org/x/tools/go/analysis/passes/tests 11.994s ok golang.org/x/tools/go/analysis/passes/unmarshal 9.906s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 10.837s ok golang.org/x/tools/go/analysis/passes/unsafeptr 7.986s ok golang.org/x/tools/go/analysis/passes/unusedresult 7.536s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 5.888s ok golang.org/x/tools/go/ast/astutil 2.853s ok golang.org/x/tools/go/ast/inspector 2.271s ok golang.org/x/tools/go/buildutil 0.535s ? golang.org/x/tools/go/callgraph [no test files] ? golang.org/x/tools/go/callgraph/cha [no test files] ? golang.org/x/tools/go/callgraph/rta [no test files] ok golang.org/x/tools/go/callgraph/static 0.631s ok golang.org/x/tools/go/cfg 0.764s ok golang.org/x/tools/go/expect 0.900s ok golang.org/x/tools/go/gccgoexportdata 0.505s ok golang.org/x/tools/go/gcexportdata 0.807s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.980s ok golang.org/x/tools/go/internal/gcimporter 1.356s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 0.784s ok golang.org/x/tools/go/packages 94.994s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 1.290s ok golang.org/x/tools/go/pointer 97.209s ok golang.org/x/tools/go/ssa 102.902s ok golang.org/x/tools/go/ssa/interp 105.912s ok golang.org/x/tools/go/ssa/ssautil 11.450s ok golang.org/x/tools/go/types/objectpath 8.983s ok golang.org/x/tools/go/types/typeutil 4.674s ok golang.org/x/tools/go/vcs 5.263s ok golang.org/x/tools/godoc 2.778s ? 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 1.000s ok golang.org/x/tools/godoc/static 3.805s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 3.164s ok golang.org/x/tools/godoc/vfs/gatefs 1.514s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.948s ok golang.org/x/tools/godoc/vfs/zipfs 0.582s ? golang.org/x/tools/imports [no test files] ok golang.org/x/tools/internal/apidiff 2.616s ok golang.org/x/tools/internal/fastwalk 0.414s ok golang.org/x/tools/internal/gopathwalk 37.747s --- FAIL: TestStdlibNotPrefixed (0.38s) --- FAIL: TestStdlibNotPrefixed/Modules (0.07s) fix_test.go:1571: Got: package p var _ = bytes.Buffer Want: package p import "bytes" var _ = bytes.Buffer FAIL exitcode=1FAIL golang.org/x/tools/internal/imports 35.944s ok golang.org/x/tools/internal/jsonrpc2 2.004s 2019/10/29 04:39:54 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:09 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:14 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:14 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:14 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:40:14 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/lsp.test-7877/gopath/src/golang.org/x/tools/internal/lsp/- --- FAIL: TestLSP (26.57s) --- FAIL: TestLSP/GOPATH (13.44s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestLSP/GOPATH/Completion (6.92s) --- FAIL: TestLSP/GOPATH/Completion/assign_rank_18_7 (0.00s) completion_test.go:25: /data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xc001b43320 [] [] } {apple var [] int false false InsertTextFormat(0) 0xc001b43350 [] [] } {pear var [] string false false InsertTextFormat(0) 0xc001b43380 [] [] } got: {apple var [] int false true 00000 apple Snippet 0xc001b42960 [] [] } {pear var [] string false false 00001 pear Snippet 0xc001b42990 [] [] } --- FAIL: TestLSP/GOPATH/Diagnostics (1.67s) --- FAIL: TestLSP/GOPATH/Diagnostics/badstmt (0.00s) lsp_test.go:92: diagnostics failed because of different lengths got 6 want 1: expected: file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_GOPATH813430699/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo --- FAIL: TestLSP/Modules (13.12s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestLSP/Modules/Completion (6.81s) --- FAIL: TestLSP/Modules/Completion/assign_rank_18_7 (0.00s) completion_test.go:25: /data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xc008a758c0 [] [] } {apple var [] int false false InsertTextFormat(0) 0xc008a758f0 [] [] } {pear var [] string false false InsertTextFormat(0) 0xc008a75920 [] [] } got: {apple var [] int false true 00000 apple Snippet 0xc008a74bd0 [] [] } {pear var [] string false false 00001 pear Snippet 0xc008a74c00 [] [] } --- FAIL: TestLSP/Modules/Diagnostics (1.74s) --- FAIL: TestLSP/Modules/Diagnostics/badstmt (0.00s) lsp_test.go:92: diagnostics failed because of different lengths got 6 want 1: expected: file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///data/local/tmp/go_android_exec/lsp.test-7877/TestLSP_Modules567029006/primarymod/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo FAIL exitcode=1FAIL golang.org/x/tools/internal/lsp 60.354s ? golang.org/x/tools/internal/lsp/browser [no test files] ? golang.org/x/tools/internal/lsp/cache [no test files] 2019/10/29 04:40:21 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:21 Error:2019/10/29 04:40:21 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 Error:2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 Error:2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 Error:2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:21 Error:2019/10/29 04:40:21 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:22 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:22 Error:2019/10/29 04:40:22 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:28 Error:2019/10/29 04:40:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:28 Error:2019/10/29 04:40:28 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 Error:2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 Error:2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 Error:2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 Error:2019/10/29 04:40:29 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/cmd.test-7904/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:40:29 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:29 Error:2019/10/29 04:40:29 no dep handle: no metadata for nosuchpkg package = nosuchpkg --- FAIL: TestCommandLine (15.50s) --- FAIL: TestCommandLine/GOPATH (7.82s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/GOPATH/Diagnostics (2.14s) --- FAIL: TestCommandLine/GOPATH/Diagnostics/badstmt (0.11s) check.go:64: missing diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:2: y declared but not used" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_GOPATH621480168/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" --- FAIL: TestCommandLine/Modules (7.68s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/Modules/Diagnostics (2.35s) --- FAIL: TestCommandLine/Modules/Diagnostics/badstmt (0.11s) check.go:64: missing diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:9:2: y declared but not used" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/data/local/tmp/go_android_exec/cmd.test-7904/TestCommandLine_Modules181519378/primarymod/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" FAIL exitcode=1FAIL golang.org/x/tools/internal/lsp/cmd 76.048s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ? golang.org/x/tools/internal/lsp/debug [no test files] ok golang.org/x/tools/internal/lsp/diff 43.793s ok golang.org/x/tools/internal/lsp/diff/difftest 43.384s [no tests to run] ok golang.org/x/tools/internal/lsp/diff/myers 17.870s ok golang.org/x/tools/internal/lsp/fuzzy 0.758s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/snippet 0.951s 2019/10/29 04:40:42 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:40:49 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:40:49 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:40:49 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:40:49 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:40:55 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:41:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:41:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:41:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:41:01 failed to convert span to range: no ParseGoHandle for file:///data/local/tmp/go_android_exec/source.test-8611/gopath/src/golang.org/x/tools/internal/lsp/source/- --- FAIL: TestSource (25.81s) --- FAIL: TestSource/GOPATH (12.84s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestSource/GOPATH/Completion (6.85s) --- FAIL: TestSource/GOPATH/Completion/assign_rank_18_7 (0.00s) source_test.go:108: /data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xc0000207b0 [] [] } {apple var [] int false false InsertTextFormat(0) 0xc000020a80 [] [] } {pear var [] string false false InsertTextFormat(0) 0xc00010c8a0 [] [] } got: {apple var [] int false false apple InsertTextFormat(0) 0xc0005758f0 [] [] } {pear var [] string false false pear InsertTextFormat(0) 0xc000575920 [] [] } --- FAIL: TestSource/GOPATH/Diagnostics (1.51s) --- FAIL: TestSource/GOPATH/Diagnostics/badstmt (0.00s) source_test.go:84: diagnostics failed because of different lengths got 6 want 1: expected: file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_GOPATH399727638/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo --- FAIL: TestSource/Modules (12.98s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestSource/Modules/Completion (6.33s) --- FAIL: TestSource/Modules/Completion/assign_rank_18_7 (0.00s) source_test.go:108: /data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xc00d2f9d10 [] [] } {apple var [] int false false InsertTextFormat(0) 0xc00d2f9d40 [] [] } {pear var [] string false false InsertTextFormat(0) 0xc00d2f9d70 [] [] } got: {apple var [] int false false apple InsertTextFormat(0) 0xc00d5a1380 [] [] } {pear var [] string false false pear InsertTextFormat(0) 0xc00d5a13b0 [] [] } --- FAIL: TestSource/Modules/Diagnostics (1.80s) --- FAIL: TestSource/Modules/Diagnostics/badstmt (0.00s) source_test.go:84: diagnostics failed because of different lengths got 6 want 1: expected: file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///data/local/tmp/go_android_exec/source.test-8611/TestSource_Modules341419645/primarymod/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo FAIL exitcode=1FAIL golang.org/x/tools/internal/lsp/source 27.267s ? 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.966s ok golang.org/x/tools/internal/module 0.632s ok golang.org/x/tools/internal/semver 0.563s ok golang.org/x/tools/internal/span 0.886s ? golang.org/x/tools/internal/telemetry [no test files] ? golang.org/x/tools/internal/telemetry/export [no test files] ok golang.org/x/tools/internal/telemetry/export/ocagent 0.605s ? golang.org/x/tools/internal/telemetry/export/ocagent/wire [no test files] ? 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] ok golang.org/x/tools/internal/txtar 0.259s ? golang.org/x/tools/internal/xcontext [no test files] ? golang.org/x/tools/playground [no test files] ok golang.org/x/tools/playground/socket 26.545s ok golang.org/x/tools/present 26.462s ? golang.org/x/tools/refactor/eg [no test files] ? golang.org/x/tools/refactor/importgraph [no test files] ok golang.org/x/tools/refactor/rename 26.226s ? golang.org/x/tools/refactor/satisfy [no test files] FAIL :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "golang.org/x/tools/gopls/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/android/sdk/platform-tools:/android/sdk/build-tools/27.0.3:/android/gradle/bin" "HOSTNAME=buildlet-android-amd64-emu-rn9f5e209" "DEBIAN_FRONTEND=noninteractive" "GO_BUILDER_ENV=android-amd64-emu" "ANDROID_HOME=/android/sdk" "CGO_CFLAGS=-I/android/openal-headers" "CC_FOR_android_386=/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang" "CC_FOR_android_amd64=/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android26-clang" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=12.2s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=android-amd64-emu" "GOROOT_BOOTSTRAP=/go1.4" "GOARCH=amd64" "GOOS=android" "GOHOSTARCH=amd64" "GOHOSTOS=linux" "CGO_ENABLED=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.13: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-2019.2.3 go: downloading github.com/sergi/go-diff v1.0.0 go: extracting github.com/sergi/go-diff v1.0.0 go: extracting honnef.co/go/tools v0.0.1-2019.2.3 go: downloading github.com/BurntSushi/toml v0.3.1 go: extracting github.com/BurntSushi/toml v0.3.1 go: finding github.com/sergi/go-diff v1.0.0 go: finding honnef.co/go/tools v0.0.1-2019.2.3 go: finding github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ok golang.org/x/tools/gopls/internal/hooks 0.316s ok golang.org/x/tools/gopls/test 0.426s Error: tests failed: exit status 1