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

kv/kvnemesis: TestKVNemesisMultiNode failed #130662

Closed
cockroach-teamcity opened this issue Sep 13, 2024 · 1 comment
Closed

kv/kvnemesis: TestKVNemesisMultiNode failed #130662

cockroach-teamcity opened this issue Sep 13, 2024 · 1 comment
Labels
A-kv-replication Relating to Raft, consensus, and coordination. branch-release-23.2.12-rc C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-kv KV Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Sep 13, 2024

kv/kvnemesis.TestKVNemesisMultiNode failed with artifacts on release-23.2.12-rc @ 174a8953ca6cb442f9b90be89cbf083df8af1036:

Fatal error:

panic: r93/1: closed timestamp regression 1726233745.594741514,0 -> 1726233744.606186862,0 (cmd "36c9512b26612d2c" index 14 term 6 (LAI=2 CTS=1726233744.606186862,0))
data: 0036c9512b26612d2c300b6a12420a08c6a2b2d5a88eb4fa1792010360c80372ce020acb020000000000000000020000000139017a6b12016b12ec123633323132666363346336363534653700ffff0100ff0172647363000100037aa4ca34d0dd46dc807a263ed2ff43f5126a0a520a107aa4ca34d0dd46dc807a263ed2ff43f51a1e016b12ec123633323132666363346336363534653700ff010001726473632a0a08c6a2b2d5a88eb4fa1730f69b1338034a0a08c6a2b2d5a88eb4fa175004120c08c6a2b2d5a88eb4fa1710001800200c286e48010128016b12ec123633323132666363346336363534653700ff010001726473630017f4d0728aac9146096e00000002650a00d101a21c03085d1214ec123633323132666363346336363534653700011a14ec126438346139373963306139323532663000012208080310031801200022080802100218022000220808041004180320002804301c3a1008ffffffffffffffff7f10ffffffff077a008201260a12637264622d7472616365722d7370616e69641210313164306336626364633438313430618201260a13637264622d7472616365722d74726163656964120f6137353930623338316630316361388201080a0372656312017620028a010a08ee9aadd49d8eb4fa17 [recovered]
	panic: r93/1: closed timestamp regression 1726233745.594741514,0 -> 1726233744.606186862,0 (cmd "36c9512b26612d2c" index 14 term 6 (LAI=2 CTS=1726233744.606186862,0))
data: 0036c9512b26612d2c300b6a12420a08c6a2b2d5a88eb4fa1792010360c80372ce020acb020000000000000000020000000139017a6b12016b12ec123633323132666363346336363534653700ffff0100ff0172647363000100037aa4ca34d0dd46dc807a263ed2ff43f5126a0a520a107aa4ca34d0dd46dc807a263ed2ff43f51a1e016b12ec123633323132666363346336363534653700ff010001726473632a0a08c6a2b2d5a88eb4fa1730f69b1338034a0a08c6a2b2d5a88eb4fa175004120c08c6a2b2d5a88eb4fa1710001800200c286e48010128016b12ec123633323132666363346336363534653700ff010001726473630017f4d0728aac9146096e00000002650a00d101a21c03085d1214ec123633323132666363346336363534653700011a14ec126438346139373963306139323532663000012208080310031801200022080802100218022000220808041004180320002804301c3a1008ffffffffffffffff7f10ffffffff077a008201260a12637264622d7472616365722d7370616e69641210313164306336626364633438313430618201260a13637264622d7472616365722d74726163656964120f6137353930623338316630316361388201080a0372656312017620028a010a08ee9aadd49d8eb4fa17

Stack:

