[DEBUG] [07/01/2025 15:51:54.529] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 03:51:54,530 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/01/2025 15:51:54.530] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/01/2025 15:51:54.530] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/01/2025 15:51:54.543] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.252:17355] with UID [1480750615833782155] [INFO] [07/01/2025 15:51:54.544] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/01/2025 15:51:54.545] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/01/2025 15:51:54.545] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Started up successfully [INFO] [07/01/2025 15:51:54.546] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/01/2025 15:51:54.546] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 03:51:54,547 PM [test-pekko.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.252:17355] with UID [1480750615833782155] 03:51:54,547 PM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Starting up, Pekko version [1.0.3] ... 03:51:54,547 PM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 03:51:54,547 PM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Started up successfully 03:51:54,547 PM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 03:51:54,547 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 03:51:54,569 PM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 03:51:54,569 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,654 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 03:51:54,654 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 03:51:54,654 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:51:54,655 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 03:51:54,656 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 03:51:54,656 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 03:51:54,656 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 03:51:54,657 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 03:51:54,660 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 03:51:54,661 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#-618503701] 03:51:54,672 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower420#1952679247] 03:51:54,672 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#-426559601] 03:51:54,674 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 03:51:54,675 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,677 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 03:51:54,677 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 03:51:54,678 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,678 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 03:51:54,679 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior422#-585131442] 03:51:54,689 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower423#-202306677] 03:51:54,689 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#1042208414] 03:51:54,692 PM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 03:51:54,692 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,693 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 03:51:54,693 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 03:51:54,693 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:51:54,693 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 03:51:54,694 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 03:51:54,694 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 03:51:54,694 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 03:51:54,695 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 03:51:54,696 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:54,697 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:54,697 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 03:51:54,697 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,697 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 03:51:54,697 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior425#-1997629248] 03:51:54,698 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower426#994505375] 03:51:54,698 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#-307505925] 03:51:54,699 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,700 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 03:51:54,700 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior428#-459163587] 03:51:54,701 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower429#1377403311] 03:51:54,701 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#1822518094] 03:51:54,702 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 03:51:54,702 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,702 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 03:51:54,703 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,704 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:54,704 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 03:51:54,704 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 03:51:54,705 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior431#-1420028690] 03:51:54,706 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower432#-1903575887] 03:51:54,706 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader433#-909645254] 03:51:54,707 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 03:51:54,707 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,708 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 03:51:54,708 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 03:51:54,708 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 03:51:54,708 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:51:54,709 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 03:51:54,709 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,709 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 03:51:54,709 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 03:51:54,710 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 03:51:54,710 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 03:51:54,710 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior434#1595274378] 03:51:54,710 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower435#-700540685] 03:51:54,710 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#-1275629535] 03:51:54,712 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 03:51:54,712 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,713 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 03:51:54,713 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 03:51:54,713 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,713 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 03:51:54,714 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior437#1297750127] 03:51:54,714 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower438#-641729649] 03:51:54,714 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#-1855645471] 03:51:54,715 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,717 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior440#-1055484916] 03:51:54,718 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower441#370205296] 03:51:54,718 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#1968346218] 03:51:54,719 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 03:51:54,719 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:54,719 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 03:51:54,720 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,720 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:54,720 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 03:51:54,721 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 03:51:54,721 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 03:51:54,721 PM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 03:51:54,721 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior443#-1743247447] 03:51:54,721 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower444#1569340171] 03:51:54,721 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#-1942415162] 03:51:54,723 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/01/2025 15:51:54.724] [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@257cd032 [INFO] [pekkoDeadLetter][07/01/2025 15:51:54.724] [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'. 03:51:54,725 PM [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'. 03:51:54,725 PM [test-pekko.actor.default-dispatcher-13] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 03:51:54,725 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 03:51:54,725 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 03:51:54,726 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 03:51:54,726 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 03:51:54,726 PM [test-pekko.actor.default-dispatcher-13] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 03:51:54,726 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 03:51:54,726 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 03:51:54,729 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 03:51:54,729 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:54,729 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:54,730 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:54,730 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 03:51:54,730 PM [test-pekko.actor.default-dispatcher-13] [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 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@1cf1e641 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 03:51:54,736 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 162.0 μs with journalIndex=1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:54,738 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 11.55 ms 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 03:51:54,738 PM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [07/01/2025 15:51:54.738] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 15:51:54.738] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 5.275 ms 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 3.340 μs 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 more completion(s) pending 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 78.91 μs 03:51:54,743 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 03:51:54,743 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 3 completion(s) 03:51:54,743 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 03:51:54,743 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 03:51:54,889 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:54,889 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:54,889 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:54,889 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:54,979 PM [test-pekko.actor.default-dispatcher-13] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 03:51:54,990 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:54,990 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:54,990 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:54,990 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,91 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,91 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,91 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,91 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,191 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,191 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,191 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,191 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,292 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,292 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,292 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,292 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,392 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,392 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,392 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,392 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,493 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,493 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,493 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,493 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,593 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,594 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,694 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,694 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,694 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,694 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,795 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,895 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,895 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,895 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,895 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:55,996 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:55,996 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:55,996 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:55,996 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,96 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,96 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,96 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,96 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,197 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,197 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,197 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,197 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,297 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,298 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,298 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,298 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,398 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,398 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,398 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,398 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,499 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,499 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,499 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,499 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,599 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,599 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,599 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,600 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,700 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 03:51:56,700 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 03:51:56,700 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest13281286802447085532/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 03:51:56,700 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 03:51:56,805 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior446#-1637272990] 03:51:56,816 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower447#-987734926] 03:51:56,816 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#-911409671] 03:51:56,816 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 03:51:56,816 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#839,testCaptureSnapshotOnLastEntryInAppendEntries-writer-156]/waiting 03:51:56,816 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.073 s 03:51:56,817 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 15.16 μs 03:51:56,817 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 03:51:56,817 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 03:51:56,817 PM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 03:51:56,817 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 03:51:56,817 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 03:51:56,820 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior449#1257817139] 03:51:56,832 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower450#384266674] 03:51:56,833 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#-10661498] 03:51:56,835 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 03:51:56,835 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,836 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 03:51:56,836 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 03:51:56,837 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior452#-2044917800] 03:51:56,847 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower453#-1094896377] 03:51:56,848 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#-20296100] 03:51:56,850 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 03:51:56,850 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,851 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:56,852 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,852 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:56,852 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 03:51:56,852 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 03:51:56,852 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 03:51:56,853 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 03:51:56,853 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,853 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:56,853 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 03:51:56,853 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 03:51:56,854 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior455#1618629374] 03:51:56,855 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower456#-2070893511] 03:51:56,857 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader457#2089903679] 03:51:56,858 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 03:51:56,858 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,859 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:56,859 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,860 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 03:51:56,860 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,860 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:56,860 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 03:51:56,860 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,860 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 03:51:56,861 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,861 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 03:51:56,861 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior458#1887231240] 03:51:56,873 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower459#-1932072822] 03:51:56,873 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader460#-740927715] 03:51:56,875 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,875 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior461#-707162601] 03:51:56,886 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower462#-99925736] 03:51:56,886 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader463#1820100009] 03:51:56,887 PM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 03:51:56,888 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,888 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:56,889 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,889 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 03:51:56,889 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,889 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:56,889 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 03:51:56,890 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,891 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 03:51:56,891 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,891 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 03:51:56,892 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,892 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 03:51:56,892 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,892 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 03:51:56,892 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior464#399528611] 03:51:56,903 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower465#317713469] 03:51:56,903 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader466#812982645] 03:51:56,905 PM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 03:51:56,905 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,906 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 03:51:56,906 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:56,906 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 03:51:56,906 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 03:51:56,906 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 03:51:56,907 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 03:51:56,907 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,907 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 03:51:56,907 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 03:51:56,907 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 03:51:56,908 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior467#1832276963] 03:51:56,918 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower468#-722416620] 03:51:56,918 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader469#-1262444085] 03:51:56,920 PM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 03:51:56,920 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,921 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 03:51:56,922 PM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader472 03:51:56,922 PM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader472 03:51:56,924 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 03:51:56,925 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior470#1309871290] 03:51:56,936 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower471#775599841] 03:51:56,936 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader472#-648518179] 03:51:56,940 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 03:51:56,940 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,940 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:56,941 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,941 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,942 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:56,942 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 03:51:56,942 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 03:51:56,943 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior473#-642392432] 03:51:56,954 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower474#-757703261] 03:51:56,954 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader475#2123389779] 03:51:56,957 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 03:51:56,957 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:56,957 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:56,958 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:56,958 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 03:51:56,959 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:56,959 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:56,959 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior476#1943536259] 03:51:56,960 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower477#812907529] 03:51:56,961 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader478#-1404079194] 03:51:56,965 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/01/2025 15:51:56.965] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@653b32e0 03:51:56,966 PM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/01/2025 15:51:56.966] [test-pekko.actor.default-dispatcher-8] [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'. 03:51:56,966 PM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 03:51:56,966 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 03:51:56,966 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 03:51:56,966 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 03:51:56,967 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 03:51:56,967 PM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 03:51:56,967 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 03:51:56,967 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 03:51:56,969 PM [test-pekko.actor.default-dispatcher-12] [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 03:51:56,972 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 03:51:56,972 PM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 03:51:56,972 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@5cbce734 03:51:56,972 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 03:51:56,972 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 576.9 μs with journalIndex=1 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [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]]} 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 03:51:56,973 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 03:51:56,973 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 6.632 ms 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [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} 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 03:51:56,974 PM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [07/01/2025 15:51:56.974] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 15:51:56.974] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 03:51:56,979 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 03:51:56,979 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 5.432 ms 03:51:56,979 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 commands after 5.210 μs 03:51:56,979 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 03:51:56,979 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 03:51:56,985 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 3 completion(s) pending 03:51:56,985 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 3 commands in 5.846 ms 03:51:56,985 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 03:51:56,985 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 3 completion(s) 03:51:56,985 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 03:51:56,985 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 03:51:57,125 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,125 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,125 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,125 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,226 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,226 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,226 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,226 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,229 PM [test-pekko.actor.default-dispatcher-5] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 03:51:57,326 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,326 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,326 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,326 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,429 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,429 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,429 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,429 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,530 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,530 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,530 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,530 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,630 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,630 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,630 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,630 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,731 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,731 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,731 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,731 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,832 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,832 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,832 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,832 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:57,933 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:57,933 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:57,933 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:57,933 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,33 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,33 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,33 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,34 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,134 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,134 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,134 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,134 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,235 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,235 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,235 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,235 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,336 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,336 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,336 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,336 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,436 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,436 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,436 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,436 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,537 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,537 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,537 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,537 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,638 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,638 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,638 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,638 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,738 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,738 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,738 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,738 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,839 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,839 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,839 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,839 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:58,939 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 03:51:58,940 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 03:51:58,940 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5491686764616362480/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 03:51:58,940 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 03:51:59,41 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior479#-1360267223] 03:51:59,52 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower480#-1640909111] 03:51:59,52 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader481#619849985] 03:51:59,52 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 03:51:59,52 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#843,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157]/waiting 03:51:59,53 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.068 s 03:51:59,53 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 17.26 μs 03:51:59,53 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 03:51:59,53 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 03:51:59,53 PM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 03:51:59,53 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 03:51:59,53 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 03:51:59,55 PM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 03:51:59,56 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,56 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:59,56 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 03:51:59,57 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 03:51:59,57 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,57 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 03:51:59,57 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior482#1481797627] 03:51:59,58 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower483#-1103572796] 03:51:59,58 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader484#-1151531499] 03:51:59,59 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 03:51:59,59 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,59 PM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 03:51:59,60 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 03:51:59,60 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 03:51:59,60 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 03:51:59,60 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 03:51:59,60 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior485#-1053218391] 03:51:59,61 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower486#133137827] 03:51:59,61 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader487#1028455879] 03:51:59,62 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 03:51:59,62 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,62 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 03:51:59,63 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:51:59,63 PM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,63 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 03:51:59,63 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 03:51:59,63 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 03:51:59,63 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:51:59,63 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 03:51:59,63 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 03:51:59,63 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 03:51:59,63 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 03:51:59,63 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 03:51:59,63 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 03:51:59,64 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior488#1961664085] 03:51:59,64 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower489#-1006062553] 03:51:59,64 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader490#-134837574] 03:51:59,65 PM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 03:51:59,65 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,65 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 03:51:59,66 PM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 03:51:59,66 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior491#965534118] 03:51:59,66 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower492#2028848711] 03:51:59,66 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader493#-1027952092] 03:51:59,67 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 03:51:59,67 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,68 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 03:51:59,68 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 03:51:59,68 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:51:59,68 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 03:51:59,68 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,69 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 03:51:59,69 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 03:51:59,69 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 03:51:59,69 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 03:51:59,70 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior494#-782332657] 03:51:59,70 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower495#1193269371] 03:51:59,70 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader496#-844723050] 03:51:59,71 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 03:51:59,71 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,71 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 03:51:59,72 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:59,72 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 03:51:59,72 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,72 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 03:51:59,72 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 03:51:59,72 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:59,73 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 03:51:59,73 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,73 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 03:51:59,73 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 03:51:59,73 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 03:51:59,73 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 03:51:59,74 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,74 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 03:51:59,74 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior497#356420513] 03:51:59,74 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower498#-1588295133] 03:51:59,74 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader499#-13007614] 03:51:59,75 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 03:51:59,75 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,275 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:51:59,276 PM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.252:17355, Removed) 03:51:59,276 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 03:51:59,276 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 03:51:59,276 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 03:51:59,276 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:51:59,276 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior500#530459322] 03:51:59,277 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower501#-1877670957] 03:51:59,277 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader502#2026797215] 03:51:59,280 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,280 PM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 03:51:59,431 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:51:59,431 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior503#1075883051] 03:51:59,433 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower504#-907199780] 03:51:59,433 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader505#1532312202] 03:51:59,435 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 03:51:59,435 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,436 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 03:51:59,436 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 03:51:59,437 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior506#-335005629] 03:51:59,437 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower507#-403954883] 03:51:59,437 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader508#-756283310] 03:51:59,439 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 03:51:59,439 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,440 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 03:51:59,440 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 03:51:59,441 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 03:51:59,441 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:51:59,441 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 03:51:59,441 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 03:51:59,441 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 03:51:59,441 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 03:51:59,441 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 03:51:59,441 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 03:51:59,441 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 03:51:59,441 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 03:51:59,442 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior509#-921711048] 03:51:59,442 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower510#-2081758824] 03:51:59,442 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader511#1945227460] 03:51:59,444 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 03:51:59,444 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,444 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 03:51:59,444 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 03:51:59,444 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:51:59,444 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 03:51:59,445 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 03:51:59,445 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:51:59,445 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior512#-607035846] 03:51:59,446 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower513#-137632015] 03:51:59,446 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader514#-812690757] 03:51:59,447 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 03:51:59,447 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:51:59,447 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 03:51:59,447 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 03:51:59,447 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 03:51:59,447 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 03:51:59,448 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 03:51:59,448 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior515#361381225] 03:51:59,448 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower516#1389218551] 03:51:59,448 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader517#1398472849] 03:51:59,450 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 03:51:59,450 PM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 03:51:59,450 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 03:51:59,450 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 03:51:59,451 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 03:51:59,451 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 03:51:59,451 PM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 03:51:59,451 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 03:51:59,451 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands [WARN] [07/01/2025 15:51:59.451] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@2042b7b6 [INFO] [pekkoDeadLetter][07/01/2025 15:51:59.451] [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'. 03:51:59,451 PM [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'. 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 03:51:59,452 PM [test-pekko.actor.default-dispatcher-13] [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 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@50cadb93 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 03:51:59,455 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 238.5 μs with journalIndex=1 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [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]]} 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 03:51:59,456 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 4.641 ms 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [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} 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/01/2025 15:51:59.456] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] 03:51:59,456 PM [test-pekko.actor.default-dispatcher-5] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/01/2025 15:51:59.456] [test-pekko.actor.default-dispatcher-13] [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'. 03:51:59,460 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 03:51:59,460 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 3.779 ms 03:51:59,460 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 3.280 μs 03:51:59,460 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 03:51:59,460 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 03:51:59,463 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 03:51:59,463 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 3.200 ms 03:51:59,463 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 03:51:59,463 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 03:51:59,463 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 03:51:59,463 PM [test-pekko.actor.default-dispatcher-13] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 03:51:59,559 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:51:59,559 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,559 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,559 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:51:59,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:51:59,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,660 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:51:59,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:51:59,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,761 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:51:59,769 PM [test-pekko.actor.default-dispatcher-13] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 03:51:59,861 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:51:59,861 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,861 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,861 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:51:59,962 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:51:59,962 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:51:59,962 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:51:59,962 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,63 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,163 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,164 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,264 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,264 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,264 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,264 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,365 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,365 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,365 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,365 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,465 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,465 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,465 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,465 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,566 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,566 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,566 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,566 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,667 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,667 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,667 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,667 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,767 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,767 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,767 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,767 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,868 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,868 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,868 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,868 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:00,968 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:00,968 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:00,968 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:00,968 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:01,69 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:01,69 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:01,69 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:01,69 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:01,169 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:01,169 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:01,169 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:01,169 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:01,271 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:01,271 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:01,271 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:01,271 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:01,372 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 03:52:01,372 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 03:52:01,372 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest10572197556437215560/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 03:52:01,372 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 03:52:01,473 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior518#1471293794] 03:52:01,485 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower519#751091407] 03:52:01,485 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader520#2129649998] 03:52:01,485 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 03:52:01,485 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#845,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158]/waiting 03:52:01,485 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.023 s 03:52:01,486 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 18.05 μs 03:52:01,486 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 03:52:01,486 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 03:52:01,486 PM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 03:52:01,486 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 03:52:01,486 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 03:52:01,490 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 03:52:01,490 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:01,791 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 03:52:01,921 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:52:01,921 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 03:52:02,171 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 03:52:02,372 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 03:52:02,372 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior521#-1934356211] 03:52:02,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower522#-466905637] 03:52:02,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader523#970811483] 03:52:02,386 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,387 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:52:02,387 PM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 03:52:02,387 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 03:52:02,387 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 03:52:02,388 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:52:02,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior524#-1653994225] 03:52:02,398 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower525#1332865877] 03:52:02,399 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader526#-857614694] 03:52:02,402 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,403 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 03:52:02,404 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 03:52:02,404 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior527#1718434245] 03:52:02,415 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower528#717627273] 03:52:02,415 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader529#723698869] 03:52:02,418 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,418 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:52:02,419 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 03:52:02,419 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 03:52:02,419 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 03:52:02,419 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:52:02,419 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 03:52:02,420 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior530#421717943] 03:52:02,430 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower531#919128229] 03:52:02,430 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader532#-1545913111] 03:52:02,433 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,434 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 03:52:02,435 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 03:52:02,435 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior533#-701033839] 03:52:02,446 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower534#-96239935] 03:52:02,446 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader535#-1401076697] 03:52:02,449 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,450 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 03:52:02,451 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 03:52:02,452 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 03:52:02,452 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 03:52:02,453 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 03:52:02,455 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 03:52:02,455 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 03:52:02,455 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 03:52:02,455 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 03:52:02,456 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 03:52:02,456 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 03:52:02,457 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 03:52:02,457 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior536#637428412] 03:52:02,468 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower537#1775189564] 03:52:02,468 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader538#1757917416] 03:52:02,469 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,470 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:52:02,470 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 03:52:02,470 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,470 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 03:52:02,470 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 03:52:02,470 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 03:52:02,470 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 03:52:02,470 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 03:52:02,471 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior539#1809840668] 03:52:02,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower540#933750396] 03:52:02,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader541#864419723] 03:52:02,487 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,489 PM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 03:52:02,490 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior542#-87308644] 03:52:02,501 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower543#-280302726] 03:52:02,501 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader544#1754954631] 03:52:02,502 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:52:02,503 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 03:52:02,503 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 03:52:02,503 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior545#-1198153365] 03:52:02,514 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower546#-597273150] 03:52:02,514 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader547#-745354212] [INFO] [07/01/2025 15:52:02.515] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 03:52:02,515 PM [test-pekko.actor.default-dispatcher-13] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/01/2025 15:52:02.516] [test-pekko.actor.default-dispatcher-13] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.252:17355) [INFO] [pekkoDeadLetter][07/01/2025 15:52:02.516] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-2011323887] 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'. 03:52:02,516 PM [test-pekko.actor.default-dispatcher-13] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-2011323887] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [07/01/2025 15:52:02.517] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Exiting completed 03:52:02,517 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Exiting completed [INFO] [07/01/2025 15:52:02.517] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Shutting down... 03:52:02,517 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Shutting down... [INFO] [07/01/2025 15:52:02.518] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.252:17355] - Successfully shut down 03:52:02,518 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.252:17355] - Successfully shut down [INFO] [07/01/2025 15:52:02.520] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.252:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/01/2025 15:52:02.520] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.252:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 03:52:02,521 PM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 03:52:02,521 PM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/01/2025 15:52:02.523] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.252:17355/system/remoting-terminator] Remoting shut down. 03:52:02,523 PM [test-pekko.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [07/01/2025 15:52:02.524] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger