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 #126794

Closed cockroach-teamcity closed 4 months ago

cockroach-teamcity commented 4 months ago

. failed with artifacts on release-23.1 @ 85196c163d18d7396e6c7f38bcfb9f5b9acf9f61:

honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc172e0?, 0xc0002be770?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:186 +0x1c8
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc17380?, 0xc0009600f0?}, 0x1)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:232 +0x65d
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc172e0?, 0xc0002be700?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:225 +0x5ac
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc17308?, 0xc000b400c0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:197 +0x49c
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc173a8?, 0xc0006be198?}, 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(0xc0035b00e0, {0xc17330?, 0xc00059cd00?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:213 +0x2d8
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc17380?, 0xc0003adbc0?}, 0x1)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:232 +0x65d
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc172e0?, 0xc0002be5b0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:225 +0x5ac
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc17308?, 0xc0021a7f70?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:197 +0x49c
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc173a8?, 0xc001140558?}, 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(0xc0035b00e0, {0xc17308?, 0xc0003ed8d0?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:186 +0x1c8
honnef.co/go/tools/go/ir.(*Program).needMethods(0xc0035b00e0, {0xc173a8?, 0xc0034b6e10?}, 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(0xc0035b00e0, {0xc17330?, 0xc00350e240?}, 0x0)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/methods.go:213 +0x2d8
honnef.co/go/tools/go/ir.(*Program).needMethodsOf(0xc0035b00e0, {0xc17330?, 0xc00350e240?})
    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(0xc0035a9170)
    honnef.co/go/tools/go/ir/external/co_honnef_go_tools/go/ir/builder.go:2535 +0x111
sync.(*Once).doSlow(0xc0035b00e0?, 0xc000170a50?)
    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(0xc00035dd40)
    honnef.co/go/tools/internal/passes/buildir/external/co_honnef_go_tools/internal/passes/buildir/buildir.go:86 +0x308
main.(*action).execOnce(0xc00017c0a0)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:353 +0x843
sync.(*Once).doSlow(0x6c71746e756f4374?, 0xc003865780?)
    GOROOT/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
    GOROOT/src/sync/once.go:65
main.(*action).exec(0x617461446d754e71?)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:280 +0x3d
main.execAll.func1(0x726b636f632f6d6f?)
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:274 +0x54
created by main.execAll
    main/external/io_bazel_rules_go/go/tools/builders/nogo_main.go:272 +0x47

Parameters:

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

Same failure on other branches

- #126782 : failed [C-test-failure O-robot T-testeng branch-release-23.2.7-rc release-blocker]

/cc @cockroachdb/test-eng

This test on roachdash | Improve this report!

Jira issue: CRDB-40132

cockroach-teamcity commented 4 months ago

. failed with artifacts on release-23.1 @ 85196c163d18d7396e6c7f38bcfb9f5b9acf9f61:

[3,612 / 4,054] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 133s processwrapper-sandbox ... (2 actions running)
[3,613 / 4,054] Executing genrule //pkg/sql/parser:sql-goyacc [for tool]; 142s processwrapper-sandbox
[3,620 / 4,054] GoCompilePkg pkg/server/autoconfig/autoconfigpb/autoconfigpb.a; 0s processwrapper-sandbox ... (6 actions, 5 running)
[3,630 / 4,054] GoCompilePkg pkg/sql/sessiondatapb/sessiondatapb.a; 1s processwrapper-sandbox ... (8 actions, 7 running)
[3,645 / 4,054] GoCompilePkg pkg/util/admission/admission.a; 1s processwrapper-sandbox ... (7 actions, 6 running)
[3,654 / 4,054] GoCompilePkg pkg/sql/sem/tree/tree.a; 1s processwrapper-sandbox ... (3 actions, 2 running)
[3,659 / 4,054] GoCompilePkg pkg/sql/sem/tree/tree.a; 3s processwrapper-sandbox ... (7 actions running)
[3,668 / 4,054] GoCompilePkg pkg/sql/sem/tree/tree.a; 5s processwrapper-sandbox
[3,669 / 4,054] [Prepa] GoCompilePkg pkg/sql/memsize/memsize.a
[3,678 / 4,054] GoCompilePkg pkg/config/zonepb/zonepb.a; 1s processwrapper-sandbox ... (6 actions, 5 running)
[3,689 / 4,054] GoCompilePkg pkg/sql/schemachanger/scpb/scpb.a; 1s processwrapper-sandbox ... (2 actions running)
[3,690 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 3s processwrapper-sandbox ... (2 actions, 1 running)
[3,690 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 4s processwrapper-sandbox ... (2 actions running)
[3,693 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 6s processwrapper-sandbox ... (7 actions, 6 running)
[3,699 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 7s processwrapper-sandbox ... (5 actions, 4 running)
[3,702 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 8s processwrapper-sandbox ... (4 actions running)
[3,703 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 9s processwrapper-sandbox ... (3 actions running)
[3,704 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 10s processwrapper-sandbox ... (3 actions, 2 running)
[3,711 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 11s processwrapper-sandbox ... (3 actions, 2 running)
[3,717 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 13s processwrapper-sandbox ... (5 actions, 4 running)
[3,725 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 14s processwrapper-sandbox ... (5 actions, 4 running)
[3,730 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 15s processwrapper-sandbox ... (2 actions running)
[3,736 / 4,054] GoCompilePkg pkg/sql/parser/parser.a; 17s processwrapper-sandbox
[3,737 / 4,054] [Prepa] GoCompilePkg pkg/sql/plpgsql/parser/plpgparser.a
[3,743 / 4,054] GoCompilePkg pkg/sql/sem/eval/eval.a; 1s processwrapper-sandbox
[3,745 / 4,054] GoCompilePkg pkg/sql/catalog/descidgen/descidgen.a; 1s processwrapper-sandbox ... (8 actions, 7 running)
[3,754 / 4,054] GoCompilePkg pkg/sql/sem/asof/asof.a; 1s processwrapper-sandbox ... (8 actions, 7 running)
[3,763 / 4,054] GoCompilePkg pkg/sql/storageparam/indexstorageparam/indexstorageparam.a; 1s processwrapper-sandbox ... (6 actions, 5 running)
[3,768 / 4,054] GoCompilePkg pkg/sql/opt/opt.a; 2s processwrapper-sandbox ... (8 actions, 7 running)
[3,775 / 4,054] GoCompilePkg pkg/sql/catalog/tabledesc/tabledesc.a; 1s processwrapper-sandbox ... (8 actions, 7 running)
[3,778 / 4,054] GoCompilePkg pkg/sql/catalog/tabledesc/tabledesc.a; 2s processwrapper-sandbox ... (8 actions running)
[3,781 / 4,054] GoCompilePkg pkg/sql/catalog/tabledesc/tabledesc.a; 3s processwrapper-sandbox ... (8 actions running)
[3,787 / 4,054] GoCompilePkg pkg/sql/catalog/tabledesc/tabledesc.a; 4s processwrapper-sandbox ... (8 actions, 7 running)
[3,794 / 4,054] GoCompilePkg pkg/sql/catalog/tabledesc/tabledesc.a; 5s processwrapper-sandbox ... (8 actions, 7 running)
ERROR: /go/src/github.com/cockroachdb/cockroach/pkg/cloud/azure/BUILD.bazel:3:11: GoCompilePkg pkg/cloud/azure/azure.a failed: (Exit 1): builder failed: error executing command (from target //pkg/cloud/azure:azure) 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,race,bazel,gss,race,race -src ... (remaining 85 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 103 [running]:
go/types.methodSet.add(0xc172e0?, {0x0, 0x2, 0xc00216b0b0?}, {0x0, 0x0, 0x6?}, 0x48?, 0x15?)
    GOROOT/src/go/types/methodset.go:214 +0xdc
go/types.NewMethodSet({0xc172e0?, 0xc0006cce00?})
    GOROOT/src/go/types/methodset.go:150 +0x869
golang.org/x/tools/go/types/typeutil.(*MethodSetCache).lookupNamed(0xc000ba04a0, 0xc0006cce00)
    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(0xc000ba04a0, {0xc172e0?, 0xc0006cce00?})
    golang.org/x/tools/go/types/typeutil/external/org_golang_x_tools/go/types/typeutil/methodsetcache.go:37 +0xe5
golang.org/x/tools/go/ssa.(*Program).needMethods(0xc000b

Parameters:

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

Same failure on other branches

- #126782 : failed [C-test-failure O-robot T-testeng branch-release-23.2.7-rc release-blocker]

This test on roachdash | Improve this report!

rickystewart commented 4 months ago

Duplicate of #99988