Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/ccl/logictestccl/tests/5node/5node_test: TestCCLLogic_partitioning_hash_sharded_index failed #138124

Open
cockroach-teamcity opened this issue Dec 31, 2024 · 1 comment
Labels
branch-release-24.3.3-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-kv KV Team

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Dec 31, 2024

pkg/ccl/logictestccl/tests/5node/5node_test.TestCCLLogic_partitioning_hash_sharded_index failed on release-24.3.3-rc @ 7dab2bb943152658ca94aeae83c450742ec361a5:

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=0x0 pc=0x6ae2da7]

Stack:

goroutine 7078 [running]:
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0xc01dacafd0?, {0xe305d98, 0xc014398b40})
	pkg/util/stop/stopper.go:226 +0x74
panic({0xa2bf060?, 0x127e6ad0?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/kv/kvserver.calcRaftFlowStateCounts(...)
	pkg/kv/kvserver/replica_metrics.go:338
github.com/cockroachdb/cockroach/pkg/kv/kvserver.calcReplicaMetrics({0xc00285a440, {0x8000000, 0x20000000, {0x3840, {0x0, 0x0, 0x0}, 0x0}, 0x0, 0x3, ...}, ...})
	pkg/kv/kvserver/replica_metrics.go:209 +0x6e7
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Replica).Metrics(_, {_, _}, {_, _}, _, _)
	pkg/kv/kvserver/replica_metrics.go:121 +0xa9d
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).updateReplicationGauges.func1(0xc01983f008)
	pkg/kv/kvserver/store.go:3354 +0x335
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*storeReplicaVisitor).Visit(0xc00da87080, 0xc01dace8d8)
	pkg/kv/kvserver/store.go:558 +0x2dd
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).updateReplicationGauges(0xc00285a408, {0xe305d98, 0xc00b6d45d0})
	pkg/kv/kvserver/store.go:3353 +0xb0f
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).computeMetricsLocked(_, {_, _})
	pkg/kv/kvserver/store.go:3624 +0xe6
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).computeMetrics(_, {_, _})
	pkg/kv/kvserver/store.go:3615 +0x150
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).ComputeMetricsPeriodically(_, {_, _}, _, _)
	pkg/kv/kvserver/store.go:3656 +0xb0
github.com/cockroachdb/cockroach/pkg/server.(*Node).computeMetricsPeriodically.func1(0xc00285a408)
	pkg/server/node.go:1214 +0xe6
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Stores).VisitStores.func1(0x9f80d10?, 0xc00285a408)
	pkg/kv/kvserver/stores.go:144 +0x42
github.com/cockroachdb/cockroach/pkg/util/syncutil.(*Map[...]).Range(0xe3fb960, 0xc01dacfb50)
	pkg/util/syncutil/map.go:391 +0x211
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Stores).VisitStores(0xc006ad18c0, 0xc01bc83ba0)
	pkg/kv/kvserver/stores.go:143 +0x95
github.com/cockroachdb/cockroach/pkg/server.(*Node).computeMetricsPeriodically(0xc008030008, {0xe305d98, 0xc014398b40}, 0xc01bc83d98, 0x8)
	pkg/server/node.go:1213 +0xcf
github.com/cockroachdb/cockroach/pkg/server.(*Node).startComputePeriodicMetrics.func2({0xe305d98, 0xc014398b40})
	pkg/server/node.go:1105 +0x273
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2({0xade75ff, 0xf})
	pkg/util/stop/stopper.go:498 +0x339
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx in goroutine 21
	pkg/util/stop/stopper.go:488 +0x786
Log preceding fatal error

[10:53:58] --- progress: /var/lib/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/pkg/ccl/logictestccl/tests/5node/5node_test_/5node_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/logictestccl/testdata/logic_test/partitioning_hash_sharded_index: 10 statements
[10:54:21] --- progress: /var/lib/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/pkg/ccl/logictestccl/tests/5node/5node_test_/5node_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/logictestccl/testdata/logic_test/partitioning_hash_sharded_index: 16 statements
*
* ERROR: a panic has occurred!
* runtime error: invalid memory address or nil pointer dereference
* (1) attached stack trace
*   -- stack trace:
*   | runtime.gopanic
*   | 	GOROOT/src/runtime/panic.go:770
*   | runtime.panicmem
*   | 	GOROOT/src/runtime/panic.go:261
*   | runtime.sigpanic
*   | 	GOROOT/src/runtime/signal_unix.go:881
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.calcRaftFlowStateCounts
*   | 	pkg/kv/kvserver/replica_metrics.go:338
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.calcReplicaMetrics
*   | 	pkg/kv/kvserver/replica_metrics.go:209
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Replica).Metrics
*   | 	pkg/kv/kvserver/replica_metrics.go:121
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).updateReplicationGauges.func1
*   | 	pkg/kv/kvserver/store.go:3354
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*storeReplicaVisitor).Visit
*   | 	pkg/kv/kvserver/store.go:558
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).updateReplicationGauges
*   | 	pkg/kv/kvserver/store.go:3353
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).computeMetricsLocked
*   | 	pkg/kv/kvserver/store.go:3624
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).computeMetrics
*   | 	pkg/kv/kvserver/store.go:3615
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).ComputeMetricsPeriodically
*   | 	pkg/kv/kvserver/store.go:3656
*   | github.com/cockroachdb/cockroach/pkg/server.(*Node).computeMetricsPeriodically.func1
*   | 	pkg/server/node.go:1214
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Stores).VisitStores.func1
*   | 	pkg/kv/kvserver/stores.go:144
*   | github.com/cockroachdb/cockroach/pkg/util/syncutil.(*Map[...]).Range
*   | 	pkg/util/syncutil/map.go:391
*   | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Stores).VisitStores
*   | 	pkg/kv/kvserver/stores.go:143
*   | github.com/cockroachdb/cockroach/pkg/server.(*Node).computeMetricsPeriodically
*   | 	pkg/server/node.go:1213
*   | github.com/cockroachdb/cockroach/pkg/server.(*Node).startComputePeriodicMetrics.func2
*   | 	pkg/server/node.go:1105
*   | github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2
*   | 	pkg/util/stop/stopper.go:498
*   | runtime.goexit
*   | 	src/runtime/asm_amd64.s:1695
* Wraps: (2) runtime error: invalid memory address or nil pointer dereference
* Error types: (1) *withstack.withStack (2) runtime.errorString
*

Parameters:

  • attempt=1
  • race=true
  • run=2
  • shard=4
Help

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

This test on roachdash | Improve this report!

Jira issue: CRDB-45909

@cockroach-teamcity cockroach-teamcity added branch-release-24.3.3-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-queries SQL Queries Team labels Dec 31, 2024
@github-project-automation github-project-automation bot moved this to Triage in SQL Queries Dec 31, 2024
@michae2
Copy link
Collaborator

michae2 commented Jan 2, 2025

@pav-kv could this be fallout from #137599?

@michae2 michae2 added T-kv KV Team and removed T-sql-queries SQL Queries Team labels Jan 2, 2025
@michae2 michae2 removed this from SQL Queries Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.3.3-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-kv KV Team
Projects
None yet
Development

No branches or pull requests

2 participants