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/vulndb/internal/worker: test failing since CL 382994 #52626

Closed
bcmills opened this issue Apr 29, 2022 · 4 comments
Closed

x/vulndb/internal/worker: test failing since CL 382994 #52626

bcmills opened this issue Apr 29, 2022 · 4 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations) vulncheck or vulndb Issues for the x/vuln or x/vulndb repo
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Apr 29, 2022

panic: no concrete method: func (*crypto/elliptic.nistCurve[*crypto/elliptic/internal/nistec.P224Point]).Add(x1 *math/big.Int, y1 *math/big.Int, x2 *math/big.Int, y2 *math/big.Int) (*math/big.Int, *math/big.Int)

goroutine 2270 [running]:
golang.org/x/tools/go/ssa.(*Program).declaredFunc(0xc0004b28f0, 0xc012700c30)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/methods.go:124 +0xf9
golang.org/x/tools/go/ssa.(*Program).addMethod(0x11c0f70?, 0xc00f976a50, 0xc00e3b6cd0)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/methods.go:86 +0x14a
golang.org/x/tools/go/ssa.(*Program).needMethods(0xc0004b28f0, {0x11c0f70?, 0xc012237a10?}, 0x0)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/methods.go:173 +0x785
golang.org/x/tools/go/ssa.(*Program).needMethodsOf(0xc0004b28f0, {0x11c0f70?, 0xc012237a10?})
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/methods.go:145 +0x70
golang.org/x/tools/go/ssa.emitConv(0xc00ba7a000, {0x11c8c58, 0xc00e72eae0}, {0x11c0f48?, 0xc000678e00})
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/emit.go:210 +0x405
golang.org/x/tools/go/ssa.(*builder).stmt(0x0?, 0xc00ba7a000, {0x11c3f70?, 0xc011fffc40?})
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2054 +0x1fa8
golang.org/x/tools/go/ssa.(*builder).stmtList(0xc00e3fc840?, 0x0?, {0xc011fffc60?, 0x2, 0xc00da7b940?})
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:796 +0x67
golang.org/x/tools/go/ssa.(*builder).stmt(0xc00ba7a000?, 0xc00ba7a000, {0x11c39d0?, 0xc0121004b0?})
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2111 +0x1391
golang.org/x/tools/go/ssa.(*builder).buildFunction(0xe82080?, 0xc00ba7a000)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2204 +0x47a
golang.org/x/tools/go/ssa.(*builder).buildFuncDecl(0xe82080?, 0xc00f4d81e0, 0xc0121004e0)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2234 +0x154
golang.org/x/tools/go/ssa.(*Package).build(0xc00f4d81e0)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2350 +0xd25
sync.(*Once).doSlow(0xc001be9830?, 0xc001bf1248?)
	/workdir/go/src/sync/once.go:70 +0xc2
sync.(*Once).Do(...)
	/workdir/go/src/sync/once.go:61
golang.org/x/tools/go/ssa.(*Package).Build(...)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2269
golang.org/x/tools/go/ssa.(*Program).Build.func1(0x0?)
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2253 +0x4c
created by golang.org/x/tools/go/ssa.(*Program).Build
	/workdir/gopath/pkg/mod/golang.org/x/tools@v0.1.8/go/ssa/builder.go:2252 +0x19c
FAIL	golang.org/x/vulndb/internal/worker	2.942s

greplogs --dashboard -md -l -e 'panic: no concrete method: func \(\*crypto/elliptic\.nistCurve' --since=2022-01-01

