Skip to content

sql/catalog/lease: TestSubqueryLeases failed #141468

Closed
@github-actions

Description

sql/catalog/lease.TestSubqueryLeases failed on master @ a15ae4200e0b2eb52df2768fa544209a28c57cac:

Fatal error:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x4898e18]

Stack:

goroutine 31554 [running]:
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0xc00f47b3c8?, {0x6da0e80, 0xc004b8d860})
	pkg/util/stop/stopper.go:227 +0x65
panic({0x4fc2d00?, 0xa2eec50?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/catalog/lease_test.TestSubqueryLeases.func1({0x0?, 0x0?}, {0x1?, 0x6da0eb8?})
	pkg/sql/catalog/lease/lease_test.go:750 +0x18
github.com/cockroachdb/cockroach/pkg/sql/catalog/lease.storage.acquire({0xc00ecb9500, {0x6d7e040, 0xc00d725c20}, 0xc0069ad730, 0xc002280000, {{0xa76b740, 0xa76b760, {0x1}}, {0xa76b740}, 0x0}, ...}, ...)
	pkg/sql/catalog/lease/storage.go:239 +0x84a
github.com/cockroachdb/cockroach/pkg/sql/catalog/lease.acquireNodeLease.func1({0x6da0e80, 0xc004b8d860})
	pkg/sql/catalog/lease/lease.go:864 +0x1e5
github.com/cockroachdb/cockroach/pkg/util/syncutil/singleflight.(*Group).doCall.func1({0x6da0e80?, 0xc004b8d860?})
	pkg/util/syncutil/singleflight/singleflight.go:384 +0x2d
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunTask(0xc00d724510, {0x6da0e80, 0xc004b8d860}, {0xc00442fd60, 0xf}, 0xc00d83ef50)
	pkg/util/stop/stopper.go:317 +0x15d
github.com/cockroachdb/cockroach/pkg/util/syncutil/singleflight.(*Group).doCall(0xc01224fb90, {0x6da0e80?, 0xc004b8d5e0?}, 0xc0096886e0, {0x589d371, 0x1}, {0xc00d724510?, 0x40?}, 0xc00a3799c8)
	pkg/util/syncutil/singleflight/singleflight.go:383 +0x269
created by github.com/cockroachdb/cockroach/pkg/util/syncutil/singleflight.(*Group).DoChan in goroutine 31489
	pkg/util/syncutil/singleflight/singleflight.go:353 +0x53c
Log preceding fatal error

=== RUN   TestSubqueryLeases
    test_log_scope.go:165: test logs captured to: outputs.zip/logTestSubqueryLeases3106217094
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:154: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.

Parameters:

  • attempt=1
  • run=1
  • shard=1
Help

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

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-47837

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.P-1Issues/test failures with a fix SLA of 1 monthT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions