cockroachdb / cockroachdb/cockroach
: failed
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
. [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_StressBazel/11486246?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_StressBazel/11486246?buildTab=artifacts#/) on release-23.1 @ [b151af8ea747b3dcd7aebfc1aa0c6d5ed2bc5708](https://github.com/cockroachdb/cockroach/commits/b151af8ea747b3dcd7aebfc1aa0c6d5ed2bc5708):
```
[3,669 / 4,012] GoCompilePkg pkg/sql/parser/parser.a; 25s processwrapper-sandbox ... (4 actions running)
[3,674 / 4,012] GoCompilePkg pkg/sql/parser/parser.a; 26s processwrapper-sandbox ... (4 actions running)
[3,679 / 4,012] GoCompilePkg pkg/sql/parser/parser.a; 27s processwrapper-sandbox ... (4 actions running)
ERROR: /go/src/github.com/cockroachdb/cockroach/pkg/sql/catalog/BUILD.bazel:4:11: GoCompilePkg pkg/sql/catalog/catalog.a failed: (Exit 1): builder failed: error executing command (from target //pkg/sql/catalog:catalog) bazel-out/k8-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64 -tags bazel,gss,deadlock,bazel,gss,deadlock -src ... (remaining 99 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
compilepkg: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5e87fc]
goroutine 444 [running]:
go/types.methodSet.add(0xc121a0?, {0x0, 0x2, 0xc00173d1b8?}, {0x0, 0x0, 0xc001bdf950?}, 0x0?, 0x0?)
GOROOT/src/go/types/methodset.go:214 +0xdc
go/types.NewMethodSet({0xc121a0?, 0xc0016fda40?})
GOROOT/src/go/types/methodset.go:150 +0x869
golang.org/x/tools/go/types/typeutil.(*MethodSetCache).lookupNamed(0xc0003370d0, 0xc0016fda40)
golang.org/x/tools/go/types/typeutil/external/org_golang_x_tools/go/types/typeutil/methodsetcache.go:66 +0x99
golang.org/x/tools/go/types/typeutil.(*MethodSetCache).MethodSet(0xc0003370d0, {0xc121a0?, 0xc0016fda40?})
golang.org/x/tools/go/types/typeutil/external/org_golang_x_tools/go/types/typeutil/methodsetcache.go:37 +0xe5
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc121a0?, 0xc0016fda40?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:168 +0xe8
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc12268?, 0xc00173d2c0?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:237 +0x775
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc121c8?, 0xc0016b3de0?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:185 +0x1a9
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc12268?, 0xc00173c840?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:237 +0x775
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc121c8?, 0xc001963450?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:185 +0x1a9
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc12268?, 0xc0019febd0?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:237 +0x775
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0003370a0, {0xc121a0?, 0xc0019f4770?}, 0x0)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:185 +0x1a9
honnef.co/go/tools/go/ir.(*Program).needMethodsOf(0xc0003370a0, {0xc121a0?, 0xc0019f4770?})
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:150 +0x70
honnef.co/go/tools/go/ir.(*Package).build(0xc000038360)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/builder.go:2535 +0x111
sync.(*Once).doSlow(0xc0003370a0?, 0xc000368ff0?)
GOROOT/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
GOROOT/src/sync/once.go:65
honnef.co/go/tools/go/ir.(*Package).Build(...)
honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/builder.go:2523
honnef.co/go/tools/internal/passes/buildir.run(0xc00032c000)
honnef.co/go/tools/internal/passes/buildir/external/co_honnef_go_tools/internal/passes/buildir/buildir.go:86 +0x308
main.(*action).execOnce(0xc0005f8820)
main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:353 +0x843
sync.(*Once).doSlow(0xc0007a03c0?, 0xc001baef80?)
GOROOT/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
GOROOT/src/sync/
```
Parameters: TAGS=bazel,gss,deadlock
Help
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
/cc @cockroachdb/test-eng
[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
Jira issue: CRDB-30947
Contributor guide
Assessment
This issue has not been assessed yet.