[DEBUG] [07/02/2025 09:30:46.326] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:30:46,326 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/02/2025 09:30:46.326] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/02/2025 09:30:46.327] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/02/2025 09:30:46.340] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.82:17355] with UID [7358413958298804125] 09:30:46,340 AM [test-pekko.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.82:17355] with UID [7358413958298804125] [INFO] [07/02/2025 09:30:46.341] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Starting up, Pekko version [1.0.3] ... 09:30:46,341 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/02/2025 09:30:46.346] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:30:46,346 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/02/2025 09:30:46.346] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Started up successfully 09:30:46,346 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Started up successfully [INFO] [07/02/2025 09:30:46.347] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:30:46,347 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:30:46,347 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [07/02/2025 09:30:46.347] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:30:46,360 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 09:30:46,360 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,453 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:30:46,454 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:30:46,454 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:30:46,455 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:30:46,455 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:30:46,455 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 09:30:46,455 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:30:46,456 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:30:46,460 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 09:30:46,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#-1763438177] 09:30:46,462 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower420#1662353244] 09:30:46,462 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#-567482349] 09:30:46,465 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 09:30:46,465 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,468 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:30:46,468 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 09:30:46,469 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,469 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:30:46,469 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior422#1866995732] 09:30:46,470 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower423#23455500] 09:30:46,470 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#-1727996345] 09:30:46,472 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 09:30:46,472 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,472 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:30:46,472 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:30:46,472 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:30:46,472 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:30:46,473 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:30:46,473 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:30:46,473 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:30:46,473 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:30:46,475 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:46,475 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:46,475 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:30:46,476 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,476 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 09:30:46,476 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior425#2011967081] 09:30:46,476 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower426#2070689813] 09:30:46,477 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#-1906719548] 09:30:46,479 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,480 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:30:46,480 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior428#-1506730142] 09:30:46,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower429#-380615138] 09:30:46,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#-1204039767] 09:30:46,483 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:30:46,483 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,484 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:46,487 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:46,487 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,488 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:46,488 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:30:46,490 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:30:46,492 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior431#-711959337] 09:30:46,493 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower432#-1251500121] 09:30:46,493 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader433#-2047771469] 09:30:46,495 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 09:30:46,495 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,496 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:30:46,496 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:30:46,497 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:30:46,497 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:46,497 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:30:46,497 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:30:46,497 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:30:46,498 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,498 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 09:30:46,498 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:30:46,498 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:30:46,498 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:30:46,498 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior434#-38424911] 09:30:46,499 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower435#-1872432973] 09:30:46,499 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#-575248614] 09:30:46,501 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 09:30:46,501 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,502 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:30:46,502 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:30:46,502 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,502 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 09:30:46,503 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior437#273796344] 09:30:46,503 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower438#377907836] 09:30:46,503 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#-1214986382] 09:30:46,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior440#959362914] 09:30:46,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower441#1067645393] 09:30:46,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#772053154] 09:30:46,508 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 09:30:46,509 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:46,509 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:30:46,509 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:30:46,509 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:30:46,510 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,510 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:46,510 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 09:30:46,510 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 09:30:46,510 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 09:30:46,510 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 09:30:46,510 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior443#-502708276] 09:30:46,510 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower444#1245744939] 09:30:46,511 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#-695125696] 09:30:46,512 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/02/2025 09:30:46.514] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@7504437e [INFO] [pekkoDeadLetter][07/02/2025 09:30:46.514] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:46,515 AM [test-pekko.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:46,515 AM [test-pekko.actor.default-dispatcher-7] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 09:30:46,515 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:30:46,515 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:30:46,516 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:30:46,516 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:30:46,516 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 09:30:46,516 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 09:30:46,516 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:30:46,520 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@44c6f03d 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:30:46,525 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 461.3 μs with journalIndex=1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 09:30:46,527 AM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 09:30:46,527 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 11.05 ms [WARN] [07/02/2025 09:30:46.528] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 09:30:46.528] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:46,528 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 5.392 ms 09:30:46,533 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 4.390 μs 09:30:46,533 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:30:46,533 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 122.3 μs 09:30:46,533 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 09:30:46,533 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:30:46,630 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:46,630 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:46,630 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:46,630 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:46,731 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:46,731 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:46,731 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:46,731 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:46,748 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:30:46,832 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:46,832 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:46,832 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:46,832 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:46,933 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:46,933 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:46,933 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:46,933 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,33 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,33 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,33 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,33 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,133 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,134 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,134 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,134 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,234 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,234 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,234 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,234 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,334 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,334 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,334 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,334 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,536 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,536 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,536 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,536 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,637 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,637 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,637 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:47,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:47,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:47,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:47,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:48,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:48,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:48,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:48,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:48,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:48,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,241 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:48,241 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:48,241 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:48,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:48,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:48,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:48,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:30:48,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:30:48,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12395647166028867032/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:30:48,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:30:48,547 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior446#1150931650] 09:30:48,559 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower447#-598659782] 09:30:48,559 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#-959042733] 09:30:48,559 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 09:30:48,559 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#841,testCaptureSnapshotOnLastEntryInAppendEntries-writer-155]/waiting 09:30:48,559 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.026 s 09:30:48,560 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 49.42 μs 09:30:48,560 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 09:30:48,560 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:30:48,560 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:30:48,560 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:30:48,560 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:30:48,564 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,566 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior449#1599034407] 09:30:48,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower450#-1803514895] 09:30:48,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#-1908941794] 09:30:48,579 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 09:30:48,579 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,580 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 09:30:48,581 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:30:48,583 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior452#-1830848733] 09:30:48,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower453#-1742063173] 09:30:48,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#1426865450] 09:30:48,596 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 09:30:48,596 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,596 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:48,597 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,597 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:48,597 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:30:48,597 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:30:48,597 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:30:48,598 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:30:48,598 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,598 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:48,598 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:30:48,598 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:30:48,599 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior455#905794241] 09:30:48,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower456#-13647096] 09:30:48,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader457#1118709037] 09:30:48,612 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 09:30:48,613 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,613 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:48,614 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,614 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:30:48,615 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,615 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:48,615 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 09:30:48,616 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,616 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:30:48,617 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,617 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:30:48,617 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior458#-1806218773] 09:30:48,628 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower459#-960377862] 09:30:48,629 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader460#-680747949] 09:30:48,637 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,637 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior461#-1289626794] 09:30:48,638 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower462#1610225833] 09:30:48,638 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader463#1503116388] 09:30:48,640 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 09:30:48,641 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,642 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:48,643 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,643 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:30:48,643 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,644 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:48,644 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:30:48,645 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,645 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:30:48,645 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,645 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:30:48,645 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,646 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:30:48,647 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,647 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:30:48,647 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior464#830975604] 09:30:48,648 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower465#1729943431] 09:30:48,648 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader466#2123876262] 09:30:48,652 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 09:30:48,652 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,656 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:30:48,656 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:30:48,656 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 09:30:48,657 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior467#153409968] 09:30:48,667 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower468#1280088043] 09:30:48,668 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader469#-715825062] 09:30:48,672 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 09:30:48,672 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,674 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:30:48,676 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader472 09:30:48,676 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader472 09:30:48,679 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 09:30:48,680 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior470#1854823030] 09:30:48,691 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower471#-154848441] 09:30:48,691 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader472#-755377989] 09:30:48,698 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 09:30:48,699 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,700 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:30:48,703 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,704 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:48,704 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:30:48,704 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:30:48,705 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior473#-1743644552] 09:30:48,715 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower474#-1825936363] 09:30:48,716 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader475#1103795724] 09:30:48,718 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:30:48,719 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:48,720 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:48,720 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:48,720 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:30:48,721 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,721 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:48,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior476#514747350] 09:30:48,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower477#1964841291] 09:30:48,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader478#470005144] 09:30:48,736 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/02/2025 09:30:48.737] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@6be921e [INFO] [pekkoDeadLetter][07/02/2025 09:30:48.737] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:48,737 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:48,738 AM [test-pekko.actor.default-dispatcher-7] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 09:30:48,738 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:30:48,738 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:30:48,738 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 09:30:48,739 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:30:48,739 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 09:30:48,739 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 09:30:48,739 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:30:48,741 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:30:48,746 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:30:48,746 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 09:30:48,746 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@4d138f79 09:30:48,746 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 09:30:48,746 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 427.3 μs with journalIndex=1 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 09:30:48,747 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:48,748 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 8.477 ms 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one [WARN] [07/02/2025 09:30:48.748] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] 09:30:48,748 AM [test-pekko.actor.default-dispatcher-8] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/02/2025 09:30:48.748] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:48,753 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:30:48,753 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:30:48,753 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.005 ms 09:30:48,753 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:30:48,753 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 7.110 μs 09:30:48,753 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:30:48,755 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 09:30:48,755 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:30:48,755 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:30:48,755 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 1.966 ms 09:30:48,755 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:30:48,755 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:30:48,899 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:48,899 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:48,899 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:48,899 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,1 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,1 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,1 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,1 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,38 AM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:30:49,103 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,103 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,103 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,103 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,203 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,203 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,203 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,203 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,304 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,304 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,304 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,304 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,404 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,404 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,404 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,404 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,505 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,505 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,505 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,505 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,706 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,706 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,706 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,706 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:49,907 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:49,907 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:49,907 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:49,907 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:30:50,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:30:50,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14573928175889651524/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:30:50,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:30:50,812 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior479#-1368254683] 09:30:50,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower480#2026231314] 09:30:50,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader481#556083927] 09:30:50,824 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 09:30:50,824 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#845,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156]/waiting 09:30:50,824 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.069 s 09:30:50,824 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 35.56 μs 09:30:50,824 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 09:30:50,824 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:30:50,824 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:30:50,824 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:30:50,824 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:30:50,829 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 09:30:50,829 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,830 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:50,831 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 09:30:50,831 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 09:30:50,831 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,831 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 09:30:50,832 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior482#-1382123319] 09:30:50,833 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower483#579225726] 09:30:50,833 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader484#1822653219] 09:30:50,834 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 09:30:50,834 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,835 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:30:50,835 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 09:30:50,836 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 09:30:50,836 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 09:30:50,836 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 09:30:50,836 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior485#973733982] 09:30:50,837 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower486#-573794596] 09:30:50,837 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader487#2067642097] 09:30:50,838 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 09:30:50,839 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,839 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:30:50,839 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:30:50,839 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:30:50,840 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:30:50,840 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,840 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:30:50,840 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 09:30:50,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:30:50,840 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:50,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:30:50,840 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:30:50,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:30:50,840 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:30:50,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:30:50,840 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:30:50,841 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior488#610105251] 09:30:50,841 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower489#2056987491] 09:30:50,841 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader490#-1244160700] 09:30:50,842 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 09:30:50,842 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,843 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 09:30:50,843 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 09:30:50,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior491#-210843185] 09:30:50,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower492#-1877183489] 09:30:50,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader493#-390751408] 09:30:50,845 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 09:30:50,845 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,845 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:30:50,845 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:30:50,845 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:30:50,845 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:30:50,846 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,846 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 09:30:50,846 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:30:50,847 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:30:50,847 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:30:50,847 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior494#-950964531] 09:30:50,847 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower495#-277609138] 09:30:50,847 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader496#678763697] 09:30:50,849 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 09:30:50,849 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:50,849 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:30:50,849 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:50,849 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:30:50,850 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,850 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:30:50,850 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:30:50,850 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:50,850 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:30:50,850 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,851 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:30:50,851 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:30:50,851 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:30:50,851 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:30:50,851 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:50,851 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:30:50,851 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior497#1581344019] 09:30:50,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower498#-1027357703] 09:30:50,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader499#-728255415] 09:30:50,853 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 09:30:50,853 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,54 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:30:51,54 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.171.82:17355, Removed) 09:30:51,54 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 09:30:51,54 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:30:51,54 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:30:51,54 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:30:51,54 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior500#1857717138] 09:30:51,65 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower501#1359053003] 09:30:51,65 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader502#-1696572751] 09:30:51,68 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,68 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 09:30:51,269 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:30:51,270 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior503#-1308224726] 09:30:51,281 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower504#-497152610] 09:30:51,281 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader505#1528259496] 09:30:51,285 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 09:30:51,286 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,288 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:30:51,288 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 09:30:51,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior506#-1208664186] 09:30:51,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower507#431258852] 09:30:51,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader508#1133158524] 09:30:51,302 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 09:30:51,302 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,303 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 09:30:51,304 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:30:51,305 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:51,305 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 09:30:51,305 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:30:51,305 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:30:51,305 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:51,305 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:30:51,305 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:30:51,305 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:30:51,305 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:30:51,306 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:30:51,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:30:51,306 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 09:30:51,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 09:30:51,307 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior509#1399125448] 09:30:51,318 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower510#1845551939] 09:30:51,318 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader511#621151022] 09:30:51,321 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 09:30:51,322 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,323 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:30:51,323 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:30:51,323 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:30:51,323 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:30:51,323 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 09:30:51,324 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:51,324 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior512#716139435] 09:30:51,335 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower513#-881051904] 09:30:51,335 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader514#1827178687] 09:30:51,337 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 09:30:51,337 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:51,338 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:30:51,338 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:30:51,338 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:30:51,338 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:30:51,339 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:30:51,339 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior515#2018105791] 09:30:51,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower516#-1430760229] 09:30:51,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader517#-1632190382] 09:30:51,342 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [07/02/2025 09:30:51.342] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@281406e2 09:30:51,343 AM [test-pekko.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/02/2025 09:30:51.343] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:51,344 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 09:30:51,344 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:30:51,344 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:30:51,344 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:30:51,345 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:30:51,345 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 09:30:51,345 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 09:30:51,345 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:30:51,347 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:30:51,351 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:30:51,351 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:30:51,351 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@55208901 09:30:51,351 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 241.0 μs with journalIndex=1 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 09:30:51,352 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 09:30:51,353 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 7.430 ms 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/02/2025 09:30:51.353] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] 09:30:51,353 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/02/2025 09:30:51.353] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:51,358 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 09:30:51,358 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 4.969 ms 09:30:51,358 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 4.400 μs 09:30:51,358 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 09:30:51,358 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:30:51,358 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:30:51,359 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 09:30:51,359 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 09:30:51,359 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 1.015 ms 09:30:51,359 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:30:51,359 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 09:30:51,359 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:30:51,504 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:51,504 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,504 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,504 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:51,588 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:30:51,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:51,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,605 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:51,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:51,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:51,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:51,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,806 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:51,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:51,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:51,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:51,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:52,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:52,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:52,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:52,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:53,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:53,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:53,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:53,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:53,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:53,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:53,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:53,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:53,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:53,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:53,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:53,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:53,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:30:53,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:30:53,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2834328596256722850/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:30:53,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:30:53,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior518#-766235902] 09:30:53,429 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower519#-1643752322] 09:30:53,429 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader520#-1665452359] 09:30:53,429 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 09:30:53,429 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#847,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/waiting 09:30:53,429 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.071 s 09:30:53,430 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 50.47 μs 09:30:53,430 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 09:30:53,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:30:53,430 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:30:53,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:30:53,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:30:53,434 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 09:30:53,434 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:53,735 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:30:53,865 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:30:53,865 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 09:30:54,116 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 09:30:54,316 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 09:30:54,316 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior521#1388334663] 09:30:54,328 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower522#992960751] 09:30:54,328 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader523#18803365] 09:30:54,331 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,332 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:30:54,332 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 09:30:54,332 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:30:54,332 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:30:54,333 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:30:54,333 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior524#-922035426] 09:30:54,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower525#-279796046] 09:30:54,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader526#1922240569] 09:30:54,346 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,348 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:30:54,349 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:30:54,349 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior527#1455551419] 09:30:54,360 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower528#-304917234] 09:30:54,360 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader529#-1657676023] 09:30:54,363 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 09:30:54,365 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:54,366 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 09:30:54,366 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 09:30:54,366 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:30:54,366 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:54,366 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 09:30:54,367 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior530#1902019854] 09:30:54,378 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower531#-366169727] 09:30:54,378 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader532#2111106308] 09:30:54,382 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,383 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:30:54,384 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:30:54,385 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior533#-682964952] 09:30:54,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower534#771073653] 09:30:54,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader535#1727429793] 09:30:54,397 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,398 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:30:54,399 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 09:30:54,399 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:30:54,399 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 09:30:54,400 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 09:30:54,400 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 09:30:54,400 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 09:30:54,400 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 09:30:54,401 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 09:30:54,401 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:30:54,402 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:30:54,403 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:30:54,404 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior536#-1072757622] 09:30:54,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower537#-1950199514] 09:30:54,419 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader538#315182767] 09:30:54,421 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,422 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:54,422 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:30:54,422 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,422 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 09:30:54,422 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:30:54,422 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:30:54,423 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:30:54,423 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:30:54,423 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior539#826271019] 09:30:54,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower540#422119011] 09:30:54,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader541#1374041135] 09:30:54,436 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,437 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 09:30:54,437 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior542#-1700578629] 09:30:54,438 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower543#-22551844] 09:30:54,438 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader544#1342179670] 09:30:54,440 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:30:54,441 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:30:54,441 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:30:54,441 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior545#453148398] 09:30:54,442 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower546#1117340632] 09:30:54,442 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader547#492473537] [INFO] [07/02/2025 09:30:54.443] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:30:54,443 AM [test-pekko.actor.default-dispatcher-8] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/02/2025 09:30:54.444] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.82:17355) [INFO] [pekkoDeadLetter][07/02/2025 09:30:54.444] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1317712135] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:30:54,444 AM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1317712135] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [07/02/2025 09:30:54.444] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Exiting completed [INFO] [07/02/2025 09:30:54.444] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Shutting down... 09:30:54,444 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Exiting completed 09:30:54,445 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Shutting down... 09:30:54,445 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.82:17355] - Successfully shut down [INFO] [07/02/2025 09:30:54.444] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.82:17355] - Successfully shut down 09:30:54,446 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [07/02/2025 09:30:54.446] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.171.82:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/02/2025 09:30:54.446] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.171.82:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:30:54,446 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 09:30:54,448 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [07/02/2025 09:30:54.448] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.82:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [07/02/2025 09:30:54.448] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger