[DEBUG] [07/02/2025 11:01:53.849] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 11:01:53,849 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/02/2025 11:01:53.850] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/02/2025 11:01:53.850] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/02/2025 11:01:53.864] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.118:17355] with UID [-5995755387271603193] 11:01:53,865 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.118:17355] with UID [-5995755387271603193] [INFO] [07/02/2025 11:01:53.865] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Starting up, Pekko version [1.0.3] ... 11:01:53,868 AM [test-pekko.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/02/2025 11:01:53.869] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/02/2025 11:01:53.869] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Started up successfully 11:01:53,869 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 11:01:53,869 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Started up successfully [INFO] [07/02/2025 11:01:53.873] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 11:01:53,873 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/02/2025 11:01:53.873] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 11:01:53,876 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 11:01:53,882 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 11:01:53,882 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,18 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:01:54,19 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:01:54,19 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:01:54,19 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:01:54,20 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 11:01:54,20 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 11:01:54,20 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 11:01:54,20 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 11:01:54,23 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 11:01:54,24 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#-26442374] 11:01:54,25 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower420#223634718] 11:01:54,25 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#1096199250] 11:01:54,30 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 11:01:54,30 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,33 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]]} 11:01:54,33 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 11:01:54,34 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} 11:01:54,34 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 11:01:54,34 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior422#-1105946597] 11:01:54,35 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower423#731100126] 11:01:54,35 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#-1210779257] 11:01:54,38 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 11:01:54,38 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,39 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:01:54,39 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:01:54,39 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:01:54,39 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:01:54,40 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 11:01:54,40 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 11:01:54,40 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 11:01:54,43 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:01:54,43 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 11:01:54,44 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]]} 11:01:54,44 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 11:01:54,44 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} 11:01:54,45 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 11:01:54,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior425#-599429072] 11:01:54,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower426#-1954788130] 11:01:54,46 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#1948611305] 11:01:54,53 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,54 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 11:01:54,55 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior428#499096565] 11:01:54,55 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower429#1210391017] 11:01:54,56 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#-1041339720] 11:01:54,61 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 11:01:54,61 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,65 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 11:01:54,66 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]]} 11:01:54,66 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:54,66 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:01:54,68 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:01:54,68 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:01:54,69 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:01:54,69 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} 11:01:54,69 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:54,69 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:01:54,72 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:01:54,72 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior431#375818299] 11:01:54,74 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower432#-208540197] 11:01:54,74 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader433#1010377550] 11:01:54,76 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 11:01:54,76 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,77 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]]} 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 11:01:54,78 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} 11:01:54,78 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:01:54,78 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:01:54,78 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:01:54,78 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:01:54,78 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:01:54,78 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:01:54,79 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]]} 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 11:01:54,79 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 11:01:54,80 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} 11:01:54,81 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 11:01:54,81 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:01:54,81 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:01:54,81 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:01:54,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior434#-1682209437] 11:01:54,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower435#666415787] 11:01:54,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#-1362790764] 11:01:54,85 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 11:01:54,85 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,86 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 11:01:54,86 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 11:01:54,87 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} 11:01:54,87 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 11:01:54,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior437#-1873938826] 11:01:54,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower438#1714503554] 11:01:54,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#5385583] 11:01:54,90 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,93 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior440#-425331758] 11:01:54,94 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower441#375207505] 11:01:54,94 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#242911717] 11:01:54,95 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 11:01:54,96 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:54,96 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 11:01:54,96 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 11:01:54,97 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]]} 11:01:54,97 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:54,97 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:01:54,97 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:01:54,97 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:01:54,97 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:01:54,98 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} 11:01:54,98 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:54,98 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 11:01:54,98 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 11:01:54,98 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 11:01:54,98 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 11:01:54,98 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior443#1716072817] 11:01:54,99 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower444#1998085683] 11:01:54,99 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#2071758284] 11:01:54,101 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/02/2025 11:01:54.103] [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@36ab2aec [INFO] [pekkoDeadLetter][07/02/2025 11:01:54.103] [test-pekko.actor.default-dispatcher-6] [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'. 11:01:54,104 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'. 11:01:54,105 AM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 11:01:54,105 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 11:01:54,105 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 11:01:54,105 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 11:01:54,106 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:01:54,106 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 11:01:54,106 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 11:01:54,106 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 11:01:54,114 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 11:01:54,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:01:54,115 AM [test-pekko.actor.default-dispatcher-12] [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 11:01:54,118 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:01:54,118 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 11:01:54,118 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@4ffad85c 11:01:54,118 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 11:01:54,119 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 11:01:54,119 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 11:01:54,119 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 319.5 μs with journalIndex=1 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [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]]} 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [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} 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 11:01:54,121 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 11:01:54,122 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 11:01:54,122 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 11:01:54,122 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 11:01:54,122 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two [WARN] [07/02/2025 11:01:54.122] [test-pekko.actor.default-dispatcher-10] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] 11:01:54,122 AM [test-pekko.actor.default-dispatcher-10] [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'. [INFO] [pekkoDeadLetter][07/02/2025 11:01:54.122] [test-pekko.actor.default-dispatcher-5] [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'. 11:01:54,122 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 3 commands after 16.22 ms 11:01:54,127 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 11:01:54,127 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 3 completion(s) pending 11:01:54,127 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 3 commands in 4.832 ms 11:01:54,127 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 11:01:54,127 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 3 completion(s) 11:01:54,127 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:01:54,127 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:01:54,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,352 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:01:54,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,477 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,477 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,477 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,477 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,679 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,679 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,679 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,679 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,781 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,781 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,781 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,781 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:54,983 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:54,983 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:54,983 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:54,983 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,83 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,83 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,83 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,83 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,184 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,184 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,184 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,184 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,489 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,489 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:56,94 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:01:56,94 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:01:56,94 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7442031583852656051/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:01:56,94 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:01:56,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior446#1595390154] 11:01:56,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower447#497199614] 11:01:56,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#-58887790] 11:01:56,213 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 11:01:56,213 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#848,testCaptureSnapshotOnLastEntryInAppendEntries-writer-156]/waiting 11:01:56,213 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.086 s 11:01:56,213 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 69.10 μs 11:01:56,213 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 11:01:56,214 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 11:01:56,214 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 11:01:56,214 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 11:01:56,214 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 11:01:56,219 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,221 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior449#-991172578] 11:01:56,231 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower450#-1988465059] 11:01:56,232 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#491263816] 11:01:56,234 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 11:01:56,234 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,236 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 11:01:56,236 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 11:01:56,237 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior452#2065589796] 11:01:56,248 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower453#-751066935] 11:01:56,248 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#-1614887282] 11:01:56,251 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 11:01:56,251 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,252 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 11:01:56,253 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]]} 11:01:56,253 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:56,253 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:01:56,253 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:01:56,253 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:01:56,253 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:01:56,253 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} 11:01:56,254 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:56,254 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:01:56,254 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:01:56,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior455#-1768175450] 11:01:56,265 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower456#-1030430782] 11:01:56,265 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader457#1512440042] 11:01:56,268 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 11:01:56,268 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,268 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 11:01:56,269 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]]} 11:01:56,269 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 11:01:56,271 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} 11:01:56,271 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:56,272 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 11:01:56,273 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]]} 11:01:56,273 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 11:01:56,273 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} 11:01:56,274 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 11:01:56,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior458#-1104873888] 11:01:56,285 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower459#-1020994820] 11:01:56,285 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader460#-1018751576] 11:01:56,288 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,288 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior461#-37914767] 11:01:56,299 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower462#-443465127] 11:01:56,299 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader463#-1131675108] 11:01:56,301 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 11:01:56,301 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,302 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 11:01:56,303 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]]} 11:01:56,303 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 11:01:56,304 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} 11:01:56,304 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:56,304 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:01:56,305 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]]} 11:01:56,305 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 11:01:56,306 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} 11:01:56,306 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:01:56,307 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]]} 11:01:56,307 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 11:01:56,307 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} 11:01:56,307 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:01:56,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior464#629195659] 11:01:56,319 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower465#173230271] 11:01:56,319 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader466#-227361437] 11:01:56,326 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 11:01:56,327 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,327 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]]} 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 11:01:56,328 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} 11:01:56,328 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 11:01:56,328 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 11:01:56,328 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 11:01:56,329 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior467#-809336368] 11:01:56,339 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower468#-1706125344] 11:01:56,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader469#-2134866759] 11:01:56,343 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 11:01:56,344 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,345 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 11:01:56,346 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader472 11:01:56,346 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader472 11:01:56,348 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 11:01:56,348 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior470#241736402] 11:01:56,349 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower471#1367209006] 11:01:56,350 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader472#-1434596342] 11:01:56,354 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 11:01:56,355 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,356 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 11:01:56,357 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]]} 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:01:56,357 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} 11:01:56,357 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:56,357 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:01:56,357 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:01:56,358 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior473#-1975799563] 11:01:56,358 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower474#847929935] 11:01:56,359 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader475#-54271958] 11:01:56,361 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 11:01:56,361 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:56,362 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 11:01:56,363 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]]} 11:01:56,363 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 11:01:56,363 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} 11:01:56,363 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:56,364 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior476#-522597296] 11:01:56,364 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower477#-579736079] 11:01:56,365 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader478#1363602156] 11:01:56,369 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/02/2025 11:01:56.371] [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@4fd3f7f7 [INFO] [pekkoDeadLetter][07/02/2025 11:01:56.371] [test-pekko.actor.default-dispatcher-12] [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'. 11:01:56,371 AM [test-pekko.actor.default-dispatcher-12] [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'. 11:01:56,371 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 11:01:56,372 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 11:01:56,372 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 11:01:56,373 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 11:01:56,373 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:01:56,373 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 11:01:56,374 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 11:01:56,374 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 11:01:56,375 AM [test-pekko.actor.default-dispatcher-6] [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 11:01:56,379 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 11:01:56,379 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 11:01:56,379 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@2831cb87 11:01:56,379 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 11:01:56,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 11:01:56,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 11:01:56,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 450.6 μs with journalIndex=1 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [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]]} 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 11:01:56,381 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 7.494 ms 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [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} 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 11:01:56,381 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one [WARN] [07/02/2025 11:01:56.382] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 11:01:56.382] [test-pekko.actor.default-dispatcher-5] [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'. 11:01:56,382 AM [test-pekko.actor.default-dispatcher-5] [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'. 11:01:56,386 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 11:01:56,386 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.006 ms 11:01:56,386 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 4.730 μs 11:01:56,386 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 11:01:56,386 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:01:56,386 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:01:56,387 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 11:01:56,387 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 11:01:56,387 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 736.9 μs 11:01:56,387 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 11:01:56,387 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 11:01:56,387 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 11:01:56,533 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:56,533 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,533 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,533 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:56,634 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:56,634 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,634 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,634 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:56,682 AM [test-pekko.actor.default-dispatcher-5] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:01:56,735 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:56,735 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,735 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,735 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:56,835 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:56,835 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,835 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,835 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:56,936 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:56,936 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:56,936 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:56,936 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,36 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,36 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,36 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,37 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,137 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,137 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,137 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,137 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,238 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,238 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,238 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,238 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,338 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,338 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,338 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,339 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,439 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,439 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,439 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,439 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,540 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,540 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,540 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,540 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,641 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,641 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,641 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,641 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,742 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,742 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,742 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,742 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,842 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,842 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,842 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,842 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:57,943 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:57,943 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:57,943 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:57,943 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:58,43 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:58,43 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:58,43 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:58,44 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:58,144 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:58,144 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:58,144 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:58,144 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:58,245 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:58,245 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:58,245 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:58,245 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:58,347 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:01:58,347 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:01:58,347 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest7544616185055335441/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:01:58,347 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:01:58,449 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior479#156465702] 11:01:58,461 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower480#535278824] 11:01:58,461 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader481#-649031002] 11:01:58,461 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 11:01:58,461 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#852,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157]/waiting 11:01:58,461 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.074 s 11:01:58,462 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 68.59 μs 11:01:58,462 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 11:01:58,462 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 11:01:58,462 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 11:01:58,462 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 11:01:58,462 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 11:01:58,467 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 11:01:58,467 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,468 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 11:01:58,469 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]]} 11:01:58,469 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 11:01:58,469 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} 11:01:58,469 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 11:01:58,470 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior482#-180045908] 11:01:58,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower483#-285062811] 11:01:58,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader484#-1331921863] 11:01:58,483 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 11:01:58,483 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,484 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 11:01:58,484 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 11:01:58,485 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 11:01:58,485 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 11:01:58,485 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 11:01:58,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior485#884265030] 11:01:58,496 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower486#-466639976] 11:01:58,496 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader487#1670876319] 11:01:58,499 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 11:01:58,499 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,499 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 11:01:58,500 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]]} 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 11:01:58,500 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:01:58,500 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 11:01:58,500 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 11:01:58,500 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} 11:01:58,500 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 11:01:58,501 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 11:01:58,501 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:01:58,501 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:01:58,501 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:01:58,501 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:01:58,501 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:01:58,501 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:01:58,501 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 11:01:58,501 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 11:01:58,501 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior488#-2055723097] 11:01:58,512 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower489#878430336] 11:01:58,512 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader490#1353796929] 11:01:58,515 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 11:01:58,515 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,515 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 11:01:58,516 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 11:01:58,516 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior491#-275446378] 11:01:58,527 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower492#-346705049] 11:01:58,527 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader493#-2015788349] 11:01:58,529 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 11:01:58,530 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,530 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:01:58,530 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:01:58,530 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:01:58,530 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:01:58,531 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 11:01:58,531 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]]} 11:01:58,531 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 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 11:01:58,532 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} 11:01:58,532 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 11:01:58,532 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:01:58,532 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:01:58,532 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:01:58,533 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior494#-527584359] 11:01:58,543 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower495#-1698873064] 11:01:58,544 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader496#1605282679] 11:01:58,546 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 11:01:58,546 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,546 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 11:01:58,547 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]]} 11:01:58,547 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 11:01:58,547 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} 11:01:58,547 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:01:58,547 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:01:58,548 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]]} 11:01:58,548 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 11:01:58,548 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} 11:01:58,548 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:01:58,549 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 11:01:58,549 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]]} 11:01:58,549 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 11:01:58,549 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} 11:01:58,550 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 11:01:58,550 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior497#1061664369] 11:01:58,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower498#2008370990] 11:01:58,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader499#-1493773985] 11:01:58,563 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 11:01:58,563 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,763 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:01:58,764 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.118:17355, Removed) 11:01:58,764 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 11:01:58,764 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 11:01:58,764 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 11:01:58,764 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:01:58,764 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior500#-1797399150] 11:01:58,766 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower501#1687416686] 11:01:58,766 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader502#-1766770957] 11:01:58,770 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,770 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 11:01:58,971 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:01:58,972 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior503#-429287199] 11:01:58,974 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower504#-2008761155] 11:01:58,974 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader505#-1631980179] 11:01:58,978 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 11:01:58,978 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,980 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 11:01:58,981 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 11:01:58,981 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior506#-1437828179] 11:01:58,982 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower507#-1568640031] 11:01:58,982 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader508#112658025] 11:01:58,985 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 11:01:58,985 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,985 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]]} 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 11:01:58,986 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} 11:01:58,986 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 11:01:58,986 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 11:01:58,986 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:01:58,986 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:01:58,986 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:01:58,986 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:01:58,986 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:01:58,986 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:01:58,987 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 11:01:58,987 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 11:01:58,987 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 11:01:58,987 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 11:01:58,987 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior509#-470918436] 11:01:58,988 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower510#1208402212] 11:01:58,988 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader511#478487371] 11:01:58,990 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 11:01:58,990 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,990 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:01:58,990 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:01:58,990 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:01:58,990 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:01:58,991 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]]} 11:01:58,991 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} 11:01:58,992 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior512#-447100146] 11:01:58,992 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower513#-544638936] 11:01:58,992 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader514#-1680072830] 11:01:58,994 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 11:01:58,994 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:01:58,995 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 11:01:58,995 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]]} 11:01:58,995 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:01:58,995 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 11:01:58,995 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 11:01:58,996 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior515#1966794401] 11:01:58,996 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower516#1959413747] 11:01:58,996 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader517#-20282571] 11:01:59,3 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [07/02/2025 11:01:59.004] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@51cb8500 [INFO] [pekkoDeadLetter][07/02/2025 11:01:59.005] [test-pekko.actor.default-dispatcher-10] [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'. 11:01:59,5 AM [test-pekko.actor.default-dispatcher-6] [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'. 11:01:59,5 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 11:01:59,5 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 11:01:59,5 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 11:01:59,6 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 11:01:59,6 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:01:59,6 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 11:01:59,7 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 11:01:59,7 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 11:01:59,9 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 11:01:59,9 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,9 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,9 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,9 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:01:59,9 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 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@57ed76cb 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 11:01:59,13 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 329.2 μs with journalIndex=1 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [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]]} 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:01:59,14 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 7.672 ms 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 11:01:59,14 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [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} 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/02/2025 11:01:59.015] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 11:01:59.015] [test-pekko.actor.default-dispatcher-5] [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'. 11:01:59,15 AM [test-pekko.actor.default-dispatcher-5] [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'. 11:01:59,19 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 11:01:59,19 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 4.497 ms 11:01:59,19 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 7.920 μs 11:01:59,19 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 11:01:59,19 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:01:59,21 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 11:01:59,21 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 11:01:59,21 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 2.421 ms 11:01:59,21 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 11:01:59,21 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 11:01:59,21 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:01:59,21 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 11:01:59,167 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,167 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,167 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,167 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,268 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,268 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,268 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,268 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,312 AM [test-pekko.actor.default-dispatcher-5] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:01:59,368 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,368 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,368 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,368 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,469 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,469 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,469 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,469 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,570 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,570 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,570 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,570 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,670 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,670 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,670 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,671 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,771 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,771 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,771 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,771 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,872 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,872 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,872 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,872 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:01:59,973 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:01:59,973 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:01:59,973 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:01:59,973 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,73 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,73 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,73 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,73 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,174 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,174 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,174 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,174 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,275 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,375 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,376 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,476 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,476 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,476 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,476 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,577 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,677 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,677 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,677 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,677 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,778 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,778 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,778 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,778 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,878 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,879 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,879 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,879 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:00,979 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:02:00,979 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:02:00,979 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5933649402552303429/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:02:00,979 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:02:01,81 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior518#1830526383] 11:02:01,83 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower519#882379271] 11:02:01,83 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader520#1608706383] 11:02:01,83 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 11:02:01,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#854,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158]/waiting 11:02:01,84 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.062 s 11:02:01,84 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 68.80 μs 11:02:01,84 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 11:02:01,84 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 11:02:01,84 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 11:02:01,84 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 11:02:01,84 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 11:02:01,88 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 11:02:01,88 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:01,389 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 11:02:01,519 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:01,519 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 11:02:01,770 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 11:02:01,970 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 11:02:01,971 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior521#-1196705898] 11:02:01,982 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower522#-290683302] 11:02:01,982 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader523#-106964562] 11:02:01,986 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:01,987 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:01,987 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 11:02:01,987 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 11:02:01,987 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 11:02:01,988 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:01,988 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior524#1386891404] 11:02:01,999 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower525#144979239] 11:02:01,999 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader526#638188379] 11:02:02,2 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,4 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 11:02:02,5 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 11:02:02,5 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior527#-1779204813] 11:02:02,16 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower528#-499154572] 11:02:02,16 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader529#2119762347] 11:02:02,19 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,20 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]]} 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 11:02:02,21 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} 11:02:02,21 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 11:02:02,21 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 11:02:02,22 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:02:02,22 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:02:02,22 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 11:02:02,22 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior530#755051850] 11:02:02,33 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower531#-1682165035] 11:02:02,33 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader532#588939800] 11:02:02,36 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,38 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 11:02:02,38 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 11:02:02,39 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior533#117078396] 11:02:02,49 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower534#892664088] 11:02:02,50 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader535#-314047026] 11:02:02,52 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,53 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 11:02:02,54 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 11:02:02,54 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} 11:02:02,54 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 11:02:02,55 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 11:02:02,57 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:02,57 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 11:02:02,57 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. 11:02:02,57 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 11:02:02,58 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 11:02:02,59 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 11:02:02,60 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 11:02:02,60 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior536#-883507484] 11:02:02,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower537#1685363585] 11:02:02,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader538#1844441440] 11:02:02,74 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,74 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:02:02,75 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:02:02,75 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,75 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 11:02:02,75 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 11:02:02,75 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 11:02:02,76 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 11:02:02,76 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 11:02:02,76 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior539#-417644817] 11:02:02,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower540#865630614] 11:02:02,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader541#-1273539113] 11:02:02,90 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,91 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 11:02:02,92 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior542#1408800545] 11:02:02,103 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower543#646018003] 11:02:02,103 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader544#2139595486] 11:02:02,106 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:02:02,107 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 11:02:02,107 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 11:02:02,108 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior545#1817705270] 11:02:02,119 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower546#-1421392410] 11:02:02,119 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader547#1215114753] [INFO] [07/02/2025 11:02:02.119] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:02:02,120 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/02/2025 11:02:02.121] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.118:17355) [INFO] [pekkoDeadLetter][07/02/2025 11:02:02.121] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-871000918] 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'. 11:02:02,121 AM [test-pekko.actor.default-dispatcher-10] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-871000918] 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'. 11:02:02,121 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Exiting completed 11:02:02,122 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Shutting down... [INFO] [07/02/2025 11:02:02.121] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Exiting completed [INFO] [07/02/2025 11:02:02.121] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Shutting down... [INFO] [07/02/2025 11:02:02.122] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.118:17355] - Successfully shut down 11:02:02,122 AM [test-pekko.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.118:17355] - Successfully shut down [INFO] [07/02/2025 11:02:02.123] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.118:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/02/2025 11:02:02.123] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.118:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:02:02,123 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:02:02,123 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/02/2025 11:02:02.126] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.118:17355/system/remoting-terminator] Remoting shut down. 11:02:02,126 AM [test-pekko.actor.default-dispatcher-10] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [07/02/2025 11:02:02.127] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger