go icon indicating copy to clipboard operation
go copied to clipboard

x/tools/gopls/doc: TestGenerated failures

Open gopherbot opened this issue 2 years ago • 2 comments

#!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.

watchflakes

gopherbot avatar Dec 17 '22 02:12 gopherbot

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.

watchflakes

gopherbot avatar Dec 17 '22 02:12 gopherbot

CC @bcmills -- any idea what this is?

findleyr avatar Dec 20 '22 14:12 findleyr

Duplicate of #51019

bcmills avatar Feb 01 '23 14:02 bcmills

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

watchflakes

gopherbot avatar May 20 '23 23:05 gopherbot

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.

findleyr avatar May 21 '23 21:05 findleyr

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)

watchflakes

gopherbot avatar Jul 11 '23 06:07 gopherbot

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)

watchflakes

gopherbot avatar Aug 21 '23 19:08 gopherbot

Change https://go.dev/cl/521122 mentions this issue: gopls/doc: don't run TestGenerated on plan9

gopherbot avatar Aug 21 '23 19:08 gopherbot

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.

bcmills avatar Aug 21 '23 19:08 bcmills