Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/go/pointer: TestInput panics with index out of range #54101

Closed
cherrymui opened this issue Jul 27, 2022 · 3 comments
Closed

x/tools/go/pointer: TestInput panics with index out of range #54101

cherrymui opened this issue Jul 27, 2022 · 3 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@cherrymui
Copy link
Member

2022-07-22T21:31:20-a2a2477-c5da4fb/windows-amd64-longtest

--- FAIL: TestInput (150.23s)
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 402 [running]:
testing.tRunner.func1.2({0x16aca60, 0xc3ba4f9e90})
	C:/workdir/go/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
	C:/workdir/go/src/testing/testing.go:1399 +0x39f
panic({0x16aca60, 0xc3ba4f9e90})
	C:/workdir/go/src/runtime/panic.go:884 +0x212
golang.org/x/tools/go/pointer_test.doOneInput(0x16d0c27?, {0xc0134c6d00, 0x8fa}, {0xc3c27928c0, 0x47})
	C:/workdir/gopath/src/golang.org/x/tools/go/pointer/pointer_test.go:216 +0x2213
golang.org/x/tools/go/pointer_test.TestInput(0xc002db1520)
	C:/workdir/gopath/src/golang.org/x/tools/go/pointer/pointer_test.go:641 +0x37d
testing.tRunner(0xc002db1520, 0x16e4518)
	C:/workdir/go/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	C:/workdir/go/src/testing/testing.go:1493 +0x35f
FAIL	golang.org/x/tools/go/pointer	154.846s
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jul 27, 2022
@gopherbot gopherbot added this to the Unreleased milestone Jul 27, 2022
@cherrymui cherrymui added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 27, 2022
@cherrymui
Copy link
Member Author

cc @timothy-king

@timothy-king
Copy link
Contributor

I think this is a flake. Unassigning myself for now. I'll take a deeper look if it crops up again.

@timothy-king timothy-king removed their assignment Aug 8, 2022
@adonovan
Copy link
Member

x/tools/go/pointer was deleted; see #59676.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

4 participants