Skip to content

raft/rafttest: TestRestart failed #127413

Description

@cockroach-teamcity

raft/rafttest.TestRestart failed with artifacts on master @ 46854026bc11b3870c8bbefc976f5550b18dd82c:

raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 2 not forwarding to itself at term 2; dropping proposal
raft2024/07/18 04:23:33 INFO: 5 is starting a new election at term 2
raft2024/07/18 04:23:33 INFO: 5 became candidate at term 3
raft2024/07/18 04:23:33 INFO: 5 [logterm: 2, index: 6] sent MsgVote request to 1 at term 3
raft2024/07/18 04:23:33 INFO: 5 [logterm: 2, index: 6] sent MsgVote request to 2 at term 3
raft2024/07/18 04:23:33 INFO: 5 [logterm: 2, index: 6] sent MsgVote request to 3 at term 3
raft2024/07/18 04:23:33 INFO: 5 [logterm: 2, index: 6] sent MsgVote request to 4 at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 5 lost leader 2 at term 3
raft2024/07/18 04:23:33 INFO: 5 received MsgVoteResp from 5 at term 3
raft2024/07/18 04:23:33 INFO: 5 has received 1 MsgVoteResp votes and 0 vote rejections
raft2024/07/18 04:23:33 INFO: 1 [term: 2] received a MsgVote message with higher term from 5 [term: 3]
raft2024/07/18 04:23:33 INFO: 1 became follower at term 3
raft2024/07/18 04:23:33 INFO: 1 [logterm: 2, index: 6, vote: 0] cast MsgVote for 5 [logterm: 2, index: 6] at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 1 lost leader 2 at term 3
raft2024/07/18 04:23:33 INFO: 4 [term: 2] received a MsgVote message with higher term from 5 [term: 3]
raft2024/07/18 04:23:33 INFO: 4 became follower at term 3
raft2024/07/18 04:23:33 INFO: 4 [logterm: 2, index: 6, vote: 0] cast MsgVote for 5 [logterm: 2, index: 6] at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 4 lost leader 2 at term 3
raft2024/07/18 04:23:33 INFO: 5 received MsgVoteResp from 1 at term 3
raft2024/07/18 04:23:33 INFO: 5 has received 2 MsgVoteResp votes and 0 vote rejections
raft2024/07/18 04:23:33 INFO: 3 [term: 2] received a MsgVote message with higher term from 5 [term: 3]
raft2024/07/18 04:23:33 INFO: 3 became follower at term 3
raft2024/07/18 04:23:33 INFO: 3 [logterm: 2, index: 6, vote: 0] cast MsgVote for 5 [logterm: 2, index: 6] at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 3 lost leader 2 at term 3
raft2024/07/18 04:23:33 INFO: 2 [term: 2] received a MsgVote message with higher term from 5 [term: 3]
raft2024/07/18 04:23:33 INFO: 2 became follower at term 3
raft2024/07/18 04:23:33 INFO: 2 [logterm: 2, index: 6, vote: 0] cast MsgVote for 5 [logterm: 2, index: 6] at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 2 lost leader 2 at term 3
raft2024/07/18 04:23:33 INFO: 5 received MsgVoteResp from 3 at term 3
raft2024/07/18 04:23:33 INFO: 5 has received 3 MsgVoteResp votes and 0 vote rejections
raft2024/07/18 04:23:33 INFO: 5 became leader at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 5 elected leader 5 at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 2 elected leader 5 at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 1 elected leader 5 at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 3 elected leader 5 at term 3
raft2024/07/18 04:23:33 INFO: raft.node: 4 elected leader 5 at term 3
    node_test.go:91: commits failed to converge!
I240718 04:23:38.520629 388 (gostd) node.go:100  [-] 8  raft.1: stop
I240718 04:23:38.520684 616 (gostd) node.go:100  [-] 9  raft.2: stop
I240718 04:23:38.520698 614 (gostd) node.go:100  [-] 10  raft.3: stop
I240718 04:23:38.520708 394 (gostd) node.go:100  [-] 11  raft.4: stop
I240718 04:23:38.521851 396 (gostd) node.go:100  [-] 12  raft.5: stop
--- FAIL: TestRestart (5.20s)
Help

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

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-40428

Metadata

Metadata

Assignees

Labels

A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsT-kvKV Teambranch-masterFailures and bugs on the master branch.branch-release-24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1branch-release-24.2Used to mark GA and release blockers, technical advisories, and bugs for 24.2v24.1.5v24.2.3

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions