01:06:55,916 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/01/2025 13:06:55.916] [main] [EventStream(pekko://test)] logger log1-TestEventListener started [DEBUG] [07/01/2025 13:06:55.916] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/01/2025 13:06:55.917] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/01/2025 13:06:55.937] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.139:17355] with UID [1883523139181297816] 01:06:55,939 PM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.139:17355] with UID [1883523139181297816] [INFO] [07/01/2025 13:06:55.940] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Starting up, Pekko version [1.0.3] ... 01:06:55,940 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/01/2025 13:06:55.942] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 01:06:55,943 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/01/2025 13:06:55.943] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Started up successfully 01:06:55,943 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Started up successfully 01:06:55,945 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 01:06:55,945 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [07/01/2025 13:06:55.944] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/01/2025 13:06:55.944] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:06:55,955 PM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 01:06:55,955 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,33 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:06:56,33 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:06:56,33 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:06:56,34 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:06:56,35 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 01:06:56,35 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 01:06:56,35 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 01:06:56,35 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 01:06:56,37 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 01:06:56,37 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#-183660284] 01:06:56,48 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower420#1353186218] 01:06:56,48 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#-474252729] 01:06:56,50 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 01:06:56,50 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,53 PM [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]]} 01:06:56,53 PM [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 01:06:56,54 PM [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} 01:06:56,54 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 01:06:56,54 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior422#752930053] 01:06:56,66 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower423#-521910184] 01:06:56,67 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#282239948] 01:06:56,69 PM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 01:06:56,69 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,69 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:06:56,70 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:06:56,70 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:06:56,70 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:06:56,71 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 01:06:56,71 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 01:06:56,71 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 01:06:56,72 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:06:56,73 PM [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 01:06:56,73 PM [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]]} 01:06:56,74 PM [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 01:06:56,74 PM [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} 01:06:56,75 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 01:06:56,75 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior425#-386507431] 01:06:56,90 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower426#1444988091] 01:06:56,91 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#-2128109714] 01:06:56,96 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,97 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 01:06:56,98 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior428#1205270835] 01:06:56,109 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower429#-265939088] 01:06:56,109 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#-661046587] 01:06:56,111 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 01:06:56,111 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,111 PM [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 01:06:56,112 PM [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]]} 01:06:56,112 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:56,112 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:06:56,112 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:06:56,112 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:06:56,113 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:06:56,113 PM [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} 01:06:56,113 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:56,113 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:06:56,114 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:06:56,115 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior431#-289239685] 01:06:56,116 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower432#42432637] 01:06:56,116 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader433#1127270375] 01:06:56,118 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 01:06:56,118 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,119 PM [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]]} 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 01:06:56,119 PM [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} 01:06:56,119 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:06:56,119 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:06:56,120 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:06:56,120 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:06:56,120 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:06:56,120 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:06:56,120 PM [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]]} 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 01:06:56,121 PM [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} 01:06:56,121 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 01:06:56,121 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:06:56,121 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:06:56,121 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:06:56,122 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior434#2081620501] 01:06:56,122 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower435#-599482080] 01:06:56,122 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#-2008875682] 01:06:56,124 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 01:06:56,124 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,124 PM [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 01:06:56,124 PM [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 01:06:56,125 PM [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} 01:06:56,125 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 01:06:56,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior437#-840108687] 01:06:56,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower438#-1759827713] 01:06:56,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#523363255] 01:06:56,127 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,129 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior440#-1916811246] 01:06:56,129 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower441#480977913] 01:06:56,129 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#1399435403] 01:06:56,130 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 01:06:56,130 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:56,130 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 01:06:56,131 PM [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 01:06:56,131 PM [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]]} 01:06:56,131 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:56,131 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:06:56,131 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:06:56,131 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:06:56,131 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:06:56,131 PM [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} 01:06:56,131 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:56,132 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 01:06:56,132 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 01:06:56,132 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 01:06:56,132 PM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 01:06:56,132 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior443#-1312262685] 01:06:56,132 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower444#-126388415] 01:06:56,132 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#-754884931] 01:06:56,134 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries 01:06:56,136 PM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 01:06:56,136 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 01:06:56,136 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 01:06:56,137 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 01:06:56,137 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:06:56,137 PM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 01:06:56,137 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 01:06:56,137 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands [WARN] [07/01/2025 13:06:56.137] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@755dafc7 [INFO] [pekkoDeadLetter][07/01/2025 13:06:56.137] [test-pekko.actor.default-dispatcher-12] [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'. 01:06:56,137 PM [test-pekko.actor.default-dispatcher-11] [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'. 01:06:56,143 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 01:06:56,143 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,143 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,143 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,143 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:06:56,143 PM [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 01:06:56,201 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:06:56,201 PM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 01:06:56,201 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@2e9982e7 01:06:56,201 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 01:06:56,201 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 248.3 μs with journalIndex=1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [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]]} 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [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} 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 01:06:56,204 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 66.94 ms 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 01:06:56,204 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two [WARN] [07/01/2025 13:06:56.205] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 13:06:56.205] [test-pekko.actor.default-dispatcher-11] [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'. 01:06:56,205 PM [test-pekko.actor.default-dispatcher-11] [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'. 01:06:56,219 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 01:06:56,219 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 15.32 ms 01:06:56,220 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 5.010 μs 01:06:56,220 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 more completion(s) pending 01:06:56,220 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 100.8 μs 01:06:56,220 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 01:06:56,220 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 3 completion(s) 01:06:56,220 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:06:56,220 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:06:56,357 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,357 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,357 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,357 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,433 PM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 01:06:56,458 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,458 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,458 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,458 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,560 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,560 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,560 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,560 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,661 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,661 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,862 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,862 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,862 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,862 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:56,963 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:56,963 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:56,963 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:56,963 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,64 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,265 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,265 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,265 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,265 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,367 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,367 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,367 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,367 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,568 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,568 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,568 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,568 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,669 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,669 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,669 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,669 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,769 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,769 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,769 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,769 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,870 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,870 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,870 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,871 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:57,971 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:57,971 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:57,971 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:57,971 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:58,72 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:58,72 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:58,72 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:58,72 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:58,173 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:06:58,173 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:06:58,173 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6414270877411250050/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:06:58,173 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:06:58,278 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior446#-404971553] 01:06:58,279 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower447#1908709536] 01:06:58,279 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#-395000424] 01:06:58,280 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 01:06:58,280 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#855,testCaptureSnapshotOnLastEntryInAppendEntries-writer-156]/waiting 01:06:58,280 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.060 s 01:06:58,280 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 38.45 μs 01:06:58,280 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 01:06:58,280 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 01:06:58,281 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 01:06:58,281 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 01:06:58,281 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 01:06:58,285 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,286 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior449#-482687320] 01:06:58,286 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower450#1100754732] 01:06:58,286 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#1638114722] 01:06:58,287 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 01:06:58,288 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,288 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 01:06:58,288 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 01:06:58,291 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior452#919547209] 01:06:58,301 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower453#-770730707] 01:06:58,301 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#1834911735] 01:06:58,304 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 01:06:58,304 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,305 PM [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 01:06:58,305 PM [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]]} 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:06:58,306 PM [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} 01:06:58,306 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:58,306 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:06:58,307 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:06:58,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior455#-487413590] 01:06:58,318 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower456#300702088] 01:06:58,318 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader457#-1578598702] 01:06:58,321 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 01:06:58,321 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,324 PM [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 01:06:58,325 PM [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]]} 01:06:58,325 PM [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 01:06:58,325 PM [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} 01:06:58,325 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:58,325 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 01:06:58,326 PM [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]]} 01:06:58,326 PM [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 01:06:58,326 PM [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} 01:06:58,326 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 01:06:58,327 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior458#-508956975] 01:06:58,337 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower459#811644270] 01:06:58,338 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader460#-212697673] 01:06:58,340 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,341 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior461#652839904] 01:06:58,351 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower462#-1999642891] 01:06:58,351 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader463#-1529971893] 01:06:58,354 PM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 01:06:58,354 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,354 PM [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 01:06:58,355 PM [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]]} 01:06:58,355 PM [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 01:06:58,356 PM [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} 01:06:58,356 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:58,356 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:06:58,357 PM [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]]} 01:06:58,357 PM [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 01:06:58,357 PM [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} 01:06:58,357 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:06:58,358 PM [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]]} 01:06:58,359 PM [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 01:06:58,359 PM [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} 01:06:58,359 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:06:58,359 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior464#635108724] 01:06:58,370 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower465#-491330575] 01:06:58,370 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader466#523043810] 01:06:58,376 PM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 01:06:58,377 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,377 PM [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]]} 01:06:58,377 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:58,377 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:06:58,377 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 01:06:58,377 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:06:58,378 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 01:06:58,378 PM [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} 01:06:58,378 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 01:06:58,378 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 01:06:58,378 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 01:06:58,378 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior467#-688014967] 01:06:58,389 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower468#1045566707] 01:06:58,389 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader469#1710344673] 01:06:58,391 PM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 01:06:58,392 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,394 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 01:06:58,394 PM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader472 01:06:58,394 PM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader472 01:06:58,396 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 01:06:58,396 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior470#-613693169] 01:06:58,407 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower471#916468733] 01:06:58,407 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader472#-471161459] 01:06:58,410 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 01:06:58,411 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,412 PM [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 01:06:58,415 PM [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]]} 01:06:58,415 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:06:58,415 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:06:58,415 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:06:58,415 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:06:58,416 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:06:58,416 PM [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} 01:06:58,416 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:58,416 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:06:58,416 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:06:58,417 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior473#-1719742947] 01:06:58,428 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower474#872680547] 01:06:58,428 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader475#254056298] 01:06:58,430 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 01:06:58,430 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:06:58,431 PM [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 01:06:58,431 PM [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]]} 01:06:58,431 PM [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 01:06:58,432 PM [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} 01:06:58,432 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:06:58,432 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior476#819524465] 01:06:58,443 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower477#-379435596] 01:06:58,443 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader478#229174460] 01:06:58,448 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/01/2025 13:06:58.449] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@6664fa37 [INFO] [pekkoDeadLetter][07/01/2025 13:06:58.449] [test-pekko.actor.default-dispatcher-6] [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'. 01:06:58,449 PM [test-pekko.actor.default-dispatcher-6] [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'. 01:06:58,450 PM [test-pekko.actor.default-dispatcher-11] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 01:06:58,450 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 01:06:58,450 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 01:06:58,450 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 01:06:58,451 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:06:58,451 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 01:06:58,451 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 01:06:58,451 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 01:06:58,452 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 01:06:58,452 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:58,453 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:58,453 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:58,453 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 01:06:58,453 PM [test-pekko.actor.default-dispatcher-15] [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 01:06:58,455 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 01:06:58,455 PM [test-pekko.actor.default-dispatcher-15] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 01:06:58,455 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@62b6b8b1 01:06:58,455 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 01:06:58,456 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 309.9 μs with journalIndex=1 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [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]]} 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:06:58,549 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [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} 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 01:06:58,550 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 01:06:58,550 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 4 commands after 99.04 ms [WARN] [07/01/2025 13:06:58.550] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 13:06:58.550] [test-pekko.actor.default-dispatcher-11] [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'. 01:06:58,550 PM [test-pekko.actor.default-dispatcher-15] [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'. 01:06:58,556 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 4 completion(s) pending 01:06:58,556 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 4 commands in 6.071 ms 01:06:58,556 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 01:06:58,556 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 4 completion(s) 01:06:58,556 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:06:58,556 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:06:58,556 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 01:06:58,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:58,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:58,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:58,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:58,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:58,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:58,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:58,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:58,843 PM [test-pekko.actor.default-dispatcher-15] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 01:06:58,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:58,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:58,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:58,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,3 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,3 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,3 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,4 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,204 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,305 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,305 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,305 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,305 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,407 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,407 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,407 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,407 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,508 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,508 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,508 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,508 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,608 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,608 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,608 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,608 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,709 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,709 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,709 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,709 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,809 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,809 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,809 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,809 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:06:59,910 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:06:59,910 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:06:59,910 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:06:59,910 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,10 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,10 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,10 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,11 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,111 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,111 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,111 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,111 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,212 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,212 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,212 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,212 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,312 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,312 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,312 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,312 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,413 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,413 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,413 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,413 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,513 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:07:00,513 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:07:00,513 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest11943356070603450666/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:07:00,513 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:07:00,614 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior479#857692407] 01:07:00,624 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower480#390019316] 01:07:00,625 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader481#2016648477] 01:07:00,625 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 01:07:00,625 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#860,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157]/waiting 01:07:00,625 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.069 s 01:07:00,625 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 26.59 μs 01:07:00,625 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 01:07:00,625 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 01:07:00,625 PM [test-pekko.actor.default-dispatcher-15] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 01:07:00,625 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 01:07:00,625 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 01:07:00,627 PM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 01:07:00,628 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,628 PM [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 01:07:00,628 PM [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]]} 01:07:00,629 PM [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 01:07:00,629 PM [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} 01:07:00,629 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 01:07:00,629 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior482#-1164156248] 01:07:00,640 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower483#1339307319] 01:07:00,640 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader484#-1655572193] 01:07:00,642 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 01:07:00,643 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,643 PM [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 01:07:00,644 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 01:07:00,644 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 01:07:00,644 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 01:07:00,645 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 01:07:00,645 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior485#-1356700102] 01:07:00,655 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower486#-931791719] 01:07:00,656 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader487#-1870441922] 01:07:00,658 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 01:07:00,658 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,659 PM [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 01:07:00,660 PM [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]]} 01:07:00,660 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 01:07:00,661 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:07:00,661 PM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 01:07:00,661 PM [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} 01:07:00,661 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 01:07:00,661 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 01:07:00,661 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:07:00,662 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:07:00,662 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:07:00,662 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:07:00,662 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:07:00,662 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:07:00,662 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 01:07:00,662 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 01:07:00,663 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior488#1665476304] 01:07:00,673 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower489#2085439476] 01:07:00,673 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader490#-1424057639] 01:07:00,676 PM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 01:07:00,676 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,677 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 01:07:00,677 PM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 01:07:00,678 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior491#-604323656] 01:07:00,689 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower492#-1496375586] 01:07:00,689 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader493#254904944] 01:07:00,698 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 01:07:00,699 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,699 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:07:00,699 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:07:00,699 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:07:00,700 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:07:00,700 PM [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 01:07:00,701 PM [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]]} 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 01:07:00,701 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 01:07:00,702 PM [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} 01:07:00,702 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 01:07:00,702 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:07:00,702 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:07:00,702 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:07:00,703 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior494#-2129983113] 01:07:00,713 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower495#-478764628] 01:07:00,713 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader496#-639532871] 01:07:00,716 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 01:07:00,716 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,716 PM [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 01:07:00,717 PM [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]]} 01:07:00,717 PM [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 01:07:00,717 PM [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} 01:07:00,718 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:07:00,718 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:07:00,719 PM [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]]} 01:07:00,719 PM [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 01:07:00,719 PM [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} 01:07:00,719 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:07:00,719 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 01:07:00,720 PM [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]]} 01:07:00,720 PM [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 01:07:00,721 PM [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} 01:07:00,721 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 01:07:00,721 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior497#374070036] 01:07:00,732 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower498#645625214] 01:07:00,732 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader499#693139897] 01:07:00,734 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 01:07:00,734 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,934 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:07:00,934 PM [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.139:17355, Removed) 01:07:00,935 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 01:07:00,935 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 01:07:00,935 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 01:07:00,935 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:07:00,935 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior500#-466787295] 01:07:00,946 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower501#63950460] 01:07:00,946 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader502#912009353] 01:07:00,948 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:00,948 PM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 01:07:01,150 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:07:01,150 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior503#1390608203] 01:07:01,161 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower504#441917143] 01:07:01,161 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader505#236933221] 01:07:01,164 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 01:07:01,164 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:01,166 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 01:07:01,167 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 01:07:01,168 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior506#-1372732149] 01:07:01,179 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower507#-524529497] 01:07:01,179 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader508#-1334497305] 01:07:01,181 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 01:07:01,182 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:01,183 PM [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]]} 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 01:07:01,183 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 01:07:01,183 PM [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} 01:07:01,184 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 01:07:01,184 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 01:07:01,184 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:07:01,184 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:07:01,184 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:07:01,184 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:07:01,184 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:07:01,184 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:07:01,184 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 01:07:01,184 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 01:07:01,184 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 01:07:01,184 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 01:07:01,185 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior509#-1537203581] 01:07:01,196 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower510#785941184] 01:07:01,196 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader511#1333233185] 01:07:01,199 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 01:07:01,199 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:01,200 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:07:01,200 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:07:01,200 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:07:01,200 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:07:01,201 PM [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]]} 01:07:01,202 PM [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} 01:07:01,202 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior512#-152045139] 01:07:01,213 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower513#-1119565528] 01:07:01,213 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader514#1900028619] 01:07:01,215 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 01:07:01,215 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:01,216 PM [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 01:07:01,216 PM [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]]} 01:07:01,217 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:07:01,217 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 01:07:01,217 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 01:07:01,218 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior515#-700146542] 01:07:01,228 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower516#595994158] 01:07:01,229 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader517#-2038030236] 01:07:01,231 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [07/01/2025 13:07:01.232] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@29b83f32 [INFO] [pekkoDeadLetter][07/01/2025 13:07:01.232] [test-pekko.actor.default-dispatcher-6] [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'. 01:07:01,232 PM [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'. 01:07:01,232 PM [test-pekko.actor.default-dispatcher-11] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 01:07:01,232 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:07:01,232 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:07:01,233 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 01:07:01,234 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:07:01,234 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 01:07:01,234 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 01:07:01,234 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:07:01,235 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 01:07:01,235 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,235 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,236 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,236 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:07:01,236 PM [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 01:07:01,240 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:07:01,240 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 01:07:01,240 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@128fca84 01:07:01,240 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 01:07:01,241 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 637.7 μs with journalIndex=1 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 01:07:01,242 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 8.106 ms 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 01:07:01,242 PM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/01/2025 13:07:01.243] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] 01:07:01,243 PM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/01/2025 13:07:01.243] [test-pekko.actor.default-dispatcher-11] [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'. 01:07:01,246 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 01:07:01,246 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 4.066 ms 01:07:01,246 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 6.891 μs 01:07:01,246 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 01:07:01,246 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:07:01,249 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 01:07:01,249 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 2.875 ms 01:07:01,249 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:07:01,249 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 01:07:01,249 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:07:01,249 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 01:07:01,393 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,393 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,393 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,393 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,494 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,494 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,494 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,494 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,553 PM [test-pekko.actor.default-dispatcher-11] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 01:07:01,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,695 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,695 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,695 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,695 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,796 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,896 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,896 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,896 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,896 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:01,997 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:01,997 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:01,997 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:01,997 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,97 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,97 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,97 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,97 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,198 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,198 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,198 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,198 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,298 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,299 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,299 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,299 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,399 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,399 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,399 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,399 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,500 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,500 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,500 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,500 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,600 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,600 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,600 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,601 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,701 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,802 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:02,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:02,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:02,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:02,903 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:03,4 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:03,4 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:03,4 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:03,4 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:03,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:03,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:03,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:03,104 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:03,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:07:03,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:07:03,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10913899246615174249/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:07:03,205 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:07:03,306 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior518#563986240] 01:07:03,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower519#1365696650] 01:07:03,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader520#-1906531947] 01:07:03,308 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 01:07:03,308 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#862,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158]/waiting 01:07:03,308 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.059 s 01:07:03,308 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 43.09 μs 01:07:03,308 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 01:07:03,308 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:07:03,308 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:07:03,308 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:07:03,308 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:07:03,315 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 01:07:03,315 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:03,616 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 01:07:03,747 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:07:03,747 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 131 < election timeout PT0.4S 01:07:03,997 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 01:07:04,198 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 01:07:04,198 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior521#-686994749] 01:07:04,209 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower522#336090184] 01:07:04,209 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader523#64349828] 01:07:04,212 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,213 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:07:04,213 PM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 01:07:04,213 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 01:07:04,213 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 01:07:04,214 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:07:04,214 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior524#1907145744] 01:07:04,225 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower525#1093678413] 01:07:04,225 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader526#-1771439478] 01:07:04,228 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,230 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 01:07:04,231 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 01:07:04,231 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior527#-1105958935] 01:07:04,242 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower528#-827268789] 01:07:04,242 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader529#-852375645] 01:07:04,245 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,246 PM [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]]} 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 01:07:04,247 PM [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} 01:07:04,247 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 01:07:04,247 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 01:07:04,248 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:07:04,248 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:07:04,248 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 01:07:04,248 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior530#706459589] 01:07:04,259 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower531#-358089633] 01:07:04,259 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader532#-424743473] 01:07:04,262 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,264 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 01:07:04,264 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 01:07:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior533#-396169552] 01:07:04,275 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower534#-888756728] 01:07:04,276 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader535#1882457184] 01:07:04,281 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,283 PM [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 01:07:04,283 PM [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 01:07:04,284 PM [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} 01:07:04,284 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 01:07:04,285 PM [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 01:07:04,286 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:07:04,286 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 01:07:04,286 PM [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. 01:07:04,286 PM [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 01:07:04,287 PM [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 01:07:04,287 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 01:07:04,287 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 01:07:04,288 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior536#177646962] 01:07:04,299 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower537#-1929662757] 01:07:04,299 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader538#-1619737457] 01:07:04,301 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,301 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:07:04,302 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:07:04,302 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,302 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 01:07:04,302 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 01:07:04,302 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 01:07:04,302 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 01:07:04,302 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 01:07:04,302 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior539#-1699374632] 01:07:04,314 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower540#143182332] 01:07:04,314 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader541#889748181] 01:07:04,322 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,323 PM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 01:07:04,324 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior542#1434018292] 01:07:04,334 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower543#-652343449] 01:07:04,334 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader544#1802201332] 01:07:04,336 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:07:04,337 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 01:07:04,337 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 01:07:04,337 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior545#-431532379] 01:07:04,348 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower546#-614006012] 01:07:04,348 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader547#-145930894] [INFO] [07/01/2025 13:07:04.348] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:07:04,349 PM [test-pekko.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/01/2025 13:07:04.349] [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.139:17355) [INFO] [pekkoDeadLetter][07/01/2025 13:07:04.349] [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#1290800588] 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'. 01:07:04,349 PM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1290800588] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [07/01/2025 13:07:04.350] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Exiting completed 01:07:04,350 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Exiting completed [INFO] [07/01/2025 13:07:04.350] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Shutting down... 01:07:04,350 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Shutting down... [INFO] [07/01/2025 13:07:04.350] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.139:17355] - Successfully shut down 01:07:04,350 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.139:17355] - Successfully shut down [INFO] [07/01/2025 13:07:04.351] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.139:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/01/2025 13:07:04.351] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.139:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:07:04,351 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:07:04,351 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/01/2025 13:07:04.353] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.139:17355/system/remoting-terminator] Remoting shut down. 01:07:04,353 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [07/01/2025 13:07:04.353] [test-pekko.actor.internal-dispatcher-8] [EventStream] shutting down: StandardOutLogger