cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.12k stars 3.81k forks source link

: failed #128734

Closed cockroach-teamcity closed 3 months ago

cockroach-teamcity commented 3 months ago

. failed with artifacts on release-23.2.9-rc @ 579c0a000fb80ef7184e46ea038937c135ee2f0c:

honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d048?, 0xc000787830?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc001b12f50?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:183 +0x1b5
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d048?, 0xc0007f4000?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc001b12cb0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:184 +0x1d4
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1cff8?, 0xc00074fd70?}, 0x1)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:230 +0x5a6
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc001b12b60?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:223 +0x419
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d020?, 0xc001c57320?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:195 +0x273
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d048?, 0xc001c5d068?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc001c58770?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:183 +0x1b5
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d048?, 0xc00500b998?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc004f62930?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:184 +0x1d4
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1d048?, 0xc00500b7b8?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc00480a000, {0xc1ceb8?, 0xc004f62850?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:184 +0x1d4
honnef.co/go/tools/go/ir.(*Program).needMethodsOf(0xc00480a000, {0xc1ceb8?, 0xc004f62850?})
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:148 +0x70
honnef.co/go/tools/go/ir.(*Package).build(0xc00548b0e0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/builder.go:2568 +0xf6
sync.(*Once).doSlow(0xc00480a000?, 0xc00012fe60?)
    GOROOT/src/sync/once.go:74 +0xbf
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:2556
honnef.co/go/tools/internal/passes/buildir.run(0xc0002d5ba0)
    honnef.co/go/tools/internal/passes/buildir/external/co_honnef_go_tools/internal/passes/buildir/buildir.go:86 +0x1a8
main.(*action).execOnce(0xc0001fbb80)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:353 +0x8d7
sync.(*Once).doSlow(0xc00003f680?, 0xc00003cd78?)
    GOROOT/src/sync/once.go:74 +0xbf
sync.(*Once).Do(...)
    GOROOT/src/sync/once.go:65
main.(*action).exec(...)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:280
main.execAll.func1(0xc000215500?)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:274 +0x72
created by main.execAll in goroutine 238
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:272 +0x48

Parameters:

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/test-eng

This test on roachdash | Improve this report!

Jira issue: CRDB-41165

cockroach-teamcity commented 3 months ago

. failed with artifacts on release-23.2.9-rc @ 579c0a000fb80ef7184e46ea038937c135ee2f0c:

[2,601 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 60s processwrapper-sandbox ... (3 actions running)
[2,602 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 68s processwrapper-sandbox ... (3 actions, 2 running)
[2,609 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 70s processwrapper-sandbox ... (3 actions running)
[2,611 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 72s processwrapper-sandbox ... (2 actions running)
[2,611 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 81s processwrapper-sandbox ... (2 actions running)
[2,611 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 111s processwrapper-sandbox ... (2 actions running)
[2,612 / 2,669] Executing genrule //pkg/sql/parser:sql-goyacc; 119s processwrapper-sandbox ... (2 actions, 1 running)
[2,620 / 2,669] GoCompilePkg pkg/sql/sessiondatapb/sessiondatapb.a; 0s processwrapper-sandbox ... (3 actions running)
[2,626 / 2,669] GoCompilePkg pkg/sql/sessiondatapb/sessiondatapb.a; 1s processwrapper-sandbox ... (3 actions, 2 running)
[2,632 / 2,669] GoCompilePkg pkg/sql/sem/tree/tree.a; 1s processwrapper-sandbox ... (2 actions, 1 running)
[2,635 / 2,669] GoCompilePkg pkg/sql/sem/tree/tree.a; 2s processwrapper-sandbox
[2,636 / 2,669] [Prepa] GoCompilePkg pkg/sql/roleoption/roleoption.a
[2,642 / 2,669] GoCompilePkg pkg/sql/schemachanger/scpb/scpb.a; 1s processwrapper-sandbox ... (2 actions running)
[2,643 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 7s processwrapper-sandbox ... (2 actions, 1 running)
[2,643 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 9s processwrapper-sandbox ... (2 actions running)
[2,644 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 10s processwrapper-sandbox ... (2 actions, 1 running)
[2,647 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 12s processwrapper-sandbox ... (4 actions running)
[2,648 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 14s processwrapper-sandbox ... (3 actions running)
[2,649 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 16s processwrapper-sandbox ... (3 actions, 2 running)
[2,653 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 17s processwrapper-sandbox ... (2 actions, 1 running)
[2,654 / 2,669] GoCompilePkg pkg/sql/parser/parser.a; 18s processwrapper-sandbox ... (2 actions, 1 running)
[2,657 / 2,669] GoCompilePkg pkg/sql/sem/eval/eval.a; 0s processwrapper-sandbox
ERROR: /go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/eval/BUILD.bazel:10:11: GoCompilePkg pkg/sql/sem/eval/eval.a failed: (Exit 1): builder failed: error executing command (from target //pkg/sql/sem/eval:eval) bazel-out/k8-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64_race -tags bazel,gss,bazel,gss,race -src ... (remaining 195 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=0x5fc853]

goroutine 542 [running]:
go/types.methodSet.add(0xc1ceb8?, {0x0, 0x1, 0xc001c9da24?}, {0x0, 0x0, 0xc0086be858?}, 0x20?, 0xc8?)
    GOROOT/src/go/types/methodset.go:222 +0xd3
go/types.NewMethodSet({0xc1ceb8?, 0xc0082f8070?})
    GOROOT/src/go/types/methodset.go:158 +0x8bd
golang.org/x/tools/go/types/typeutil.(*MethodSetCache).lookupNamed(0xc003ab9290, 0xc0082f8070)
    golang.org/x/tools/go/types/typeutil/external/org_golang_x_tools/go/types/typeutil/methodsetcache.go:66 +0x8f
golang.org/x/tools/go/types/typeutil.(*MethodSetCache).MethodSet(0xc003ab9290, {0xc1ceb8, 0xc0082f8070})
    golang.org/x/tools/go/types/typeutil/external/org_golang_x_tools/go/types/typeutil/methodsetcache.go:37 +0xaf
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1ceb8?, 0xc0082f8070?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:166 +0xe5
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1d048?, 0xc0084df5a8?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1ceb8?, 0xc001412ee0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:184 +0x1d4
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1d048?, 0xc00143e888?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1d020?, 0xc0014305f0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:183 +0x1b5
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1d048?, 0xc00141dd10?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:235 +0x4d2
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc003ab9260, {0xc1d020?, 0

Parameters:

See also: How To Investigate a Go Test Failure (internal)

This test on roachdash | Improve this report!

rickystewart commented 3 months ago

Duplicate of #99988