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

raft/rafttest: TestBasicProgress failed #130244

Closed
cockroach-teamcity opened this issue Sep 6, 2024 · 3 comments
Closed

raft/rafttest: TestBasicProgress failed #130244

cockroach-teamcity opened this issue Sep 6, 2024 · 3 comments
Labels
A-testing Testing tools and infrastructure branch-release-24.2 Used to mark GA and release blockers, technical advisories, and bugs for 24.2 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. P-3 Issues/test failures with no fix SLA T-kv KV Team X-duplicate Closed as a duplicate of another issue.

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Sep 6, 2024

raft/rafttest.TestBasicProgress failed with artifacts on release-24.2 @ 35538e048969d6d7937d6128dfd20ecdb4eb79d3:

I240906 14:07:18.538678 294 (gostd) node.go:100  [-] 2  raft.2: stop
I240906 14:07:18.538695 296 (gostd) node.go:100  [-] 3  raft.3: stop
I240906 14:07:18.538708 298 (gostd) node.go:100  [-] 4  raft.4: stop
I240906 14:07:18.538722 300 (gostd) node.go:100  [-] 5  raft.5: stop
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=()
raft2024/09/06 14:07:18 INFO: 1 became follower at term 0
raft2024/09/06 14:07:18 INFO: newRaft 1 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2024/09/06 14:07:18 INFO: 1 became follower at term 1
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=(1)
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=(1 2)
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=(1 2 3)
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=(1 2 3 4)
raft2024/09/06 14:07:18 INFO: 1 switched to configuration voters=(1 2 3 4 5)
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=()
raft2024/09/06 14:07:18 INFO: 2 became follower at term 0
raft2024/09/06 14:07:18 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2024/09/06 14:07:18 INFO: 2 became follower at term 1
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=(1)
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=(1 2)
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=(1 2 3)
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=(1 2 3 4)
raft2024/09/06 14:07:18 INFO: 2 switched to configuration voters=(1 2 3 4 5)
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=()
raft2024/09/06 14:07:18 INFO: 3 became follower at term 0
raft2024/09/06 14:07:18 INFO: newRaft 3 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2024/09/06 14:07:18 INFO: 3 became follower at term 1
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=(1)
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=(1 2)
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=(1 2 3)
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=(1 2 3 4)
raft2024/09/06 14:07:18 INFO: 3 switched to configuration voters=(1 2 3 4 5)
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=()
raft2024/09/06 14:07:18 INFO: 4 became follower at term 0
raft2024/09/06 14:07:18 INFO: newRaft 4 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2024/09/06 14:07:18 INFO: 4 became follower at term 1
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=(1)
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=(1 2)
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=(1 2 3)
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=(1 2 3 4)
raft2024/09/06 14:07:18 INFO: 4 switched to configuration voters=(1 2 3 4 5)
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=()
raft2024/09/06 14:07:18 INFO: 5 became follower at term 0
raft2024/09/06 14:07:18 INFO: newRaft 5 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2024/09/06 14:07:18 INFO: 5 became follower at term 1
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=(1)
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=(1 2)
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=(1 2 3)
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=(1 2 3 4)
raft2024/09/06 14:07:18 INFO: 5 switched to configuration voters=(1 2 3 4 5)
--- FAIL: TestBasicProgress (5.21s)
Help

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

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-41954

@cockroach-teamcity cockroach-teamcity added branch-release-24.2 Used to mark GA and release blockers, technical advisories, and bugs for 24.2 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 6, 2024
@miraradeva
Copy link
Contributor

miraradeva commented Sep 6, 2024

@pav-kv does this look the same as #121745?

I see a leader change in the test:

raft2024/09/06 14:07:13 INFO: 4 became leader at term 2
...
raft2024/09/06 14:07:13 INFO: 2 became leader at term 4
...
raft2024/09/06 14:07:13 INFO: found conflict at index 11 [existing term: 2, conflicting term: 4]
raft2024/09/06 14:07:13 INFO: replace the unstable entries from index 11

@miraradeva miraradeva added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-testing Testing tools and infrastructure P-3 Issues/test failures with no fix SLA X-duplicate Closed as a duplicate of another issue. and removed release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Sep 6, 2024
@pav-kv
Copy link
Collaborator

pav-kv commented Sep 6, 2024

Looks like it. Fixed by #130084.

@nvanbenschoten
Copy link
Member

Closed by #130259.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Testing tools and infrastructure branch-release-24.2 Used to mark GA and release blockers, technical advisories, and bugs for 24.2 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. P-3 Issues/test failures with no fix SLA T-kv KV Team X-duplicate Closed as a duplicate of another issue.
Projects
None yet
Development

No branches or pull requests

4 participants