goroutine 6764685 [running]:
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0x1f003e5?, {0x6c58400, 0xc00d0345a0})
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:230 +0x65
panic({0x4709580?, 0xc018ade8c0?})
	GOROOT/src/runtime/panic.go:914 +0x21f
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.(*rangeAsserter).apply.func1({0x509f818?, 0xc013199da0?}, {0xc0039a39c0?, 0x8?, 0xc0039a38d0?})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/asserter.go:250 +0x165
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.(*rangeAsserter).apply(0xc01b40cc80, 0x1, {0xc013a4f740, 0x8}, {0x6, 0xe, 0x0, {0xc00c9fed20, 0x1de, 0x1e0}}, ...)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/asserter.go:301 +0x5f5
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.(*Asserter).Apply(0x4f72520?, 0x41aa3d?, 0x4acab40?, {0xc013a4f740, 0x8}, {0x6, 0xe, 0x0, {0xc00c9fed20, 0x1de, ...}}, ...)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/asserter.go:231 +0xa5
github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.kvnemesisTestCfg.testClusterArgs.func7({{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, {0x17f4d0728aac9146, 0x0, 0x0}, {0x0, ...}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:146 +0x86
github.com/cockroachdb/cockroach/pkg/kv/kvserver.replicaApplyTestingFilters({0xc008ff4690?, 0x6c58400?}, 0xc00f8bcf00?, 0xc003289028?, {0xc008ff46e0?, 0xc000f85590?, 0x0?}, 0x0?)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_application_state_machine.go:117 +0x1f7
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*replicaAppBatch).Stage(0xc008ff4690, {0x6c58400, 0xc00f8bcf00}, {0x6c783e0?, 0xc003289028})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_app_batch.go:113 +0xe9
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.mapCmdIter({0x6c87610?, 0xc008ff4a38}, 0xc0039a4568)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/cmd.go:192 +0x148
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.(*Task).applyOneBatch(0xc0039a4ad8, {0x6c58400, 0xc015f32d80}, {0x6c87610, 0xc008ff4a08})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/task.go:284 +0x150
github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply.(*Task).ApplyCommittedEntries(0xc0039a4ad8, {0x6c58400, 0xc015f32d80})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/apply/task.go:251 +0x95
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Replica).handleRaftReadyRaftMuLocked(_, {_, _}, {{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_raft.go:1065 +0x1445
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Replica).handleRaftReady(_, {_, _}, {{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/replica_raft.go:750 +0x1b0
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*Store).processReady(0xc00f5b3500, 0x6c58400?)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/store_raft.go:689 +0x12b
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*raftSchedulerShard).worker(0xc00db43180, {0x6c58400, 0xc00d0345a0}, {0x6c3c460, 0xc00f5b3500}, 0xc008190400)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/scheduler.go:418 +0x18d
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*raftScheduler).Start.func2({0x6c58400?, 0xc00d0345a0?})
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/scheduler.go:321 +0x46
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2()
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:484 +0x13a
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx in goroutine 6107460
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:475 +0x415
Log preceding fatal error

=== RUN   TestKVNemesisMultiNode
    test_log_scope.go:170: test logs captured to: /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/logTestKVNemesisMultiNode2316197588
    test_log_scope.go:81: use -show-logs to present logs inline
    kvnemesis_test.go:320: seed: 465950245651117279
    kvnemesis_test.go:227: kvnemesis logging to /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/kvnemesis2986459809

Parameters:

  • TAGS=bazel,gss,deadlock
  • stress=true
Help

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

Same failure on other branches

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-42172

@cockroach-teamcity cockroach-teamcity added branch-release-23.2.12-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 labels Sep 13, 2024
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone Sep 13, 2024
@arulajmani
Copy link
Collaborator

arulajmani commented Sep 13, 2024

Duplicate of #70894. I'll close this out given it's a rare flake (the one other time we've seen this was #114059) and the other issue is still open.

@arulajmani arulajmani added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-kv-replication Relating to Raft, consensus, and coordination. X-infra-flake the automatically generated issue was closed due to an infrastructure problem not a product issue and removed X-infra-flake the automatically generated issue was closed due to an infrastructure problem not a product issue release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-kv-replication Relating to Raft, consensus, and coordination. branch-release-23.2.12-rc C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-kv KV Team
Projects
None yet
Development

No branches or pull requests

2 participants