-
Notifications
You must be signed in to change notification settings - Fork 4.1k
server: TestListClosedSessions failed #83498
Copy link
Copy link
Closed
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.
Description
server.TestListClosedSessions failed with artifacts on master @ 5cc0d035443760c3219084292799c4a7d8eb0135:
=== RUN TestListClosedSessions
test_log_scope.go:79: test logs captured to: /artifacts/tmp/_tmp/ab5462d2cb3989e2a33018db970f23de/logTestListClosedSessions2314708176
test_log_scope.go:80: use -show-logs to present logs inline
panic.go:1047: -- test log scope end --
panic.go:1047: runtime error: invalid memory address or nil pointer dereference
goroutine 567365 [running]:
runtime/debug.Stack()
GOROOT/src/runtime/debug/stack.go:24 +0x65
github.com/cockroachdb/cockroach/pkg/util/leaktest.AfterTest.func1()
github.com/cockroachdb/cockroach/pkg/util/leaktest/leaktest.go:110 +0x92
panic({0x5766de0, 0x876d520})
GOROOT/src/runtime/panic.go:1047 +0x266
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*propBuf).maybeRejectUnsafeProposalLocked(0xc000ba4ab8, {0x654d3f8, 0xc00c0f9f20}, {0x0, 0x0}, 0xc00556f8c0)
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_proposal_buf.go:690 +0x41f
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*propBuf).FlushLockedWithRaftGroup(0xc000ba4ab8, {0x654d3f8, 0xc00c0f9f20}, {0x0, 0x0})
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_proposal_buf.go:428 +0x4d5
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*propBuf).FlushLockedWithoutProposing(0xc000ba4ab8, {0x654d3f8, 0xc00c0f9f20})
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_proposal_buf.go:921 +0x65
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).processRaft.func2.1(0xc000ba4400)
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/store_raft.go:711 +0x97
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*storeReplicaVisitor).Visit(0xc006c9f020, 0xc0014581a0)
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/store.go:416 +0x25c
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).VisitReplicas(0xc00497b500, 0xc008b021a0, {0x0, 0x0, 0x0})
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/store.go:2633 +0xc5
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).processRaft.func2()
github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/store_raft.go:709 +0x85
github.com/cockroachdb/cockroach/pkg/util/stop.CloserFn.Close(0xc0062dcca0)
github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:107 +0x1f
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Stop(0xc00459a360, {0x654d388, 0xc00007e050})
github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:558 +0x3ae
github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).stopServerLocked(0xc00237a000, 0x0)
github.com/cockroachdb/cockroach/pkg/testutils/testcluster/testcluster.go:205 +0x8c
github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).stopServers(0xc00237a000, {0x654d388, 0xc00007e050})
github.com/cockroachdb/cockroach/pkg/testutils/testcluster/testcluster.go:141 +0x3aa
github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).Start.func2()
github.com/cockroachdb/cockroach/pkg/testutils/testcluster/testcluster.go:438 +0x48
github.com/cockroachdb/cockroach/pkg/util/stop.CloserFn.Close(0xc007e34330)
github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:107 +0x1f
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Stop(0xc00459a2d0, {0x654d388, 0xc00007e038})
github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:558 +0x3ae
github.com/cockroachdb/cockroach/pkg/server.TestListClosedSessions(0xc003892000)
github.com/cockroachdb/cockroach/pkg/server/status_test.go:3330 +0xc53
testing.tRunner(0xc003892000, 0x5f7cbc0)
GOROOT/src/testing/testing.go:1259 +0x102
created by testing.(*T).Run
GOROOT/src/testing/testing.go:1306 +0x35a
--- FAIL: TestListClosedSessions (37.32s)
Parameters: TAGS=bazel,gss
This test on roachdash | Improve this report!
Jira issue: CRDB-17105
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.