2022-04-29T20:16:31-4bd1791-3ce203d/linux-amd64
2022-04-29T20:16:31-4bd1791-3ce203d/linux-amd64-longtest
2022-04-29T18:35:07-4bd1791-8c5917c/linux-amd64
2022-04-29T18:35:07-4bd1791-8c5917c/linux-amd64-longtest
2022-04-29T02:01:27-4bd1791-e7c56fe/linux-amd64
2022-04-29T02:01:27-4bd1791-e7c56fe/linux-amd64-longtest
2022-04-29T01:45:33-4bd1791-a5dd684/linux-amd64
2022-04-29T01:45:33-4bd1791-a5dd684/linux-amd64-longtest
2022-04-29T01:00:55-4bd1791-e7b0559/linux-amd64
2022-04-29T01:00:55-4bd1791-e7b0559/linux-amd64-longtest
2022-04-28T23:35:11-4bd1791-cb6fc99/linux-amd64
2022-04-28T23:35:11-4bd1791-cb6fc99/linux-amd64-longtest
2022-04-28T23:16:44-682b022-cb6fc99/linux-amd64
2022-04-28T23:16:44-682b022-cb6fc99/linux-amd64-longtest
2022-04-28T20:14:34-682b022-c90a19a/linux-amd64
2022-04-28T20:14:34-682b022-c90a19a/linux-amd64-longtest
2022-04-28T20:11:37-682b022-74f0009/linux-amd64
2022-04-28T20:11:37-682b022-74f0009/linux-amd64-longtest
2022-04-28T18:41:25-682b022-96a1ad2/linux-amd64
2022-04-28T18:41:25-682b022-96a1ad2/linux-amd64-longtest
2022-04-28T18:28:44-682b022-123e271/linux-amd64
2022-04-28T18:28:44-682b022-123e271/linux-amd64-longtest
2022-04-28T18:02:40-682b022-c15d0a9/linux-amd64
2022-04-28T18:02:40-682b022-c15d0a9/linux-amd64-longtest
2022-04-28T17:14:41-682b022-4289bd3/linux-amd64
2022-04-28T17:14:41-682b022-4289bd3/linux-amd64-longtest
2022-04-28T16:50:31-682b022-29bbca5/linux-amd64
2022-04-28T16:50:31-682b022-29bbca5/linux-amd64-longtest
2022-04-28T16:29:07-682b022-4bb45f7/linux-amd64
2022-04-28T16:29:07-682b022-4bb45f7/linux-amd64-longtest
2022-04-28T16:00:39-682b022-17371ee/linux-amd64
2022-04-28T16:00:39-682b022-17371ee/linux-amd64-longtest
2022-04-28T15:11:42-682b022-4d35071/linux-amd64
2022-04-28T15:11:42-682b022-4d35071/linux-amd64-longtest
2022-04-27T21:19:21-682b022-89044b6/linux-amd64
2022-04-27T21:19:21-682b022-89044b6/linux-amd64-longtest
2022-04-27T17:24:48-421e78b-89044b6/linux-amd64
2022-04-27T17:24:48-421e78b-89044b6/linux-amd64-longtest
2022-04-27T17:20:34-421e78b-f0ee7fd/linux-amd64-longtest
2022-04-27T15:22:15-421e78b-0b5218c/linux-amd64
2022-04-27T15:22:15-421e78b-0b5218c/linux-amd64-longtest
2022-04-27T14:23:28-421e78b-f0c0e0f/linux-amd64
2022-04-27T14:23:28-421e78b-f0c0e0f/linux-amd64-longtest

@gopherbot gopherbot added this to the Unreleased milestone Apr 29, 2022
@bcmills
Copy link
Contributor Author

bcmills commented Apr 29, 2022

(attn @jba; CC @golang/security)

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations) labels Apr 29, 2022
@bcmills bcmills modified the milestones: Unreleased, Go1.19 Apr 29, 2022
@bcmills
Copy link
Contributor Author

bcmills commented Apr 29, 2022

(This is a release-blocker for Go 1.19 via #11811.)

@jba
Copy link
Contributor

jba commented May 2, 2022

https://go.dev/cl/402674 should fix.

@dmitshur
Copy link
Contributor

dmitshur commented May 2, 2022

https://build.golang.org/?repo=golang.org%2fx%2fvulndb shows the fix is effective, thanks, closing.

@dmitshur dmitshur closed this as completed May 2, 2022
@julieqiu julieqiu added the vulncheck or vulndb Issues for the x/vuln or x/vulndb repo label Sep 8, 2022
@golang golang locked and limited conversation to collaborators Sep 8, 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. release-blocker Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations) vulncheck or vulndb Issues for the x/vuln or x/vulndb repo
Projects
Status: No status
Development

No branches or pull requests

5 participants