[DEBUG] [06/27/2025 11:16:54.595] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 11:16:54,597 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [06/27/2025 11:16:54.597] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [06/27/2025 11:16:54.598] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [06/27/2025 11:16:54.613] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [9043977507978911490] [INFO] [06/27/2025 11:16:54.613] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... 11:16:54,614 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [9043977507978911490] 11:16:54,614 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... 11:16:54,617 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 11:16:54,617 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully 11:16:54,617 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 11:16:54,617 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [06/27/2025 11:16:54.616] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [06/27/2025 11:16:54.616] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully [INFO] [06/27/2025 11:16:54.617] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [06/27/2025 11:16:54.617] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 11:16:54,628 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 11:16:54,629 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,716 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:16:54,716 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:16:54,716 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:16:54,717 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:16:54,717 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 11:16:54,718 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 11:16:54,718 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 11:16:54,718 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 11:16:54,720 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 11:16:54,721 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior417#1772725713] 11:16:54,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower418#-705322027] 11:16:54,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader419#-1240516155] 11:16:54,735 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 11:16:54,735 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,737 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 11:16:54,737 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 11:16:54,737 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,738 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 11:16:54,738 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior420#-41826538] 11:16:54,748 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower421#551470540] 11:16:54,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader422#1458935497] 11:16:54,751 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 11:16:54,751 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,751 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:16:54,751 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:16:54,751 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:16:54,751 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:16:54,752 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 11:16:54,752 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 11:16:54,752 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 11:16:54,753 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:16:54,753 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:54,754 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:54,754 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 11:16:54,754 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,755 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 11:16:54,755 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#1870500260] 11:16:54,765 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower424#107351072] 11:16:54,766 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader425#-1809582411] 11:16:54,768 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,768 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 11:16:54,769 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior426#170142964] 11:16:54,779 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower427#1505840798] 11:16:54,779 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader428#358468144] 11:16:54,781 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 11:16:54,781 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,782 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:54,782 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:54,782 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:54,782 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:16:54,783 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:16:54,783 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:16:54,783 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:16:54,783 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,783 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:54,783 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:16:54,784 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:16:54,785 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior429#-1363264961] 11:16:54,796 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower430#1957141356] 11:16:54,796 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader431#-1699177002] 11:16:54,799 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 11:16:54,799 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 11:16:54,800 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,801 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:16:54,801 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:16:54,801 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:16:54,801 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:16:54,801 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:16:54,801 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,802 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 11:16:54,802 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:16:54,803 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:16:54,803 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:16:54,803 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior432#-322566771] 11:16:54,804 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower433#1354334751] 11:16:54,804 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader434#-836286460] 11:16:54,805 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 11:16:54,806 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,806 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 11:16:54,807 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 11:16:54,807 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,807 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 11:16:54,807 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior435#125479230] 11:16:54,808 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower436#-1777733610] 11:16:54,808 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader437#1451431248] 11:16:54,810 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,812 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior438#-14287518] 11:16:54,813 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower439#375149406] 11:16:54,813 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader440#-1625696991] 11:16:54,815 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 11:16:54,815 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:54,816 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 11:16:54,816 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:54,817 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:54,817 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:54,817 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:16:54,817 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:16:54,817 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:16:54,818 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:16:54,818 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,818 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:54,818 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 11:16:54,818 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 11:16:54,818 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 11:16:54,818 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 11:16:54,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior441#-170284274] 11:16:54,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower442#1744849705] 11:16:54,820 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader443#968669988] 11:16:54,822 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [06/27/2025 11:16:54.824] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@4be10601 [INFO] [pekkoDeadLetter][06/27/2025 11:16:54.824] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:54,824 AM [test-pekko.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:54,826 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 11:16:54,826 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 11:16:54,826 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 11:16:54,826 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 11:16:54,827 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:16:54,827 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 11:16:54,827 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@4f7de593 started 11:16:54,827 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting for more work 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:16:54,828 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:16:54,832 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:16:54,832 AM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 11:16:54,832 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@7c354390 11:16:54,832 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 11:16:54,833 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 254.2 μs with journalIndex=1 11:16:54,833 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 11:16:54,833 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 11:16:54,833 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:16:54,833 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 11:16:54,833 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:16:54,834 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 entries in 6.767 ms 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 11:16:54,834 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 deferred callback(s) 11:16:54,837 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 11:16:54,837 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 1 entries in 3.281 ms 11:16:54,837 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 entries in 11.31 μs 11:16:54,837 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 11:16:54,837 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:16:54,837 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@242f7e37 11:16:54,837 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 deferred callback(s) 11:16:54,839 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 11:16:54,839 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 2 entries in 1.953 ms 11:16:54,839 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting for more work 11:16:54,839 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 11:16:54,839 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:16:54,839 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@31e43037 [WARN] [06/27/2025 11:16:54.839] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/27/2025 11:16:54.839] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:54,840 AM [test-pekko.actor.default-dispatcher-6] [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'. 11:16:54,984 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:54,985 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:54,985 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:54,985 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,129 AM [test-pekko.actor.default-dispatcher-15] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:16:55,186 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,186 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,186 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,186 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,288 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,691 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,791 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,893 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:55,994 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,95 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,95 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,95 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,95 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,195 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,195 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,195 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,195 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,297 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,297 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,297 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,297 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,397 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,397 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,397 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,397 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,498 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,498 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,498 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,498 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,599 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,599 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,599 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,599 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,699 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,699 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,699 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,699 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,800 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 11:16:56,800 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 11:16:56,800 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6966080041708814608/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 11:16:56,800 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 11:16:56,901 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior444#423810234] 11:16:56,912 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower445#792889731] 11:16:56,913 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader446#-1777724122] 11:16:56,913 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 11:16:56,913 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#827,testCaptureSnapshotOnLastEntryInAppendEntries-writer-156]/waiting 11:16:56,913 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 entries in 2.074 s 11:16:56,913 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 1 entries in 26.79 μs 11:16:56,913 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@4f7de593 stopped 11:16:56,914 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 11:16:56,914 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 11:16:56,914 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 11:16:56,914 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 11:16:56,919 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,920 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior447#-701842039] 11:16:56,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower448#1328486940] 11:16:56,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader449#-2133967140] 11:16:56,933 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 11:16:56,933 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,935 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 11:16:56,935 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 11:16:56,936 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior450#-36408325] 11:16:56,936 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower451#1905504575] 11:16:56,937 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader452#2087471508] 11:16:56,939 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 11:16:56,939 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,940 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:16:56,941 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,942 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:56,942 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:16:56,942 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:16:56,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior453#271114663] 11:16:56,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower454#-1046870907] 11:16:56,944 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader455#-328072695] 11:16:56,945 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 11:16:56,945 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,945 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:56,946 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,946 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 11:16:56,946 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,946 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:56,946 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 11:16:56,947 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,947 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 11:16:56,947 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,947 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 11:16:56,947 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior456#-559957668] 11:16:56,948 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower457#-1016047608] 11:16:56,948 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader458#-1125211859] 11:16:56,949 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,949 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior459#1458128977] 11:16:56,950 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower460#699210710] 11:16:56,950 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader461#1058577963] 11:16:56,951 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 11:16:56,951 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,951 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:56,951 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,952 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 11:16:56,952 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,952 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:56,952 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:16:56,952 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,952 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 11:16:56,953 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,953 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:16:56,953 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,953 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 11:16:56,953 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,953 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:16:56,954 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior462#-381581803] 11:16:56,954 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower463#-904875539] 11:16:56,954 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader464#972561188] 11:16:56,955 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 11:16:56,955 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,956 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 11:16:56,956 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 11:16:56,956 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 11:16:56,957 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior465#1256452317] 11:16:56,957 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower466#-773461424] 11:16:56,957 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader467#221236434] 11:16:56,958 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 11:16:56,958 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,959 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 11:16:56,960 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader470 11:16:56,960 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader470 11:16:56,961 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 11:16:56,961 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior468#485446997] 11:16:56,962 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower469#-1598042499] 11:16:56,962 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader470#-2100086890] 11:16:56,963 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 11:16:56,963 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,964 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,964 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:56,964 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 11:16:56,964 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 11:16:56,965 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior471#1611658371] 11:16:56,965 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower472#-851812117] 11:16:56,965 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader473#40134450] 11:16:56,966 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 11:16:56,966 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:56,967 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:56,967 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:56,967 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 11:16:56,967 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,967 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:56,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior474#582006030] 11:16:56,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower475#1544323001] 11:16:56,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader476#-348240073] 11:16:56,969 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 11:16:56,970 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 11:16:56,971 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 11:16:56,971 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 11:16:56,971 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 [WARN] [06/27/2025 11:16:56.972] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@7ce6b8d5 11:16:56,972 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:16:56,972 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 11:16:56,972 AM [test-pekko.actor.default-dispatcher-15] [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'. [INFO] [pekkoDeadLetter][06/27/2025 11:16:56.972] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:56,972 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@4a5e7d31 started 11:16:56,972 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting for more work 11:16:56,973 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 11:16:56,973 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:56,973 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:56,973 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:56,973 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 11:16:56,974 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:16:56,978 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 11:16:56,978 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 11:16:56,978 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@6475b86 11:16:56,978 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 257.2 μs with journalIndex=1 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:56,979 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 entries in 7.238 ms 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 11:16:56,979 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 deferred callback(s) 11:16:56,985 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 11:16:56,985 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 2 entries in 5.461 ms 11:16:56,985 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 entries in 4.130 μs 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@36ec5d21 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@5f5b880a 11:16:56,985 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 1 deferred callback(s) 11:16:56,986 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 11:16:56,986 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 11:16:56,986 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 2 entries in 1.408 ms 11:16:56,986 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 11:16:56,986 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting for more work 11:16:56,986 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@15d09275 [WARN] [06/27/2025 11:16:56.986] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/27/2025 11:16:56.987] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:56,987 AM [test-pekko.actor.default-dispatcher-5] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:57,131 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,131 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,131 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,131 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,200 AM [test-pekko.actor.default-dispatcher-5] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:16:57,231 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,231 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,231 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,231 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,333 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,333 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,333 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,333 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,436 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,738 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,738 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,738 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,738 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:57,941 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:57,941 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:57,941 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:57,941 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,243 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,747 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,747 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,747 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,747 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,848 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,848 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:58,948 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 11:16:58,948 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 11:16:58,948 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest3337872360993797825/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 11:16:58,948 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 11:16:59,49 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior477#-1099560854] 11:16:59,60 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower478#-1333556297] 11:16:59,61 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader479#1278765119] 11:16:59,61 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 11:16:59,61 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#831,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157]/waiting 11:16:59,61 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 entries in 2.075 s 11:16:59,61 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 1 entries in 45.25 μs 11:16:59,61 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@4a5e7d31 stopped 11:16:59,62 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 11:16:59,62 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 11:16:59,62 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 11:16:59,62 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 11:16:59,67 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 11:16:59,67 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,68 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:59,68 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 11:16:59,69 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 11:16:59,69 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,69 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 11:16:59,70 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior480#613079217] 11:16:59,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower481#-614604848] 11:16:59,81 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader482#-2092596434] 11:16:59,86 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 11:16:59,86 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,87 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 11:16:59,87 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 11:16:59,88 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 11:16:59,88 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 11:16:59,88 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 11:16:59,89 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior483#-1614015022] 11:16:59,99 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower484#-1406933107] 11:16:59,99 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader485#220195295] 11:16:59,103 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 11:16:59,103 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,103 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 11:16:59,104 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:16:59,104 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 11:16:59,104 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 11:16:59,105 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,105 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 11:16:59,105 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 11:16:59,105 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:16:59,105 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:16:59,105 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:16:59,105 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:16:59,105 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:16:59,105 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:16:59,106 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 11:16:59,106 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 11:16:59,106 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior486#129214789] 11:16:59,117 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower487#1682916505] 11:16:59,117 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader488#1788150351] 11:16:59,120 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 11:16:59,120 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,121 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 11:16:59,121 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 11:16:59,122 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior489#-925489962] 11:16:59,133 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower490#852889120] 11:16:59,133 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader491#537263839] 11:16:59,136 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 11:16:59,136 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,137 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:16:59,137 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:16:59,137 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:16:59,137 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:16:59,138 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 11:16:59,138 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 11:16:59,138 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,139 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 11:16:59,139 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:16:59,140 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:16:59,140 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:16:59,140 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior492#1792627898] 11:16:59,151 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower493#263681051] 11:16:59,151 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader494#412723883] 11:16:59,154 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 11:16:59,154 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,155 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 11:16:59,156 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:59,156 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 11:16:59,156 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,156 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 11:16:59,157 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 11:16:59,157 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:59,157 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 11:16:59,158 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,158 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 11:16:59,158 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 11:16:59,159 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 11:16:59,159 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 11:16:59,159 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,160 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 11:16:59,160 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior495#-1799987047] 11:16:59,171 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower496#74218950] 11:16:59,171 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader497#-1186579683] 11:16:59,174 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 11:16:59,174 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,374 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:16:59,374 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.168:17355, Removed) 11:16:59,374 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 11:16:59,374 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 11:16:59,374 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 11:16:59,374 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:16:59,374 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior498#1071912500] 11:16:59,385 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower499#-255143114] 11:16:59,386 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader500#36553447] 11:16:59,389 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,389 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 11:16:59,540 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:16:59,540 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior501#-150310241] 11:16:59,551 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower502#1022833802] 11:16:59,551 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader503#-398833490] 11:16:59,554 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 11:16:59,554 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,556 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 11:16:59,556 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 11:16:59,557 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior504#-1990734401] 11:16:59,568 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower505#1127569119] 11:16:59,568 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader506#-273849621] 11:16:59,570 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 11:16:59,570 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 11:16:59,571 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 11:16:59,572 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,572 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 11:16:59,572 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 11:16:59,572 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:16:59,572 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:16:59,572 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 11:16:59,572 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 11:16:59,572 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 11:16:59,572 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 11:16:59,573 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 11:16:59,573 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 11:16:59,573 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 11:16:59,573 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 11:16:59,574 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior507#1649942349] 11:16:59,584 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower508#1690420195] 11:16:59,584 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader509#873632895] 11:16:59,586 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 11:16:59,586 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,587 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 11:16:59,587 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 11:16:59,587 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:16:59,587 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 11:16:59,588 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 11:16:59,589 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,589 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior510#316791394] 11:16:59,600 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower511#1416633797] 11:16:59,600 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader512#831719222] 11:16:59,603 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 11:16:59,603 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:16:59,603 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 11:16:59,604 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 11:16:59,604 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 11:16:59,604 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 11:16:59,605 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 11:16:59,605 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior513#1000197805] 11:16:59,616 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower514#-1996928087] 11:16:59,616 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader515#-1081438670] 11:16:59,618 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [06/27/2025 11:16:59.619] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@22d81ee3 [INFO] [pekkoDeadLetter][06/27/2025 11:16:59.619] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:59,619 AM [test-pekko.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:59,620 AM [test-pekko.actor.default-dispatcher-14] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 11:16:59,620 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 11:16:59,620 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 11:16:59,621 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 11:16:59,621 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 11:16:59,621 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 11:16:59,622 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@3283c45e started 11:16:59,622 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting for more work 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:16:59,623 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:16:59,628 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 11:16:59,628 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 11:16:59,628 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@f7d4818 11:16:59,628 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 11:16:59,628 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 214.6 μs with journalIndex=1 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 11:16:59,629 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 entries in 7.208 ms 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 11:16:59,629 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 deferred callback(s) 11:16:59,635 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@6693c415 11:16:59,636 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 3 entries in 6.678 ms 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@62d2acea 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 11:16:59,636 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087b3c8@17436448 11:16:59,636 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 entries in 6.271 μs 11:16:59,636 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 1 entries in 117.9 μs 11:16:59,636 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting for more work [WARN] [06/27/2025 11:16:59.636] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/27/2025 11:16:59.636] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:59,636 AM [test-pekko.actor.default-dispatcher-15] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:16:59,780 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:16:59,780 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:16:59,780 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:16:59,780 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:16:59,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:16:59,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:16:59,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:16:59,881 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:16:59,889 AM [test-pekko.actor.default-dispatcher-15] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 11:16:59,981 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:16:59,981 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:16:59,981 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:16:59,982 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,82 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,82 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,82 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,82 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,183 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,183 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,183 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,183 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,283 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,283 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,283 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,283 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,384 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,384 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,384 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,384 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,484 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,484 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,484 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,484 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,585 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,585 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,585 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,585 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,685 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,685 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,685 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,685 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,786 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,786 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,786 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,786 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,887 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,887 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,887 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,887 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:00,987 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:00,987 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:00,987 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:00,987 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,88 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,88 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,88 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,88 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,188 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,188 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,188 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,188 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,289 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,289 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,289 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,289 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,389 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,490 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 11:17:01,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 11:17:01,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12022348101604367504/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 11:17:01,590 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 11:17:01,691 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior516#-145083903] 11:17:01,693 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower517#-2046494774] 11:17:01,693 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader518#-197003574] 11:17:01,693 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 11:17:01,693 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#833,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158]/waiting 11:17:01,693 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 entries in 2.058 s 11:17:01,694 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 1 entries in 32.84 μs 11:17:01,694 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@3283c45e stopped 11:17:01,694 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 11:17:01,694 AM [test-pekko.actor.default-dispatcher-15] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 11:17:01,694 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 11:17:01,694 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 11:17:01,698 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 11:17:01,698 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:01,999 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 11:17:02,129 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:17:02,129 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 11:17:02,379 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 11:17:02,580 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 11:17:02,580 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior519#-2146223153] 11:17:02,591 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower520#1577827230] 11:17:02,591 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader521#1669694110] 11:17:02,594 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,595 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:17:02,595 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 11:17:02,595 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 11:17:02,595 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 11:17:02,596 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:17:02,596 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior522#364699820] 11:17:02,607 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower523#-1928619299] 11:17:02,607 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader524#1047206842] 11:17:02,610 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,613 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 11:17:02,613 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 11:17:02,614 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior525#527694580] 11:17:02,625 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower526#1514946529] 11:17:02,625 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader527#-907597912] 11:17:02,628 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,629 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:17:02,630 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 11:17:02,630 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 11:17:02,630 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 11:17:02,630 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:17:02,631 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 11:17:02,631 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior528#-467543992] 11:17:02,631 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower529#1001223103] 11:17:02,632 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader530#171703356] 11:17:02,633 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,635 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 11:17:02,635 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 11:17:02,635 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior531#1676943038] 11:17:02,636 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower532#743506578] 11:17:02,636 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader533#1986613895] 11:17:02,638 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,639 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 11:17:02,639 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 11:17:02,640 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 11:17:02,640 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 11:17:02,641 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 11:17:02,642 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:17:02,642 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 11:17:02,642 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 11:17:02,642 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 11:17:02,643 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 11:17:02,643 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 11:17:02,643 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 11:17:02,644 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior534#1435316461] 11:17:02,644 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower535#941031854] 11:17:02,645 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader536#-295744783] 11:17:02,647 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,647 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:17:02,648 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 11:17:02,648 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,648 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 11:17:02,648 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 11:17:02,648 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 11:17:02,649 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 11:17:02,649 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 11:17:02,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior537#712659052] 11:17:02,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower538#-1487650866] 11:17:02,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader539#818302308] 11:17:02,663 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,664 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 11:17:02,665 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior540#1412820749] 11:17:02,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower541#612048132] 11:17:02,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader542#1177359097] 11:17:02,677 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 11:17:02,678 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 11:17:02,678 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 11:17:02,679 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior543#1631094266] 11:17:02,689 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower544#455927375] 11:17:02,689 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader545#-1594482114] [INFO] [06/27/2025 11:17:02.690] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:17:02,690 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [06/27/2025 11:17:02.691] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.168:17355) [INFO] [pekkoDeadLetter][06/27/2025 11:17:02.691] [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#1206586853] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:17:02,691 AM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1206586853] 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] [06/27/2025 11:17:02.692] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed [INFO] [06/27/2025 11:17:02.692] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Shutting down... 11:17:02,692 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed 11:17:02,692 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Shutting down... [INFO] [06/27/2025 11:17:02.692] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Successfully shut down 11:17:02,692 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Successfully shut down [INFO] [06/27/2025 11:17:02.693] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Shutting down remote daemon. 11:17:02,693 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [06/27/2025 11:17:02.693] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:17:02,694 AM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [06/27/2025 11:17:02.696] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Remoting shut down. 11:17:02,696 AM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.