go
go copied to clipboard
x/tools/gopls/doc: TestGenerated failures
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/doc" && test == "TestGenerated"
Issue created automatically to collect these failures.
Example (log):
--- FAIL: TestGenerated (7.25s)
generate_test.go:21: packages.Load: err: exit status 1: stderr: go: error obtaining buildID for go tool compile: fork/exec C:\workdir\go\pkg\tool\windows_arm64\compile.exe: The paging file is too small for this operation to complete.
Found new dashboard test flakes for:
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/doc" && test == "TestGenerated"
2022-12-07 15:31 windows-arm64-11 tools@09fb680d go@dc04f3ba x/tools/gopls/doc.TestGenerated (log)
--- FAIL: TestGenerated (7.25s)
generate_test.go:21: packages.Load: err: exit status 1: stderr: go: error obtaining buildID for go tool compile: fork/exec C:\workdir\go\pkg\tool\windows_arm64\compile.exe: The paging file is too small for this operation to complete.
CC @bcmills -- any idea what this is?
Duplicate of #51019
Found new dashboard test flakes for:
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/doc" && test == "TestGenerated"
2023-05-20 03:32 plan9-arm tools@d4e66bd9 go@10532fdb x/tools/gopls/doc.TestGenerated (log)
--- FAIL: TestGenerated (0.08s)
generate_test.go:14: go tool not available: exit status: 'go 17255: 1'
2023-05-20 03:32 plan9-arm tools@d4e66bd9 go@9c447b7c x/tools/gopls/doc.TestGenerated (log)
--- FAIL: TestGenerated (0.21s)
generate_test.go:14: go tool not available: /boot/workdir/go/bin/go tool -n compile: exit status: 'go 17234: 1'
go: open /boot/workdir/gopath/src/golang.org/x/tools/gopls/go.mod: '/boot/workdir/gopath/src/golang.org/x/tools/gopls/go.mod' exclusive lock
go: open /boot/workdir/gopath/src/golang.org/x/tools/gopls/go.mod: '/boot/workdir/gopath/src/golang.org/x/tools/gopls/go.mod' exclusive lock
This test only needs to run on one builder. I'll skip on plan9, but not urgently.
Found new dashboard test flakes for:
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/doc" && test == "TestGenerated"
2023-07-10 17:03 netbsd-arm-bsiegert tools@538a6e9e go@5fa6923b x/tools/gopls/doc.TestGenerated (log)
--- FAIL: TestGenerated (97.06s)
generate_test.go:23: signal: segmentation fault (core dumped)
Found new dashboard test flakes for:
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/doc" && test == "TestGenerated"
2023-08-21 13:22 plan9-arm tools@ff7f2b9c go@50f2b7b7 x/tools/gopls/doc.TestGenerated (log)
panic: test timed out after 30m0s
running tests:
TestGenerated (30m0s)
golang.org/x/tools/internal/gocommand.runCmdContext({0x4e6628, 0x7094a0}, 0x93ce000)
/boot/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:376 +0x468
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x90def28, {0x4e6628, 0x7094a0}, {0x4e4738, 0x12ef5278}, {0x4e4738, 0x12ef5290})
/boot/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:267 +0xf94
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x90def28, {0x4e6628, 0x7094a0}, {0x4e4738, 0x12ef5278}, {0x4e4738, 0x12ef5290})
/boot/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:176 +0x4c
...
/boot/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/command/commandmeta/meta.go:50 +0x94
golang.org/x/tools/gopls/doc.loadCommands(0x94b6fc0)
/boot/workdir/gopath/src/golang.org/x/tools/gopls/doc/generate.go:412 +0x14
golang.org/x/tools/gopls/doc.loadAPI()
/boot/workdir/gopath/src/golang.org/x/tools/gopls/doc/generate.go:112 +0x100
golang.org/x/tools/gopls/doc.doMain(0x0)
/boot/workdir/gopath/src/golang.org/x/tools/gopls/doc/generate.go:51 +0x18
golang.org/x/tools/gopls/doc.TestGenerated(0x90d21e0)
/boot/workdir/gopath/src/golang.org/x/tools/gopls/doc/generate_test.go:21 +0x60
testing.tRunner(0x90d21e0, 0x46fc48)
Change https://go.dev/cl/521122 mentions this issue: gopls/doc: don't run TestGenerated on plan9
These new failures aren't related to the original failure mode; they should go to #49338 or be filed as new issues, and would by default if #57632 were addressed.
I've updated the pattern to stop watchflakes from reopening it.