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/internal/jsonrpc2_v2: unrecognized failures #56578

Closed
gopherbot opened this issue Nov 4, 2022 · 2 comments
Closed

x/tools/internal/jsonrpc2_v2: unrecognized failures #56578

gopherbot opened this issue Nov 4, 2022 · 2 comments
Assignees
Labels
FrozenDueToAge 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

@gopherbot
Copy link

#!watchflakes
post <- pkg == "golang.org/x/tools/internal/jsonrpc2_v2" && test == ""

Issue created automatically to collect these failures.

Example (log):

panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc000420240), accumulator:0, waiters:(chan map[string]chan struct {})(0xc000416a80), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 108 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc000420240, {0x73de3d?, 0xc00047de28?}, {0xc00047de78?, 0xc0000a8060?, 0xc0000a8060?})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x114
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc0000e85a0?, {0x70c040, 0xc0000e85a0}, 0xc0000b6e10, {0x0, 0x0}, {0x7759d8?, 0xc0000b2290?})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xb2f
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc000420240)
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x45
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x136

watchflakes

@gopherbot gopherbot added 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. labels Nov 4, 2022
@gopherbot gopherbot added this to the Unreleased milestone Nov 4, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/internal/jsonrpc2_v2" && test == ""
2022-10-31 20:24 linux-amd64-boringcrypto tools@3e8da475 go@0618956b x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc000420240), accumulator:0, waiters:(chan map[string]chan struct {})(0xc000416a80), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 108 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc000420240, {0x73de3d?, 0xc00047de28?}, {0xc00047de78?, 0xc0000a8060?, 0xc0000a8060?})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x114
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc0000e85a0?, {0x70c040, 0xc0000e85a0}, 0xc0000b6e10, {0x0, 0x0}, {0x7759d8?, 0xc0000b2290?})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xb2f
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc000420240)
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x45
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x136
2022-10-31 20:24 windows-amd64-race tools@3e8da475 go@4b993bff x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc0001ce9c0), accumulator:0, waiters:(chan map[string]chan struct {})(0xc00015b680), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 57 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc0001ce9c0, {0x6e3dae, 0x24}, {0xc0001e5e18, 0x2, 0x2})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x21b
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc000119660?, {0x6a7ac0, 0xc000119660}, 0xc0001f94a0, {0x0, 0x0}, {0x734160?, 0xc00010a2c0?})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xe53
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc0001ce9c0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x65
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x28f
2022-10-31 20:33 dragonfly-amd64-622 tools@70a130eb go@6695cebe x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc00010e180), accumulator:0, waiters:(chan map[string]chan struct {})(0xc00010c3c0), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 119 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc00010e180, {0x5d9de9?, 0xc0005fde7c?}, {0xc0005fde78?, 0x57b37e?, 0xc0000200c0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x114
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc0003f0140?, {0x5a5ac0, 0xc0003f0140}, 0xc0004468a0, {0x0, 0x0}, {0x60e280?, 0xc00005c2d0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xb2f
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc00010e180)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x45
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x136
2022-10-31 20:33 freebsd-386-12_3 tools@70a130eb go@6695cebe x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0x31106000), accumulator:0, waiters:(chan map[string]chan struct {})(0x31104080), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 67 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0x31106000, {0x8201123, 0x24}, {0x3113ff38, 0x2, 0x2})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x169
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0x31106000, {0x81de900, 0x3110a000}, 0x3111a090, {0x0, 0x0}, {0x8233ee4, 0x31098160})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xa3a
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0x31106000)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x45
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x12d
2022-10-31 20:33 freebsd-amd64-race tools@70a130eb go@02cffcde x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc0001b69c0), accumulator:0, waiters:(chan map[string]chan struct {})(0xc000127920), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 55 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc0001b69c0, {0x6eacc0, 0x24}, {0xc000171e18, 0x2, 0x2})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x21b
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc000155260?, {0x6afcc0, 0xc000155260}, 0xc0001c8f90, {0x0, 0x0}, {0x72d5c0?, 0xc0001122a0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xe53
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc0001b69c0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x65
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x28f
2022-10-31 20:33 freebsd-amd64-race tools@70a130eb go@2c2952ae x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc00013a540), accumulator:0, waiters:(chan map[string]chan struct {})(0xc0001389c0), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 70 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc00013a540, {0x6c130d, 0x24}, {0xc0001fbe18, 0x2, 0x2})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x21b
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc00013e6e0?, {0x6880a0, 0xc00013e6e0}, 0xc0001354d0, {0x0, 0x0}, {0x703940?, 0xc000098290?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xe28
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc00013a540)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x65
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x27e
2022-10-31 20:33 linux-amd64-race tools@70a130eb go@a3559f33 x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc00042c6c0), accumulator:0, waiters:(chan map[string]chan struct {})(0xc00042acc0), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 59 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc00042c6c0, {0x6c8ab7, 0x24}, {0xc000177e18, 0x2, 0x2})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x21b
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc000412900?, {0x68e1e0, 0xc000412900}, 0xc000165c80, {0x0, 0x0}, {0x70b5c0?, 0xc0000a82a0?})
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xe53
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc00042c6c0)
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x65
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x28f
2022-10-31 20:33 windows-amd64-2016 tools@70a130eb go@02cffcde x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc0000b00c0), accumulator:0, waiters:(chan map[string]chan struct {})(0xc000088420), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 53 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc0000b00c0, {0x1323150?, 0xc0000cde7c?}, {0xc0000cde78?, 0x12c389e?, 0xc00001c180?})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x114
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc0000a01a0?, {0x12edce0, 0xc0000a01a0}, 0xc00008a6c0, {0x0, 0x0}, {0x135a440?, 0xc0000502f0?})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xb2f
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc0000b00c0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x45
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x136
2022-10-31 20:33 windows-amd64-race tools@70a130eb go@02cffcde x/tools/internal/jsonrpc2_v2 (log)
panic: jsonrpc2: &jsonrpc2_test.handler{conn:(*jsonrpc2.Connection)(0xc0000a2780), accumulator:0, waiters:(chan map[string]chan struct {})(0xc00008aea0), calls:map[string]*jsonrpc2.AsyncCall{}} produced a duplicate "wait" Response

goroutine 78 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).internalErrorf(0xc0000a2780, {0x6e3dae, 0x24}, {0xc0000d5e18, 0x2, 0x2})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:724 +0x21b
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).processResult(0xc000092a20?, {0x6a7ac0, 0xc000092a20}, 0xc00009de60, {0x0, 0x0}, {0x734160?, 0xc00010a2c0?})
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:631 +0xe53
golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).handleAsync(0xc0000a2780)
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:613 +0x65
created by golang.org/x/tools/internal/jsonrpc2_v2.(*Connection).acceptRequest.func2
	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/conn.go:576 +0x28f

watchflakes

@bcmills bcmills self-assigned this Nov 4, 2022
@bcmills
Copy link
Contributor

bcmills commented Nov 4, 2022

Fixed by https://go.dev/cl/446859.

@bcmills bcmills closed this as completed Nov 4, 2022
@golang golang locked and limited conversation to collaborators Nov 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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
Archived in project
Development

No branches or pull requests

2 participants