go icon indicating copy to clipboard operation
go copied to clipboard

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

Open cherrymui opened this issue 3 years ago • 2 comments

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

cherrymui avatar Jul 27 '22 22:07 cherrymui

cc @timothy-king

cherrymui avatar Jul 27 '22 22:07 cherrymui

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

timothy-king avatar Aug 08 '22 18:08 timothy-king

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

adonovan avatar Jan 31 '24 21:01 adonovan