Skip to content

bazel: TestLint/TestGCAssert fails when run under Bazel #65485

@rickystewart

Description

@rickystewart

We see a lot of error output like this:

...
        ../../sql/colexec/sort.eg.go:2731:	s.sortCol.Get(s.order[j]): call was not inlined
        ../../sql/colexec/sort.eg.go:2921:	s.sortCol.Get(s.order[i]): call was not inlined
        ../../sql/colexec/sort.eg.go:2922:	s.sortCol.Get(s.order[j]): call was not inlined
        ../../sql/colexec/sort.eg.go:2990:	s.sortCol.Get(s.order[i]): call was not inlined
        ../../sql/colexec/sort.eg.go:2991:	s.sortCol.Get(s.order[j]): call was not inlined
        ../../sql/colexec/sort.eg.go:3051:	s.sortCol.Get(s.order[i]): call was not inlined
...

The same errors don't appear when the lint test is run outside the Bazel context. We're not sure if these errors are spurious or false alarms.

Epic CRDB-8349
Jira issue: CRDB-7629

Metadata

Metadata

Assignees

Labels

A-build-systemC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-infv23.1.5

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions