[DEBUG] [06/30/2025 09:09:10.827] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:09:10,827 AM [test-pekko.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [06/30/2025 09:09:10.827] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [06/30/2025 09:09:10.828] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [06/30/2025 09:09:10.838] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [6397180770381088753] 09:09:10,839 AM [test-pekko.actor.default-dispatcher-4] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [6397180770381088753] [INFO] [06/30/2025 09:09:10.840] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... 09:09:10,840 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [06/30/2025 09:09:10.842] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [06/30/2025 09:09:10.842] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully 09:09:10,843 AM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:09:10,843 AM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully [INFO] [06/30/2025 09:09:10.843] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:09:10,843 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:09:10,843 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [06/30/2025 09:09:10.843] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:09:10,856 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 09:09:10,857 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:10,976 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:10,977 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:10,977 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:10,978 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:10,978 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:09:10,978 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 09:09:10,978 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:09:10,979 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:09:10,981 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 09:09:10,981 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#652630718] 09:09:10,993 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower419#1747636621] 09:09:10,993 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader420#594443772] 09:09:10,995 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 09:09:10,995 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:10,998 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:09:10,998 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 09:09:10,999 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:10,999 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:09:10,999 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior421#-378994997] 09:09:11,10 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower422#-1738935835] 09:09:11,10 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader423#-1174028253] 09:09:11,13 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 09:09:11,14 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,15 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:11,15 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:11,15 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:11,16 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:11,16 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:09:11,17 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:09:11,17 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:09:11,18 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:11,19 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:11,20 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:11,20 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:11,20 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,20 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 09:09:11,21 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior424#429448374] 09:09:11,31 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower425#1644979842] 09:09:11,31 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader426#-691425538] 09:09:11,33 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,34 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:09:11,34 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior427#1357031754] 09:09:11,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower428#1632238881] 09:09:11,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader429#617440035] 09:09:11,47 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:09:11,48 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,48 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:11,49 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:11,50 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:11,50 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:11,51 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:11,51 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:11,51 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:11,51 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,52 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:11,52 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:11,54 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:11,57 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior430#938004486] 09:09:11,68 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower431#1816987685] 09:09:11,68 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader432#-513172635] 09:09:11,71 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 09:09:11,71 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:11,73 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 09:09:11,74 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,74 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:11,74 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:09:11,74 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:11,74 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:11,74 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:11,74 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:09:11,76 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:09:11,77 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,77 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 09:09:11,77 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:09:11,77 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:11,77 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:11,78 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior433#131658828] 09:09:11,88 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#1058854276] 09:09:11,88 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader435#1633895410] 09:09:11,90 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 09:09:11,90 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,91 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:11,92 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:11,92 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,93 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 09:09:11,93 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior436#-1575513355] 09:09:11,104 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower437#-1380132741] 09:09:11,104 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader438#-960813252] 09:09:11,106 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,110 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior439#257893999] 09:09:11,121 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower440#-1532393434] 09:09:11,121 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader441#-1660166625] 09:09:11,123 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 09:09:11,123 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:11,123 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:09:11,123 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:11,124 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,125 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:11,125 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 09:09:11,125 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 09:09:11,125 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 09:09:11,125 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 09:09:11,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior442#-789726683] 09:09:11,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower443#1909534172] 09:09:11,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader444#1278552889] 09:09:11,139 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [06/30/2025 09:09:11.142] [test-pekko.actor.default-dispatcher-4] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@3c9602d [INFO] [pekkoDeadLetter][06/30/2025 09:09:11.142] [test-pekko.actor.default-dispatcher-4] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:11,143 AM [test-pekko.actor.default-dispatcher-4] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:11,145 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 09:09:11,145 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:09:11,145 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:09:11,146 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:09:11,146 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:11,146 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 09:09:11,146 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 09:09:11,146 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:09:11,148 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 09:09:11,148 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,148 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,148 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,148 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:11,149 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:11,153 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:11,153 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:09:11,153 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@47eb6f1d 09:09:11,153 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 09:09:11,153 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 452.3 μs with journalIndex=1 09:09:11,154 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 09:09:11,155 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 8.482 ms 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 09:09:11,155 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 deferred callback(s) 09:09:11,159 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 09:09:11,159 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 09:09:11,159 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 4.063 ms 09:09:11,159 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 2.730 μs 09:09:11,159 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:11,159 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@3c2fece 09:09:11,159 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 deferred callback(s) 09:09:11,161 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 09:09:11,161 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 09:09:11,161 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 1.720 ms 09:09:11,161 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:09:11,161 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:11,161 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@7799a93d [WARN] [06/30/2025 09:09:11.161] [test-pekko.actor.default-dispatcher-4] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/30/2025 09:09:11.161] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:11,161 AM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:11,307 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,307 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,307 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,307 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,393 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:11,407 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,407 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,508 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,508 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,508 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,508 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,814 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,814 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,814 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,814 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:11,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:11,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:11,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:11,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,417 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,417 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,417 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,417 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,618 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,618 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,618 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,618 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,718 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,718 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,718 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,718 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,819 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,819 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,819 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,819 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:12,919 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:12,919 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:12,919 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:12,919 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:13,19 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:13,19 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:13,19 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:13,19 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:13,120 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:13,120 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:13,120 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17126219412626235728/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:13,120 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:13,221 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior445#-2101342114] 09:09:13,233 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower446#1497689160] 09:09:13,233 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader447#1587393406] 09:09:13,234 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 09:09:13,234 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#826,testCaptureSnapshotOnLastEntryInAppendEntries-writer-157]/waiting 09:09:13,234 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.074 s 09:09:13,234 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 17.25 μs 09:09:13,234 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 09:09:13,235 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:09:13,235 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:09:13,235 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:13,235 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:13,239 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,240 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior448#-1382012401] 09:09:13,251 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower449#-1314626544] 09:09:13,251 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader450#-1796528759] 09:09:13,253 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 09:09:13,253 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,255 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 09:09:13,255 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:09:13,256 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior451#-2123209113] 09:09:13,267 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower452#1471851492] 09:09:13,267 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader453#-198369501] 09:09:13,269 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 09:09:13,269 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,269 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,270 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:13,270 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:13,270 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:13,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior454#1513383629] 09:09:13,281 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower455#-1573413919] 09:09:13,282 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader456#1285627561] 09:09:13,284 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 09:09:13,284 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,285 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:13,285 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,285 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:13,286 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,286 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:13,286 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 09:09:13,287 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,287 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:09:13,288 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,288 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:09:13,288 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior457#345468992] 09:09:13,299 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower458#543336165] 09:09:13,299 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader459#935645311] 09:09:13,301 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior460#-564401731] 09:09:13,312 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower461#1436682329] 09:09:13,312 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader462#1228318016] 09:09:13,315 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 09:09:13,315 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,316 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:13,316 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,316 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:13,317 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,317 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:13,317 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:13,317 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,318 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:13,318 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,318 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:13,319 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,319 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:13,319 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,319 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:13,319 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior463#1972793881] 09:09:13,330 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower464#-1904298210] 09:09:13,330 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader465#1227154137] 09:09:13,333 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 09:09:13,333 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,334 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:09:13,334 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:09:13,335 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 09:09:13,335 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior466#-1256540817] 09:09:13,346 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower467#-618591847] 09:09:13,346 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader468#-818327346] 09:09:13,349 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 09:09:13,349 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,351 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:09:13,352 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader471 09:09:13,352 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader471 09:09:13,353 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 09:09:13,354 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior469#1139640964] 09:09:13,365 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower470#-43624886] 09:09:13,365 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader471#1413190752] 09:09:13,366 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 09:09:13,367 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,367 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:13,367 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,368 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:13,368 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:13,368 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:13,369 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior472#1362147312] 09:09:13,379 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower473#2083611535] 09:09:13,379 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader474#-572990875] 09:09:13,381 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:09:13,382 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:13,382 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:13,383 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:13,383 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:13,384 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,384 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:13,384 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior475#923761152] 09:09:13,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower476#1336222861] 09:09:13,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader477#-1485367268] 09:09:13,396 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [06/30/2025 09:09:13.397] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@6331cdda [INFO] [pekkoDeadLetter][06/30/2025 09:09:13.397] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:13,398 AM [test-pekko.actor.default-dispatcher-4] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:13,398 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 09:09:13,398 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:09:13,398 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:09:13,399 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 09:09:13,400 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:13,400 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 09:09:13,400 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 09:09:13,400 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:09:13,401 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 09:09:13,401 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,402 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,402 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:13,402 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:09:13,402 AM [test-pekko.actor.default-dispatcher-4] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:13,407 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:09:13,407 AM [test-pekko.actor.default-dispatcher-4] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 09:09:13,407 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@504d61d3 09:09:13,407 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 09:09:13,407 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 353.5 μs with journalIndex=1 09:09:13,408 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:09:13,408 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 09:09:13,408 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:13,408 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 09:09:13,408 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:13,409 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 8.757 ms 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 09:09:13,409 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 deferred callback(s) 09:09:13,413 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 09:09:13,413 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 4.426 ms 09:09:13,413 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 commands after 4.160 μs 09:09:13,413 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 09:09:13,413 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:13,413 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@247d3ace 09:09:13,413 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 2 deferred callback(s) 09:09:13,416 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:09:13,416 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 3 commands in 3.232 ms 09:09:13,416 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:09:13,416 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:09:13,416 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:13,416 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@2772b6e9 09:09:13,416 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:09:13,416 AM [test-pekko.actor.default-dispatcher-4] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@1191743e 09:09:13,417 AM [test-pekko.actor.default-dispatcher-12] [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'. [WARN] [06/30/2025 09:09:13.417] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/30/2025 09:09:13.417] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:13,560 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:13,560 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,560 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,560 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:13,653 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:13,661 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:13,661 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,661 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,661 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:13,761 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:13,762 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,762 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,762 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:13,862 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:13,862 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,862 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,862 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:13,963 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:13,963 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:13,963 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:13,963 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,63 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,63 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,63 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,63 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,164 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,164 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,164 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,164 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,265 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,265 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,265 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,265 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,366 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,366 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,366 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,366 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,668 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,668 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,668 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,668 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,869 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,869 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,869 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,869 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:14,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:14,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:14,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:14,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:15,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:15,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:15,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:15,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:15,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:15,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:15,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:15,171 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:15,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:15,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:15,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:15,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:15,372 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:15,372 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:15,372 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6249293305773746700/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:15,372 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:15,473 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior478#-1903356463] 09:09:15,475 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower479#-144718879] 09:09:15,475 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader480#2018352263] 09:09:15,476 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 09:09:15,476 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#828,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158]/waiting 09:09:15,476 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.060 s 09:09:15,476 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 18.38 μs 09:09:15,476 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 09:09:15,476 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:09:15,476 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:09:15,476 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:09:15,477 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:09:15,481 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 09:09:15,481 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,482 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:15,483 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 09:09:15,483 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 09:09:15,483 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,484 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 09:09:15,484 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior481#-1370163466] 09:09:15,495 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower482#660831462] 09:09:15,495 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader483#-1845665045] 09:09:15,497 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 09:09:15,497 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,498 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:15,498 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 09:09:15,498 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 09:09:15,498 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 09:09:15,499 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 09:09:15,499 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior484#270213293] 09:09:15,500 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower485#-1084802118] 09:09:15,500 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader486#-544082579] 09:09:15,502 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 09:09:15,502 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,503 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:09:15,504 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:15,504 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 09:09:15,504 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,505 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:09:15,505 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 09:09:15,505 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:15,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:15,505 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:15,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:15,505 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:15,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:15,505 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:09:15,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:09:15,506 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior487#639320608] 09:09:15,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower488#-829249077] 09:09:15,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader489#-400732514] 09:09:15,509 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 09:09:15,509 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,510 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 09:09:15,510 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 09:09:15,511 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior490#1556963410] 09:09:15,511 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower491#-1285690578] 09:09:15,512 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader492#-1997691921] 09:09:15,513 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 09:09:15,513 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,513 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:15,513 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:15,513 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:15,513 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:15,513 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,514 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 09:09:15,514 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:09:15,514 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:15,514 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:15,515 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior493#697895357] 09:09:15,515 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower494#2009450503] 09:09:15,515 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader495#-543089806] 09:09:15,516 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 09:09:15,516 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,517 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:15,517 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:15,517 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:15,517 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,517 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:15,517 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:15,518 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:15,518 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:15,518 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,518 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:15,518 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:09:15,518 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:15,518 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:09:15,519 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,519 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:09:15,519 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior496#-1023042090] 09:09:15,519 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower497#1766284513] 09:09:15,519 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader498#813050125] 09:09:15,520 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 09:09:15,520 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,721 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:15,721 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.168:17355, Removed) 09:09:15,721 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 09:09:15,721 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:09:15,721 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:09:15,721 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:09:15,721 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior499#-226732091] 09:09:15,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower500#364733769] 09:09:15,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader501#-1309762059] 09:09:15,725 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,725 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 09:09:15,876 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:15,876 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior502#1095914501] 09:09:15,877 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower503#63342276] 09:09:15,877 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader504#-52528426] 09:09:15,880 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 09:09:15,880 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,882 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:09:15,882 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 09:09:15,884 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior505#-482296293] 09:09:15,885 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower506#941130188] 09:09:15,885 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader507#1200894210] 09:09:15,886 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 09:09:15,886 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,887 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 09:09:15,887 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:09:15,888 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:15,888 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:15,888 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:15,888 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:15,888 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:15,888 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:15,888 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:09:15,888 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:09:15,888 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 09:09:15,888 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 09:09:15,888 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior508#-629782222] 09:09:15,889 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower509#366157283] 09:09:15,889 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader510#-2085967658] 09:09:15,890 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 09:09:15,890 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,890 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:15,890 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:15,890 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:15,891 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:15,891 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 09:09:15,891 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,891 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior511#925211891] 09:09:15,892 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower512#5747781] 09:09:15,892 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader513#-240715778] 09:09:15,893 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 09:09:15,893 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:15,894 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:09:15,894 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:09:15,894 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:15,894 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:09:15,894 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:09:15,894 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior514#-765543461] 09:09:15,895 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower515#-967264442] 09:09:15,895 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader516#-1006333506] 09:09:15,896 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [06/30/2025 09:09:15.896] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@6e017e91 [INFO] [pekkoDeadLetter][06/30/2025 09:09:15.897] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:15,897 AM [test-pekko.actor.default-dispatcher-5] [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'. 09:09:15,897 AM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 09:09:15,897 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:09:15,897 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:09:15,897 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:09:15,898 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:15,898 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 09:09:15,898 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 09:09:15,898 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:15,900 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:15,904 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:15,904 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:09:15,904 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@1f163d96 09:09:15,904 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 09:09:15,905 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 432.9 μs with journalIndex=1 09:09:15,905 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:09:15,905 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 09:09:15,905 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:15,905 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 09:09:15,905 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:15,906 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 7.428 ms 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 09:09:15,906 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 deferred callback(s) 09:09:15,913 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 09:09:15,913 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 7.332 ms 09:09:15,913 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 4.061 μs 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@2997b30f 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@1690219e 09:09:15,913 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 1 deferred callback(s) 09:09:15,915 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 09:09:15,915 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 2.157 ms 09:09:15,915 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:09:15,915 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 09:09:15,915 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:09:15,915 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c087ad08@1b8739e1 [WARN] [06/30/2025 09:09:15.916] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] 09:09:15,916 AM [test-pekko.actor.default-dispatcher-5] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][06/30/2025 09:09:15.916] [test-pekko.actor.default-dispatcher-4] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:16,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,8 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,193 AM [test-pekko.actor.default-dispatcher-12] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:16,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,209 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,310 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,310 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,310 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,310 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,511 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,511 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,511 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,511 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:16,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:16,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:16,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:16,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,215 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,215 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,215 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,215 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,316 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,416 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,416 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,416 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,416 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,517 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,617 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,617 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,617 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,617 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,718 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,818 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:17,818 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:17,818 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13423998277534505066/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:17,818 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:17,919 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior517#-886778508] 09:09:17,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower518#-911988497] 09:09:17,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader519#1603179411] 09:09:17,930 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 09:09:17,931 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#830,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159]/waiting 09:09:17,931 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.015 s 09:09:17,931 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 12.02 μs 09:09:17,931 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 09:09:17,931 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:09:17,931 AM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:09:17,931 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:17,931 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:17,934 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 09:09:17,934 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,235 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:09:18,365 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:18,365 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 09:09:18,615 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 09:09:18,815 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 09:09:18,816 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior520#705183494] 09:09:18,817 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower521#-421476759] 09:09:18,817 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader522#-142663288] 09:09:18,820 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,821 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:18,821 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 09:09:18,821 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:09:18,821 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:09:18,822 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:09:18,822 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior523#-462965653] 09:09:18,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower524#-322572120] 09:09:18,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader525#-64409095] 09:09:18,826 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,827 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:09:18,828 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:09:18,828 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior526#-776433582] 09:09:18,828 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower527#-1007350056] 09:09:18,828 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader528#-1663617881] 09:09:18,830 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:18,831 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 09:09:18,831 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 09:09:18,831 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:18,831 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:18,831 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 09:09:18,832 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior529#-1432993408] 09:09:18,832 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower530#2064732513] 09:09:18,832 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader531#-886561538] 09:09:18,834 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,835 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:09:18,835 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:09:18,835 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior532#1379620921] 09:09:18,836 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower533#1355162610] 09:09:18,836 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader534#-2089827232] 09:09:18,837 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,838 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:18,838 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 09:09:18,839 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:18,839 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 09:09:18,839 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 09:09:18,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 09:09:18,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 09:09:18,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 09:09:18,840 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 09:09:18,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:09:18,840 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:09:18,841 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:09:18,841 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior535#-1593507185] 09:09:18,842 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower536#-522923147] 09:09:18,842 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader537#2063586483] 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,843 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:09:18,843 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:09:18,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:09:18,843 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:09:18,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior538#2037957814] 09:09:18,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower539#1030712631] 09:09:18,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader540#-1631834719] 09:09:18,845 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,846 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 09:09:18,846 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior541#-311410143] 09:09:18,846 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower542#928802942] 09:09:18,847 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader543#1703288112] 09:09:18,848 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:18,848 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:09:18,848 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:09:18,848 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior544#-1078981442] 09:09:18,849 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower545#-962129565] 09:09:18,849 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader546#1901253228] [INFO] [06/30/2025 09:09:18.849] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:09:18,849 AM [test-pekko.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [06/30/2025 09:09:18.850] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.168:17355) [INFO] [pekkoDeadLetter][06/30/2025 09:09:18.850] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1755435446] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:18,850 AM [test-pekko.actor.default-dispatcher-12] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1755435446] 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/30/2025 09:09:18.850] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed [INFO] [06/30/2025 09:09:18.850] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Shutting down... [INFO] [06/30/2025 09:09:18.850] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Successfully shut down 09:09:18,851 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed 09:09:18,851 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Shutting down... 09:09:18,851 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Successfully shut down [INFO] [06/30/2025 09:09:18.852] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Shutting down remote daemon. 09:09:18,852 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [06/30/2025 09:09:18.853] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:09:18,853 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [06/30/2025 09:09:18.854] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.168:17355/system/remoting-terminator] Remoting shut down. 09:09:18,854 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [06/30/2025 09:09:18.854] [test-pekko.actor.internal-dispatcher-9] [EventStream] shutting down: StandardOutLogger