[DEBUG] [06/27/2025 14:31:54.602] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:31:54,602 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [06/27/2025 14:31:54.602] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [06/27/2025 14:31:54.602] [main] [EventStream(pekko://test)] Default Loggers started 02:31:54,610 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.8:17355] with UID [4292424266955446894] [INFO] [06/27/2025 14:31:54.610] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.8:17355] with UID [4292424266955446894] [INFO] [06/27/2025 14:31:54.610] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Starting up, Pekko version [1.0.3] ... 02:31:54,610 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [06/27/2025 14:31:54.613] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [06/27/2025 14:31:54.613] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Started up successfully 02:31:54,613 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:31:54,613 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Started up successfully 02:31:54,614 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:31:54,614 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8: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 14:31:54.614] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8: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 14:31:54.614] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:31:54,624 PM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 02:31:54,624 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,711 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:31:54,712 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:31:54,712 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:31:54,713 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:31:54,714 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 02:31:54,714 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 02:31:54,714 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 02:31:54,714 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 02:31:54,717 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 02:31:54,718 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#1121039200] 02:31:54,729 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower419#1247446708] 02:31:54,729 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader420#-2075496950] 02:31:54,731 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 02:31:54,731 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,732 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 02:31:54,733 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 02:31:54,733 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,733 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 02:31:54,734 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior421#2010867677] 02:31:54,744 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower422#315704934] 02:31:54,744 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader423#1555619004] 02:31:54,746 PM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 02:31:54,747 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,747 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:31:54,747 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:31:54,747 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:31:54,747 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:31:54,748 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 02:31:54,748 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 02:31:54,748 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 02:31:54,749 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:31:54,750 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:54,751 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:54,751 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 02:31:54,752 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,752 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 02:31:54,752 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior424#-1272720381] 02:31:54,763 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower425#-103956930] 02:31:54,763 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader426#-821501363] 02:31:54,765 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,765 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 02:31:54,766 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior427#962320241] 02:31:54,766 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower428#-122428794] 02:31:54,767 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader429#-316616371] 02:31:54,768 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 02:31:54,768 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,769 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:54,769 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:31:54,770 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,771 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:54,771 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:31:54,772 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:31:54,773 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior430#475978469] 02:31:54,773 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower431#-9302862] 02:31:54,774 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader432#1031595396] 02:31:54,775 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 02:31:54,775 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,776 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 02:31:54,776 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,777 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:31:54,777 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:31:54,777 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:31:54,777 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:31:54,777 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:31:54,777 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 02:31:54,778 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 02:31:54,779 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 02:31:54,779 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,779 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 02:31:54,779 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:31:54,779 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:31:54,779 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:31:54,780 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior433#-1318843615] 02:31:54,780 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#1968509341] 02:31:54,780 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader435#319096189] 02:31:54,782 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 02:31:54,782 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,782 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 02:31:54,782 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 02:31:54,783 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,783 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 02:31:54,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior436#-1455396850] 02:31:54,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower437#-1775599041] 02:31:54,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader438#2112616309] 02:31:54,785 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,787 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior439#2011576861] 02:31:54,787 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower440#-1927723344] 02:31:54,787 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader441#-395403011] 02:31:54,788 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 02:31:54,788 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:54,788 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 02:31:54,789 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:31:54,789 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:31:54,790 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,790 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:54,790 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 02:31:54,790 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 02:31:54,790 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 02:31:54,790 PM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 02:31:54,790 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior442#-1005296824] 02:31:54,790 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower443#257870163] 02:31:54,791 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader444#-1549865383] 02:31:54,792 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [06/27/2025 14:31:54.793] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@56775146 [INFO] [pekkoDeadLetter][06/27/2025 14:31:54.793] [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'. 02:31:54,794 PM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:54,795 PM [test-pekko.actor.default-dispatcher-7] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 02:31:54,795 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 02:31:54,795 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 02:31:54,795 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 02:31:54,796 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:31:54,796 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 02:31:54,796 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@5dac4d5f started 02:31:54,796 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting for more work 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:31:54,797 PM [test-pekko.actor.default-dispatcher-11] [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 02:31:54,800 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:31:54,800 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 02:31:54,800 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@4e3dcc2d 02:31:54,800 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 257.2 μs with journalIndex=1 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:54,801 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 entries in 5.459 ms 02:31:54,801 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 02:31:54,802 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 deferred callback(s) 02:31:54,805 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 02:31:54,805 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 02:31:54,805 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 1 entries in 3.243 ms 02:31:54,805 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 entries in 3.680 μs 02:31:54,805 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:31:54,805 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@6c44673e 02:31:54,805 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 deferred callback(s) 02:31:54,806 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 02:31:54,806 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 02:31:54,806 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 2 entries in 777.3 μs 02:31:54,806 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:31:54,806 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting for more work 02:31:54,806 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@36b610fd [WARN] [06/27/2025 14:31:54.806] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/27/2025 14:31:54.806] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:54,806 PM [test-pekko.actor.default-dispatcher-11] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:54,953 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:54,953 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:54,953 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:54,953 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,54 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,54 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,54 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,54 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,119 PM [test-pekko.actor.default-dispatcher-11] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 02:31:55,154 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,154 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,154 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,155 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,255 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,255 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,255 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,255 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,355 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,355 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,355 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,355 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,456 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,456 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,456 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,456 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,557 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,557 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,557 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,557 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,657 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,657 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,657 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,657 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,758 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,758 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,758 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,758 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,859 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,859 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,859 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,859 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:55,959 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:55,959 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:55,959 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:55,959 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,60 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,60 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,60 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,60 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,160 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,161 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,161 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,161 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,261 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,261 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,261 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,261 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,362 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,362 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,362 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,362 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,462 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,462 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,462 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,462 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,563 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,563 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,563 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,563 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,663 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,663 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,663 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,663 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,764 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:31:56,764 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:31:56,764 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14172319420689779312/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:31:56,764 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:31:56,865 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior445#856899134] 02:31:56,876 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower446#-1211169307] 02:31:56,877 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader447#-1386980910] 02:31:56,877 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 02:31:56,877 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#826,testCaptureSnapshotOnLastEntryInAppendEntries-writer-157]/waiting 02:31:56,877 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 entries in 2.071 s 02:31:56,877 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: persisted 1 entries in 31.54 μs 02:31:56,877 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@5dac4d5f stopped 02:31:56,877 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 02:31:56,877 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 02:31:56,877 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 02:31:56,877 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 02:31:56,882 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,884 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior448#1510925626] 02:31:56,894 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower449#99443654] 02:31:56,894 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader450#-263872412] 02:31:56,897 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 02:31:56,897 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,899 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 02:31:56,900 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 02:31:56,900 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior451#893771651] 02:31:56,911 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower452#418648749] 02:31:56,911 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader453#1222736943] 02:31:56,913 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 02:31:56,913 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,914 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:56,915 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,915 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:56,916 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:31:56,916 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:31:56,916 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:31:56,916 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:31:56,916 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,917 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:56,917 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:31:56,917 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:31:56,918 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior454#-155483080] 02:31:56,929 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower455#1566474319] 02:31:56,929 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader456#-2074235954] 02:31:56,932 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 02:31:56,932 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,933 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:56,933 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,934 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 02:31:56,934 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,935 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:56,935 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 02:31:56,936 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,936 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 02:31:56,936 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,937 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 02:31:56,937 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior457#1053597310] 02:31:56,948 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower458#1981173213] 02:31:56,948 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader459#941363421] 02:31:56,951 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,951 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior460#247443942] 02:31:56,962 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower461#453334674] 02:31:56,962 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader462#203857611] 02:31:56,964 PM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 02:31:56,964 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,964 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:56,965 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,965 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 02:31:56,966 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,966 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:56,966 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:31:56,967 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,967 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 02:31:56,967 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,967 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:31:56,968 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:56,968 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 02:31:56,968 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,969 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:31:56,969 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior463#-1021056588] 02:31:56,979 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower464#-1208257442] 02:31:56,980 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader465#507167776] 02:31:56,983 PM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 02:31:56,983 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:56,985 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 02:31:56,985 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:56,986 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:31:56,986 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 02:31:56,986 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:31:56,986 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 02:31:56,986 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:56,986 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 02:31:56,987 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 02:31:56,987 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 02:31:56,988 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior466#-1106449660] 02:31:56,998 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower467#1718583468] 02:31:56,998 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader468#-1737886423] 02:31:57,1 PM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 02:31:57,2 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:57,4 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 02:31:57,5 PM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader471 02:31:57,5 PM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader471 02:31:57,7 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 02:31:57,8 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior469#1357126531] 02:31:57,18 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower470#603088373] 02:31:57,19 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader471#-1866371617] 02:31:57,21 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 02:31:57,21 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:57,22 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:31:57,23 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:31:57,24 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:57,24 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:57,24 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:31:57,24 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:31:57,25 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior472#-1125792684] 02:31:57,36 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower473#229843889] 02:31:57,36 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader474#-1892799444] 02:31:57,39 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 02:31:57,39 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:57,40 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:57,41 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:57,41 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 02:31:57,42 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:57,42 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:57,42 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior475#-1591569659] 02:31:57,53 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower476#590194465] 02:31:57,53 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader477#1083038024] 02:31:57,56 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 02:31:57,57 PM [test-pekko.actor.default-dispatcher-11] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 02:31:57,57 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 02:31:57,58 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor [WARN] [06/27/2025 14:31:57.058] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@4c526751 02:31:57,58 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 [INFO] [pekkoDeadLetter][06/27/2025 14:31:57.058] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:57,58 PM [test-pekko.actor.default-dispatcher-7] [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'. 02:31:57,59 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:31:57,59 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 02:31:57,59 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@2ad89127 started 02:31:57,59 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting for more work 02:31:57,60 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 02:31:57,61 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,61 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,61 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,61 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 02:31:57,61 PM [test-pekko.actor.default-dispatcher-11] [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 02:31:57,64 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 02:31:57,64 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 02:31:57,64 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@2f3976f5 02:31:57,64 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 02:31:57,64 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 202.5 μs with journalIndex=1 02:31:57,64 PM [test-pekko.actor.default-dispatcher-7] [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]]} 02:31:57,64 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 02:31:57,64 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:31:57,64 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 02:31:57,64 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 02:31:57,65 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 entries in 5.458 ms 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [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} 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 02:31:57,65 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 deferred callback(s) 02:31:57,69 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 02:31:57,69 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 1 entries in 4.746 ms 02:31:57,69 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 02:31:57,69 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 entries in 3.310 μs 02:31:57,69 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:31:57,69 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@1d233570 02:31:57,69 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 2 deferred callback(s) 02:31:57,72 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@a240d94 02:31:57,72 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 3 entries in 2.364 ms 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 02:31:57,72 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting for more work 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@36e7abcb [WARN] [06/27/2025 14:31:57.072] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] 02:31:57,72 PM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][06/27/2025 14:31:57.072] [test-pekko.actor.default-dispatcher-7] [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'. 02:31:57,216 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,216 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,216 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,216 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,317 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,317 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,317 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,317 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,329 PM [test-pekko.actor.default-dispatcher-11] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 02:31:57,418 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,418 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,418 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,418 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,518 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,518 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,518 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,518 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,619 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,619 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,619 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,619 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,719 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,719 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,719 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,719 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,819 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,820 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,820 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,820 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:57,920 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:57,920 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:57,920 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:57,920 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,20 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,20 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,20 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,20 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,121 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,121 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,121 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,121 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,221 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,221 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,221 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,221 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,322 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,322 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,322 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,322 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,422 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,422 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,422 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,422 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,522 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,523 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,523 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,523 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,623 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,623 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,623 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,623 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,723 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,724 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,724 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,724 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,824 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,824 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,824 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,824 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:58,925 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:58,925 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:58,925 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:58,925 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:59,25 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:31:59,25 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:31:59,25 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest363798477251337182/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:31:59,25 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:31:59,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior478#-561996285] 02:31:59,128 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower479#-820855703] 02:31:59,128 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader480#1159852481] 02:31:59,128 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 02:31:59,128 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#829,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158]/waiting 02:31:59,129 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 entries in 2.057 s 02:31:59,129 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: persisted 1 entries in 35.44 μs 02:31:59,129 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@2ad89127 stopped 02:31:59,129 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 02:31:59,129 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 02:31:59,129 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 02:31:59,129 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 02:31:59,132 PM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 02:31:59,132 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,133 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:59,133 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 02:31:59,133 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 02:31:59,134 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,134 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 02:31:59,134 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior481#1182399946] 02:31:59,136 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower482#853338363] 02:31:59,136 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader483#589009803] 02:31:59,139 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 02:31:59,139 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,139 PM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 02:31:59,140 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 02:31:59,140 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 02:31:59,140 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 02:31:59,140 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 02:31:59,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior484#-2022653850] 02:31:59,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower485#1611840851] 02:31:59,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader486#-665686850] 02:31:59,143 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 02:31:59,143 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,144 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 02:31:59,144 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:31:59,144 PM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 02:31:59,144 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,145 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 02:31:59,145 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 02:31:59,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:31:59,145 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:31:59,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:31:59,145 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:31:59,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:31:59,145 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:31:59,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 02:31:59,145 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 02:31:59,145 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior487#1404066175] 02:31:59,146 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower488#1541330589] 02:31:59,146 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader489#-135626334] 02:31:59,148 PM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 02:31:59,148 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,149 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 02:31:59,149 PM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 02:31:59,149 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior490#-2098183300] 02:31:59,150 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower491#210066603] 02:31:59,150 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader492#-542223292] 02:31:59,152 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 02:31:59,152 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,152 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:31:59,152 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:31:59,152 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:31:59,152 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:31:59,153 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 02:31:59,153 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,154 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 02:31:59,154 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:31:59,154 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:31:59,154 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:31:59,154 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior493#1936655024] 02:31:59,155 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower494#-182839273] 02:31:59,155 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader495#-630201997] 02:31:59,157 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 02:31:59,157 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,157 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 02:31:59,158 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:59,158 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 02:31:59,158 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,159 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:31:59,159 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:31:59,159 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:59,160 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 02:31:59,160 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,160 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:31:59,160 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 02:31:59,161 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 02:31:59,161 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 02:31:59,161 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,161 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 02:31:59,162 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior496#-988648061] 02:31:59,162 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower497#-595746374] 02:31:59,162 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader498#-1513416417] 02:31:59,165 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 02:31:59,165 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,365 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:31:59,365 PM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.8:17355, Removed) 02:31:59,365 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 02:31:59,365 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 02:31:59,365 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 02:31:59,365 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 02:31:59,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior499#-559641139] 02:31:59,367 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower500#-1580698430] 02:31:59,367 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader501#-567809914] 02:31:59,370 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,370 PM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 02:31:59,572 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:31:59,572 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior502#505216020] 02:31:59,573 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower503#1568354575] 02:31:59,574 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader504#-181100377] 02:31:59,577 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 02:31:59,577 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,579 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 02:31:59,580 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 02:31:59,581 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior505#1996302444] 02:31:59,582 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower506#-686895487] 02:31:59,582 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader507#2035760204] 02:31:59,584 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 02:31:59,585 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 02:31:59,585 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 02:31:59,586 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 02:31:59,586 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,586 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 02:31:59,586 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 02:31:59,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:31:59,586 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:31:59,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:31:59,586 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:31:59,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:31:59,586 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:31:59,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 02:31:59,586 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 02:31:59,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 02:31:59,586 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 02:31:59,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior508#992941639] 02:31:59,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower509#-706597408] 02:31:59,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader510#-1419050970] 02:31:59,589 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 02:31:59,589 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,589 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:31:59,589 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:31:59,589 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:31:59,590 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:31:59,590 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 02:31:59,590 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:31:59,591 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior511#1759025873] 02:31:59,591 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower512#-1054418709] 02:31:59,592 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader513#-795274268] 02:31:59,593 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 02:31:59,593 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:31:59,593 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 02:31:59,594 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 02:31:59,594 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:31:59,594 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 02:31:59,594 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 02:31:59,594 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior514#-1587473919] 02:31:59,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower515#230189795] 02:31:59,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader516#-337140064] 02:31:59,596 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 02:31:59,597 PM [test-pekko.actor.default-dispatcher-7] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 02:31:59,597 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:31:59,597 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:31:59,598 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 02:31:59,598 PM [test-pekko.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [06/27/2025 14:31:59.598] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@37249206 [INFO] [pekkoDeadLetter][06/27/2025 14:31:59.598] [test-pekko.actor.default-dispatcher-14] [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'. 02:31:59,598 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:31:59,598 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 02:31:59,598 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@11bdb3b8 started 02:31:59,598 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting for more work 02:31:59,599 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 02:31:59,599 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:31:59,599 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:31:59,599 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:31:59,599 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:31:59,600 PM [test-pekko.actor.default-dispatcher-11] [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 02:31:59,603 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:31:59,603 PM [test-pekko.actor.default-dispatcher-11] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 02:31:59,603 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@7784ca1a 02:31:59,603 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 02:31:59,603 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 292.5 μs with journalIndex=1 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [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]]} 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:31:59,604 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 entries in 5.590 ms 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [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} 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 02:31:59,604 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 deferred callback(s) 02:31:59,608 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 02:31:59,608 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 1 entries in 4.135 ms 02:31:59,608 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 entries in 3.880 μs 02:31:59,608 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 02:31:59,608 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:31:59,608 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@1da49ab1 02:31:59,608 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 2 deferred callback(s) 02:31:59,611 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 02:31:59,611 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 02:31:59,611 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 3 entries in 2.636 ms 02:31:59,611 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting for more work 02:31:59,611 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:31:59,611 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@11e46af9 02:31:59,611 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 02:31:59,611 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087fa30@52a6d2bf [WARN] [06/27/2025 14:31:59.611] [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 14:31:59.611] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:59,611 PM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:31:59,755 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:31:59,755 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:31:59,755 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:31:59,755 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:31:59,856 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:31:59,856 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:31:59,856 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:31:59,856 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:31:59,909 PM [test-pekko.actor.default-dispatcher-7] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 02:31:59,957 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:31:59,957 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:31:59,957 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:31:59,957 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,57 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,57 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,57 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,57 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,158 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,158 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,158 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,158 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,259 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,259 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,260 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,260 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,360 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,360 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,360 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,360 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,461 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,461 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,461 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,461 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,561 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,561 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,561 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,561 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,662 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,662 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,662 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,662 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,763 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,763 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,763 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,763 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,863 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,863 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,863 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,863 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:00,964 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:00,964 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:00,964 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:00,964 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,65 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,65 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,65 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,65 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,165 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,165 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,165 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,165 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,266 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,266 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,266 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,266 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,366 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,366 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,366 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,366 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,467 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,567 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:32:01,567 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:32:01,567 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest8221774278697090681/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:32:01,567 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:32:01,668 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior517#351660750] 02:32:01,679 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower518#-2022917898] 02:32:01,680 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader519#568166512] 02:32:01,680 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 02:32:01,680 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#831,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159]/waiting 02:32:01,680 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 entries in 2.069 s 02:32:01,680 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: persisted 1 entries in 40.97 μs 02:32:01,680 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: task org.opendaylight.controller.cluster.raft.spi.JournalWriteTask@11bdb3b8 stopped 02:32:01,681 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:32:01,681 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:32:01,681 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:32:01,681 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:32:01,687 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 02:32:01,687 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:01,987 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 02:32:02,117 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:32:02,117 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 02:32:02,368 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 02:32:02,568 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 02:32:02,568 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior520#466611251] 02:32:02,570 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower521#565943024] 02:32:02,570 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader522#-243322768] 02:32:02,573 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,574 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:32:02,574 PM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 02:32:02,574 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 02:32:02,574 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 02:32:02,574 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 02:32:02,574 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior523#1991293548] 02:32:02,575 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower524#-1018797443] 02:32:02,575 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader525#1603079813] 02:32:02,578 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,579 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 02:32:02,579 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 02:32:02,579 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior526#864007481] 02:32:02,580 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower527#-397175250] 02:32:02,580 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader528#-958483382] 02:32:02,582 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,582 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:32:02,583 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 02:32:02,583 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 02:32:02,583 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:32:02,583 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:32:02,583 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 02:32:02,583 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior529#-233742908] 02:32:02,584 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower530#355321728] 02:32:02,584 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader531#625442671] 02:32:02,585 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 02:32:02,586 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 02:32:02,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior532#-687005983] 02:32:02,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower533#1546760791] 02:32:02,587 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader534#-177889776] 02:32:02,588 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,589 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 02:32:02,589 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 02:32:02,589 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 02:32:02,590 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 02:32:02,590 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 02:32:02,591 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:32:02,591 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 02:32:02,591 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 02:32:02,591 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 02:32:02,591 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 02:32:02,591 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 02:32:02,592 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 02:32:02,592 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior535#-1546845598] 02:32:02,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower536#79582806] 02:32:02,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader537#-1438928936] 02:32:02,594 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,594 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:32:02,594 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:32:02,594 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,594 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 02:32:02,595 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 02:32:02,595 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 02:32:02,595 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 02:32:02,595 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 02:32:02,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior538#171929473] 02:32:02,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower539#-262849447] 02:32:02,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader540#-1787392221] 02:32:02,597 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,597 PM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 02:32:02,598 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior541#1954037655] 02:32:02,598 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower542#-1860823573] 02:32:02,598 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader543#1023452123] 02:32:02,599 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:32:02,600 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 02:32:02,600 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 02:32:02,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior544#-1006987668] 02:32:02,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower545#-259761398] 02:32:02,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader546#2071261214] [INFO] [06/27/2025 14:32:02.601] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:32:02,601 PM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [06/27/2025 14:32:02.601] [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.8:17355) [INFO] [pekkoDeadLetter][06/27/2025 14:32:02.601] [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#909258848] 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'. 02:32:02,601 PM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#909258848] 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 14:32:02.602] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Exiting completed [INFO] [06/27/2025 14:32:02.602] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Shutting down... [INFO] [06/27/2025 14:32:02.602] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.8:17355] - Successfully shut down 02:32:02,603 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Exiting completed 02:32:02,603 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Shutting down... 02:32:02,603 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.8:17355] - Successfully shut down [INFO] [06/27/2025 14:32:02.603] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.8:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [06/27/2025 14:32:02.603] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.8:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:32:02,604 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 02:32:02,604 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 02:32:02,606 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [06/27/2025 14:32:02.605] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.8:17355/system/remoting-terminator] Remoting shut down.