[DEBUG] [07/02/2025 00:00:57.062] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 12:00:57,64 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/02/2025 00:00:57.064] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/02/2025 00:00:57.064] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/02/2025 00:00:57.077] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.227:17355] with UID [7968833973934401170] 12:00:57,78 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.227:17355] with UID [7968833973934401170] [INFO] [07/02/2025 00:00:57.079] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Starting up, Pekko version [1.0.3] ... 12:00:57,79 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/02/2025 00:00:57.088] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/02/2025 00:00:57.088] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Started up successfully [INFO] [07/02/2025 00:00:57.089] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/02/2025 00:00:57.089] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 12:00:57,96 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 12:00:57,97 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Started up successfully 12:00:57,97 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 12:00:57,97 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 12:00:57,132 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 12:00:57,132 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,239 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 12:00:57,239 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 12:00:57,239 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:00:57,240 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 12:00:57,241 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 12:00:57,241 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 12:00:57,241 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 12:00:57,241 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 12:00:57,243 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 12:00:57,256 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#-1810810063] 12:00:57,267 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower419#-522745110] 12:00:57,267 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader420#-234219294] 12:00:57,269 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 12:00:57,269 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,270 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]]} 12:00:57,270 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 12:00:57,271 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} 12:00:57,271 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 12:00:57,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior421#106057568] 12:00:57,282 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower422#771355859] 12:00:57,282 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader423#2143836520] 12:00:57,283 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 12:00:57,284 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,284 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 12:00:57,284 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 12:00:57,284 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:00:57,284 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 12:00:57,285 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 12:00:57,285 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 12:00:57,285 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 12:00:57,288 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 12:00:57,289 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 12:00:57,289 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]]} 12:00:57,289 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 12:00:57,289 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} 12:00:57,290 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 12:00:57,290 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior424#-1186013657] 12:00:57,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower425#1217066617] 12:00:57,301 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader426#-1876205138] 12:00:57,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,303 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 12:00:57,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior427#-2013206944] 12:00:57,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower428#-961031067] 12:00:57,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader429#725379597] 12:00:57,317 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 12:00:57,317 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,318 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 12:00:57,319 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]]} 12:00:57,319 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:57,319 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 12:00:57,320 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 12:00:57,320 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 12:00:57,320 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 12:00:57,320 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} 12:00:57,321 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:57,321 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 12:00:57,326 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 12:00:57,327 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior430#-858141673] 12:00:57,338 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower431#808358291] 12:00:57,338 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader432#1765898516] 12:00:57,344 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 12:00:57,344 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,347 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]]} 12:00:57,347 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:57,347 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 12:00:57,347 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:00:57,347 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 12:00:57,347 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 12:00:57,347 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} 12:00:57,348 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 12:00:57,348 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:00:57,348 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 12:00:57,348 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:00:57,348 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 12:00:57,348 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 12:00:57,352 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]]} 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 12:00:57,352 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 12:00:57,352 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} 12:00:57,353 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 12:00:57,353 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:00:57,353 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 12:00:57,353 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 12:00:57,353 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior433#1739932908] 12:00:57,364 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#-1592230935] 12:00:57,364 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader435#-1556521338] 12:00:57,366 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 12:00:57,366 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,367 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 12:00:57,367 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 12:00:57,367 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} 12:00:57,367 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 12:00:57,368 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior436#-754964328] 12:00:57,368 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower437#650364357] 12:00:57,368 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader438#-480176753] 12:00:57,370 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,372 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior439#531523411] 12:00:57,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower440#1750775050] 12:00:57,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader441#1405343569] 12:00:57,375 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 12:00:57,375 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:57,375 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 12:00:57,375 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 12:00:57,376 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]]} 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 12:00:57,376 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} 12:00:57,376 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:57,376 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 12:00:57,376 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 12:00:57,376 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 12:00:57,376 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 12:00:57,377 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior442#-2051891383] 12:00:57,377 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower443#-1862133202] 12:00:57,377 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader444#-1490502740] 12:00:57,386 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/02/2025 00:00:57.388] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@7a21aeb0 [INFO] [pekkoDeadLetter][07/02/2025 00:00:57.388] [test-pekko.actor.default-dispatcher-8] [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'. 12:00:57,388 AM [test-pekko.actor.default-dispatcher-8] [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'. 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 12:00:57,389 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 12:00:57,390 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 12:00:57,390 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 12:00:57,392 AM [test-pekko.actor.default-dispatcher-8] [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 12:00:57,396 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 12:00:57,396 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 12:00:57,396 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@79753fce 12:00:57,396 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 12:00:57,396 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 12:00:57,397 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 12:00:57,397 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 311.2 μs with journalIndex=1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [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]]} 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [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} 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 12:00:57,399 AM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two [WARN] [07/02/2025 00:00:57.399] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 00:00:57.400] [test-pekko.actor.default-dispatcher-7] [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'. 12:00:57,400 AM [test-pekko.actor.default-dispatcher-7] [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'. 12:00:57,402 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 3 commands after 11.89 ms 12:00:57,429 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 12:00:57,429 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 3 completion(s) pending 12:00:57,429 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 3 commands in 27.89 ms 12:00:57,430 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 12:00:57,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 3 completion(s) 12:00:57,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 12:00:57,430 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 12:00:57,503 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:57,503 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,503 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,503 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:57,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:57,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:57,704 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:57,704 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,704 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:57,708 AM [test-pekko.actor.default-dispatcher-8] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 12:00:57,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:57,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:57,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:57,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:57,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:57,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,410 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,511 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,612 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,712 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:58,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:58,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:58,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:58,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:59,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:59,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:59,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:59,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:59,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:59,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:59,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:59,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:59,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:59,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:59,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:59,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:59,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 12:00:59,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 12:00:59,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest9653970498902899190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 12:00:59,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 12:00:59,421 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior445#1678032300] 12:00:59,432 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower446#-563181078] 12:00:59,432 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader447#-812283485] 12:00:59,432 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 12:00:59,432 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#844,testCaptureSnapshotOnLastEntryInAppendEntries-writer-153]/waiting 12:00:59,433 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.003 s 12:00:59,433 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 23.53 μs 12:00:59,433 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 12:00:59,433 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 12:00:59,433 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 12:00:59,433 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 12:00:59,433 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 12:00:59,437 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,438 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior448#1239285991] 12:00:59,439 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower449#606532267] 12:00:59,439 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader450#-1838813760] 12:00:59,442 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 12:00:59,442 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,443 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 12:00:59,444 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 12:00:59,449 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior451#-1683946260] 12:00:59,449 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower452#-1554768004] 12:00:59,449 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader453#-115468064] 12:00:59,451 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 12:00:59,451 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,451 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 12:00:59,451 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]]} 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 12:00:59,452 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} 12:00:59,452 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:59,452 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 12:00:59,452 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 12:00:59,453 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior454#-838146838] 12:00:59,453 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower455#478902823] 12:00:59,453 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader456#-338685904] 12:00:59,455 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 12:00:59,455 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,455 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 12:00:59,456 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]]} 12:00:59,456 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 12:00:59,456 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} 12:00:59,456 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:59,456 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 12:00:59,457 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]]} 12:00:59,457 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 12:00:59,457 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} 12:00:59,457 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 12:00:59,458 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior457#1987627723] 12:00:59,458 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower458#1407872359] 12:00:59,458 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader459#-1497655681] 12:00:59,459 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior460#-1985349486] 12:00:59,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower461#-892646080] 12:00:59,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader462#1826886679] 12:00:59,461 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 12:00:59,461 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,461 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 12:00:59,462 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]]} 12:00:59,462 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 12:00:59,462 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} 12:00:59,462 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:59,462 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 12:00:59,462 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]]} 12:00:59,462 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 12:00:59,463 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} 12:00:59,463 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 12:00:59,463 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]]} 12:00:59,463 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 12:00:59,463 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} 12:00:59,464 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 12:00:59,464 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior463#1430474034] 12:00:59,464 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower464#2086225753] 12:00:59,464 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader465#-832748461] 12:00:59,466 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 12:00:59,466 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,466 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]]} 12:00:59,466 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:59,466 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:00:59,466 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 12:00:59,466 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 12:00:59,466 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 12:00:59,467 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} 12:00:59,467 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 12:00:59,467 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 12:00:59,467 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 12:00:59,467 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior466#1054695904] 12:00:59,468 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower467#-2082414280] 12:00:59,468 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader468#-341697982] 12:00:59,469 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 12:00:59,469 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,470 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 12:00:59,470 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader471 12:00:59,470 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader471 12:00:59,471 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 12:00:59,472 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior469#-1871515467] 12:00:59,472 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower470#-2111769195] 12:00:59,472 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader471#-151334753] 12:00:59,473 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 12:00:59,473 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,474 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 12:00:59,474 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]]} 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 12:00:59,474 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} 12:00:59,474 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:59,474 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 12:00:59,474 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 12:00:59,475 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior472#1680926697] 12:00:59,475 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower473#1811177816] 12:00:59,475 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader474#-1221215210] 12:00:59,476 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 12:00:59,476 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:00:59,477 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 12:00:59,477 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]]} 12:00:59,477 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 12:00:59,477 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} 12:00:59,477 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:00:59,478 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior475#1108689666] 12:00:59,478 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower476#-1195407950] 12:00:59,478 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader477#-1004971521] 12:00:59,479 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/02/2025 00:00:59.480] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@5dc61d9b [INFO] [pekkoDeadLetter][07/02/2025 00:00:59.480] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 12:00:59,480 AM [test-pekko.actor.default-dispatcher-5] [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'. 12:00:59,480 AM [test-pekko.actor.default-dispatcher-8] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 12:00:59,480 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 12:00:59,480 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 12:00:59,481 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 12:00:59,481 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 12:00:59,481 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 12:00:59,481 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 12:00:59,481 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 12:00:59,483 AM [test-pekko.actor.default-dispatcher-8] [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 12:00:59,508 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 12:00:59,508 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 12:00:59,508 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@5da3a95b 12:00:59,508 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 12:00:59,509 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 12:00:59,509 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 12:00:59,509 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 461.8 μs with journalIndex=1 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [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]]} 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 12:00:59,510 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 28.62 ms 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [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} 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 12:00:59,510 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one [WARN] [07/02/2025 00:00:59.511] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 00:00:59.511] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 12:00:59,511 AM [test-pekko.actor.default-dispatcher-6] [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'. 12:00:59,527 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 12:00:59,527 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 12:00:59,527 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 16.46 ms 12:00:59,527 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 12:00:59,527 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 commands after 6.420 μs 12:00:59,543 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 12:00:59,543 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 3 completion(s) pending 12:00:59,543 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 3 completion(s) 12:00:59,543 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 12:00:59,543 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 3 commands in 16.29 ms 12:00:59,543 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 12:00:59,543 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 12:00:59,613 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:00:59,613 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:00:59,613 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:00:59,613 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:00:59,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:00:59,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:00:59,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:00:59,713 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:00:59,798 AM [test-pekko.actor.default-dispatcher-8] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 12:00:59,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:00:59,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:00:59,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:00:59,813 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:00:59,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:00:59,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:00:59,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:00:59,914 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,14 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,15 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,115 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,216 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,317 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,417 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,418 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,418 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,418 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,518 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,518 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,518 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,518 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,619 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,619 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,619 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,619 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,720 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,720 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,720 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,720 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,820 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,820 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,820 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,820 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:00,921 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:00,921 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:00,921 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:00,921 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,22 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:01,22 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:01,22 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:01,22 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,123 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:01,123 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:01,123 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:01,123 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,224 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:01,224 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:01,224 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:01,224 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,324 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:01,324 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:01,324 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:01,324 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,425 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 12:01:01,425 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 12:01:01,425 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest17223861290400733755/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 12:01:01,425 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 12:01:01,527 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior478#1521668500] 12:01:01,538 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower479#-226434368] 12:01:01,538 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader480#-2022976109] 12:01:01,538 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 12:01:01,538 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#847,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154]/waiting 12:01:01,539 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 1.996 s 12:01:01,539 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 15.92 μs 12:01:01,539 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 12:01:01,539 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 12:01:01,539 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 12:01:01,539 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 12:01:01,539 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 12:01:01,543 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 12:01:01,544 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,544 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 12:01:01,545 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]]} 12:01:01,545 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 12:01:01,546 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} 12:01:01,546 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 12:01:01,546 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior481#-1351616140] 12:01:01,557 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower482#1053377703] 12:01:01,557 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader483#-159407047] 12:01:01,560 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 12:01:01,560 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,561 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 12:01:01,562 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 12:01:01,562 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 12:01:01,562 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 12:01:01,562 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 12:01:01,563 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior484#-2072257134] 12:01:01,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower485#593481480] 12:01:01,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader486#-187084401] 12:01:01,576 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 12:01:01,576 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,576 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 12:01:01,577 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]]} 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 12:01:01,577 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:01:01,577 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 12:01:01,577 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 12:01:01,577 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} 12:01:01,578 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 12:01:01,578 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 12:01:01,578 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 12:01:01,578 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:01:01,578 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 12:01:01,578 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 12:01:01,578 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 12:01:01,578 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 12:01:01,578 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 12:01:01,578 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 12:01:01,579 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior487#921388117] 12:01:01,590 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower488#1372143198] 12:01:01,590 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader489#-2032262326] 12:01:01,592 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 12:01:01,592 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,592 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 12:01:01,592 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 12:01:01,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior490#-715668329] 12:01:01,604 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower491#316383197] 12:01:01,604 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader492#-1062814346] 12:01:01,606 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 12:01:01,606 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,606 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 12:01:01,607 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 12:01:01,607 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:01:01,607 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 12:01:01,608 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 12:01:01,608 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]]} 12:01:01,608 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 12:01:01,608 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:01:01,609 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:01:01,609 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 12:01:01,609 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 12:01:01,609 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 12:01:01,609 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} 12:01:01,609 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 12:01:01,609 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:01:01,609 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 12:01:01,609 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 12:01:01,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior493#-1366040978] 12:01:01,621 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower494#163445652] 12:01:01,621 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader495#536920940] 12:01:01,623 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 12:01:01,623 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,623 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 12:01:01,624 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]]} 12:01:01,624 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 12:01:01,625 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} 12:01:01,625 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 12:01:01,625 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 12:01:01,626 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]]} 12:01:01,626 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 12:01:01,627 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} 12:01:01,627 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 12:01:01,627 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 12:01:01,627 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]]} 12:01:01,627 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 12:01:01,628 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} 12:01:01,628 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 12:01:01,628 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior496#884804747] 12:01:01,639 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower497#-1751532205] 12:01:01,639 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader498#-1446835201] 12:01:01,641 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 12:01:01,641 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,841 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:01:01,842 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.171.227:17355, Removed) 12:01:01,842 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 12:01:01,842 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 12:01:01,842 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 12:01:01,842 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:01:01,842 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior499#2037609218] 12:01:01,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower500#-1331766406] 12:01:01,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader501#1692224088] 12:01:01,848 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:01,848 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 12:01:02,50 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:01:02,50 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior502#-1325093208] 12:01:02,51 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower503#1056380436] 12:01:02,51 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader504#976282252] 12:01:02,54 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 12:01:02,54 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:02,56 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 12:01:02,57 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 12:01:02,57 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior505#-1038874602] 12:01:02,58 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower506#1098675174] 12:01:02,58 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader507#1671145119] 12:01:02,60 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 12:01:02,60 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:02,60 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]]} 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 12:01:02,61 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} 12:01:02,61 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 12:01:02,61 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 12:01:02,61 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 12:01:02,62 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:01:02,62 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 12:01:02,62 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 12:01:02,62 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 12:01:02,62 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 12:01:02,62 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 12:01:02,62 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 12:01:02,62 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 12:01:02,62 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 12:01:02,63 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior508#1763047019] 12:01:02,63 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower509#751613828] 12:01:02,63 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader510#-1273457020] 12:01:02,65 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 12:01:02,65 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:02,66 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 12:01:02,66 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 12:01:02,66 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:01:02,66 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 12:01:02,67 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]]} 12:01:02,67 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} 12:01:02,67 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior511#46163507] 12:01:02,68 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower512#1139396340] 12:01:02,68 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader513#786024739] 12:01:02,69 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 12:01:02,69 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:02,69 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 12:01:02,70 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]]} 12:01:02,70 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 12:01:02,70 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 12:01:02,70 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 12:01:02,70 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior514#-400363030] 12:01:02,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower515#-148214911] 12:01:02,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader516#424806991] 12:01:02,72 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 12:01:02,73 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'. [WARN] [07/02/2025 00:01:02.073] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@30df9732 [INFO] [pekkoDeadLetter][07/02/2025 00:01:02.073] [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'. 12:01:02,73 AM [test-pekko.actor.default-dispatcher-8] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 12:01:02,73 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 12:01:02,73 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 12:01:02,74 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 12:01:02,74 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 12:01:02,74 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 12:01:02,74 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 12:01:02,74 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 12:01:02,76 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:01:02,81 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 12:01:02,81 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 12:01:02,81 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@6c3357bf 12:01:02,81 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 400.2 μs with journalIndex=1 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 12:01:02,82 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 8.075 ms 12:01:02,82 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 12:01:02,83 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/02/2025 00:01:02.083] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 00:01:02.083] [test-pekko.actor.default-dispatcher-6] [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'. 12:01:02,83 AM [test-pekko.actor.default-dispatcher-8] [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'. 12:01:02,86 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 12:01:02,86 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 3.274 ms 12:01:02,86 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 7.000 μs 12:01:02,86 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 12:01:02,86 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 12:01:02,88 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 12:01:02,88 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 12:01:02,88 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 1.977 ms 12:01:02,88 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 12:01:02,88 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 12:01:02,88 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 12:01:02,88 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 12:01:02,235 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,235 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,235 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,235 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,336 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,336 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,336 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,336 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,388 AM [test-pekko.actor.default-dispatcher-8] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 12:01:02,437 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,437 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,437 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,437 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,538 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,538 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,538 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,639 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,639 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,639 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,639 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,840 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:02,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:02,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:02,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:02,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,543 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,543 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,543 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,543 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,744 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,744 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:03,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:03,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:03,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:03,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:04,46 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 12:01:04,46 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 12:01:04,46 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6087685412891678885/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 12:01:04,46 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 12:01:04,148 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior517#1179909481] 12:01:04,158 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower518#-841380756] 12:01:04,158 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader519#-2056949228] 12:01:04,159 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 12:01:04,159 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#849,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155]/waiting 12:01:04,159 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.071 s 12:01:04,159 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 11.35 μs 12:01:04,159 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 12:01:04,159 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 12:01:04,159 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 12:01:04,159 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 12:01:04,159 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 12:01:04,162 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 12:01:04,162 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:04,462 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 12:01:04,593 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:01:04,593 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 12:01:04,844 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 12:01:05,44 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 12:01:05,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior520#47526812] 12:01:05,56 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower521#1724068820] 12:01:05,56 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader522#-1623809696] 12:01:05,60 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,60 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:01:05,61 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 12:01:05,61 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 12:01:05,61 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 12:01:05,61 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:01:05,61 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior523#-533821969] 12:01:05,72 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower524#1765346524] 12:01:05,72 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader525#-938283081] 12:01:05,74 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,76 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 12:01:05,76 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 12:01:05,77 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior526#1853745377] 12:01:05,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower527#2015204660] 12:01:05,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader528#-1422820117] 12:01:05,92 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,93 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]]} 12:01:05,94 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 12:01:05,94 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 12:01:05,94 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 12:01:05,94 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 12:01:05,94 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 12:01:05,94 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} 12:01:05,95 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 12:01:05,95 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 12:01:05,95 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 12:01:05,95 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:01:05,95 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 12:01:05,95 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior529#-741643414] 12:01:05,107 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower530#1621412253] 12:01:05,107 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader531#-485811341] 12:01:05,110 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,111 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 12:01:05,112 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 12:01:05,112 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior532#1251612662] 12:01:05,122 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower533#-1753849877] 12:01:05,123 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader534#-1080171873] 12:01:05,125 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,126 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 12:01:05,128 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 12:01:05,129 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} 12:01:05,129 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 12:01:05,130 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 12:01:05,132 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:01:05,132 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 12:01:05,132 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. 12:01:05,132 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 12:01:05,133 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 12:01:05,133 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 12:01:05,135 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 12:01:05,135 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior535#416728831] 12:01:05,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower536#-1358266670] 12:01:05,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader537#-534221081] 12:01:05,138 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,138 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:01:05,138 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 12:01:05,138 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,138 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 12:01:05,139 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 12:01:05,139 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 12:01:05,139 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 12:01:05,139 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 12:01:05,139 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior538#2065075552] 12:01:05,139 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower539#594274941] 12:01:05,139 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader540#116621788] 12:01:05,141 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,142 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 12:01:05,142 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior541#1096758481] 12:01:05,142 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower542#1890418263] 12:01:05,143 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader543#-100339296] 12:01:05,144 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 12:01:05,145 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 12:01:05,145 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 12:01:05,145 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior544#764062427] 12:01:05,145 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower545#756881976] 12:01:05,146 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader546#-542793732] [INFO] [07/02/2025 00:01:05.146] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:01:05,146 AM [test-pekko.actor.default-dispatcher-8] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:01:05,147 AM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1308472228] 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'. [WARN] [07/02/2025 00:01:05.147] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.227:17355) [INFO] [pekkoDeadLetter][07/02/2025 00:01:05.147] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1308472228] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [07/02/2025 00:01:05.148] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Exiting completed [INFO] [07/02/2025 00:01:05.148] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Shutting down... 12:01:05,148 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Exiting completed 12:01:05,148 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Shutting down... [INFO] [07/02/2025 00:01:05.148] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Successfully shut down 12:01:05,148 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Successfully shut down 12:01:05,149 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [07/02/2025 00:01:05.149] [test-pekko.remote.default-remote-dispatcher-11] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/02/2025 00:01:05.149] [test-pekko.remote.default-remote-dispatcher-11] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 12:01:05,149 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/02/2025 00:01:05.153] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Remoting shut down. 12:01:05,153 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.