[DEBUG] [07/02/2025 09:52:17.343] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:52:17,343 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/02/2025 09:52:17.344] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/02/2025 09:52:17.344] [main] [EventStream(pekko://test)] Default Loggers started 09:52:17,361 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.5:17355] with UID [-7438127699079509273] 09:52:17,361 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Starting up, Pekko version [1.0.3] ... 09:52:17,361 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:52:17,361 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Started up successfully [INFO] [07/02/2025 09:52:17.357] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.5:17355] with UID [-7438127699079509273] [INFO] [07/02/2025 09:52:17.357] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/02/2025 09:52:17.361] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/02/2025 09:52:17.361] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Started up successfully [INFO] [07/02/2025 09:52:17.362] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/02/2025 09:52:17.362] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:52:17,362 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:52:17,362 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:52:17,372 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 09:52:17,373 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,463 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:52:17,464 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:52:17,464 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:52:17,465 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:52:17,465 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:52:17,465 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 09:52:17,466 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:52:17,466 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:52:17,468 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 09:52:17,468 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#-1847600869] 09:52:17,479 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower420#-616891994] 09:52:17,480 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#1123643095] 09:52:17,482 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 09:52:17,482 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,484 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:52:17,484 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 09:52:17,485 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,485 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:52:17,486 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior422#229525557] 09:52:17,496 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower423#389290746] 09:52:17,496 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#248138597] 09:52:17,499 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 09:52:17,499 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,500 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:52:17,500 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:52:17,500 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:52:17,501 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:52:17,501 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:52:17,501 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:52:17,501 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:52:17,502 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:52:17,506 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:17,507 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:17,507 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:52:17,507 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,507 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 09:52:17,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior425#-512147880] 09:52:17,508 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower426#428847525] 09:52:17,508 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#355375518] 09:52:17,511 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,512 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:52:17,513 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior428#1005147606] 09:52:17,514 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower429#-1339764918] 09:52:17,514 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#-1298957106] 09:52:17,516 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:52:17,516 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,520 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:52:17,521 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:52:17,522 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,525 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:17,525 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:52:17,527 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:52:17,528 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior431#1750446602] 09:52:17,538 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower432#431895667] 09:52:17,538 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader433#-420137930] 09:52:17,542 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 09:52:17,542 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,543 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 09:52:17,543 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:17,543 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:52:17,543 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:52:17,543 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:52:17,544 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 09:52:17,544 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,544 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:52:17,544 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:52:17,544 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:52:17,544 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:17,545 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:52:17,545 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 09:52:17,546 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:52:17,547 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:52:17,547 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,547 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 09:52:17,547 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:52:17,547 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:52:17,547 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:52:17,548 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior434#-387957379] 09:52:17,559 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower435#-594061872] 09:52:17,559 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#241242904] 09:52:17,562 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 09:52:17,562 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,563 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:52:17,564 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:52:17,564 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,565 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 09:52:17,565 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior437#-410117025] 09:52:17,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower438#-523887793] 09:52:17,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#2145715829] 09:52:17,579 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,583 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior440#2015411826] 09:52:17,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower441#-1077108742] 09:52:17,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#1265859702] 09:52:17,597 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 09:52:17,597 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:17,597 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:52:17,598 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:52:17,599 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:52:17,600 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,600 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:17,600 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 09:52:17,600 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 09:52:17,600 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 09:52:17,601 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 09:52:17,601 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior443#70905909] 09:52:17,612 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower444#2004440355] 09:52:17,612 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#1009193572] 09:52:17,614 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/02/2025 09:52:17.618] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@e241691 [INFO] [pekkoDeadLetter][07/02/2025 09:52:17.618] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:17,618 AM [test-pekko.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:17,620 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 09:52:17,621 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:52:17,621 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:52:17,621 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:52:17,622 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:52:17,622 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 09:52:17,622 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 09:52:17,622 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:52:17,624 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@75e33d92 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 09:52:17,628 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:52:17,629 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 398.4 μs with journalIndex=1 09:52:17,630 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 09:52:17,630 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 09:52:17,630 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:52:17,630 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 09:52:17,630 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 09:52:17,631 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 8.299 ms 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two [WARN] [07/02/2025 09:52:17.631] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 09:52:17.631] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:17,631 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:17,634 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 09:52:17,634 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 3.763 ms 09:52:17,634 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 3.250 μs 09:52:17,634 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 09:52:17,635 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:52:17,636 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 09:52:17,636 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 09:52:17,636 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 1.853 ms 09:52:17,636 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:52:17,636 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 09:52:17,636 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:52:17,783 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:17,783 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:17,783 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:17,783 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:17,857 AM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:52:17,883 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:17,883 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:17,883 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:17,883 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:17,984 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:17,984 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:17,984 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:17,984 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,85 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,185 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,185 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,185 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,185 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,286 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,286 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,286 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,286 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,386 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,387 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,387 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,387 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,487 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,487 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,487 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,487 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,588 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,588 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,588 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,588 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,689 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,689 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,689 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,689 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,789 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,789 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,789 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,789 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,890 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,890 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,890 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,890 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:18,990 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:18,990 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:18,990 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:18,991 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,91 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,91 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,91 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,91 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,192 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,192 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,192 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,192 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,293 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,293 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,293 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,293 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,393 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,394 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,394 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,394 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,494 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,494 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,494 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,494 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,595 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:52:19,595 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:52:19,595 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest14426508056828454856/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:52:19,595 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:52:19,700 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior446#-1058247983] 09:52:19,702 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower447#-1708671850] 09:52:19,702 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#293849298] 09:52:19,702 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 09:52:19,702 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#840,testCaptureSnapshotOnLastEntryInAppendEntries-writer-156]/waiting 09:52:19,703 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.066 s 09:52:19,703 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 45.12 μs 09:52:19,703 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 09:52:19,703 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:52:19,703 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:52:19,703 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:52:19,703 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:52:19,707 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,707 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior449#54847657] 09:52:19,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower450#-1545222753] 09:52:19,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#-380368209] 09:52:19,710 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 09:52:19,710 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,711 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 09:52:19,711 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:52:19,712 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior452#-304763545] 09:52:19,713 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower453#1192321656] 09:52:19,713 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#-1261848419] 09:52:19,714 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 09:52:19,714 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,715 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:52:19,715 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,715 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:19,716 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:52:19,716 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:52:19,716 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior455#640205978] 09:52:19,716 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower456#-460287895] 09:52:19,717 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader457#-194258859] 09:52:19,718 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 09:52:19,718 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,718 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:19,719 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,719 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:52:19,719 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,719 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:19,719 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 09:52:19,719 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,720 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:52:19,720 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,720 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:52:19,720 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior458#626315405] 09:52:19,720 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower459#-550762345] 09:52:19,721 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader460#1788316346] 09:52:19,722 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior461#1502384769] 09:52:19,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower462#-524755800] 09:52:19,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader463#2129339998] 09:52:19,724 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 09:52:19,724 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,724 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:19,725 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,725 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:52:19,725 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,725 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:19,725 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:52:19,726 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,726 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:52:19,726 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,726 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:52:19,726 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,727 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:52:19,727 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,727 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:52:19,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior464#-426017787] 09:52:19,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower465#-362768876] 09:52:19,728 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader466#-518687868] 09:52:19,729 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 09:52:19,729 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,730 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:52:19,730 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:52:19,730 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 09:52:19,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior467#-755389118] 09:52:19,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower468#2048395375] 09:52:19,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader469#1464765743] 09:52:19,733 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 09:52:19,733 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,734 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:52:19,734 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader472 09:52:19,734 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader472 09:52:19,735 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 09:52:19,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior470#-1858037740] 09:52:19,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower471#1031268313] 09:52:19,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader472#78721283] 09:52:19,738 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 09:52:19,738 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,738 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:19,738 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,738 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,739 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:19,739 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:52:19,739 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:52:19,739 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior473#-1111323064] 09:52:19,740 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower474#1128424394] 09:52:19,740 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader475#1723899593] 09:52:19,741 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:52:19,741 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:19,742 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:19,742 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:19,742 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:52:19,742 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,742 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:19,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior476#-2023263245] 09:52:19,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower477#-1519125927] 09:52:19,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader478#-1302648354] 09:52:19,746 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/02/2025 09:52:19.747] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@c303ed2 [INFO] [pekkoDeadLetter][07/02/2025 09:52:19.747] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:19,747 AM [test-pekko.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:19,747 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 09:52:19,747 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:52:19,747 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:52:19,748 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 09:52:19,748 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:52:19,748 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 09:52:19,748 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 09:52:19,748 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:52:19,750 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@eda88ad 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:52:19,753 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 397.8 μs with journalIndex=1 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:19,754 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 5.720 ms 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 09:52:19,754 AM [test-pekko.actor.default-dispatcher-14] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one [WARN] [07/02/2025 09:52:19.754] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] 09:52:19,755 AM [test-pekko.actor.default-dispatcher-14] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][07/02/2025 09:52:19.754] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:19,760 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:52:19,760 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.992 ms 09:52:19,760 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 3.850 μs 09:52:19,760 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:52:19,760 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:52:19,760 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:52:19,761 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 09:52:19,761 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:52:19,761 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 928.3 μs 09:52:19,761 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:52:19,761 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:52:19,761 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:52:19,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:19,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:19,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:19,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:19,977 AM [test-pekko.actor.default-dispatcher-5] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:52:20,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,7 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,108 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,208 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,309 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,409 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,510 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,611 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,711 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,812 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:20,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:20,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:20,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:20,913 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,13 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,114 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,215 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,516 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,516 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,516 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,516 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,616 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,616 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,616 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,616 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:52:21,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:52:21,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest5661324705986749821/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:52:21,717 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:52:21,818 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior479#1454114261] 09:52:21,829 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower480#-458271798] 09:52:21,829 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader481#-138623562] 09:52:21,829 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 09:52:21,830 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#843,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157]/waiting 09:52:21,830 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.069 s 09:52:21,830 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 98.54 μs 09:52:21,830 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 09:52:21,831 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:52:21,831 AM [test-pekko.actor.default-dispatcher-5] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:52:21,831 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:52:21,831 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:52:21,834 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 09:52:21,834 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,835 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:21,836 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 09:52:21,836 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 09:52:21,837 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,837 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 09:52:21,837 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior482#-1499308171] 09:52:21,848 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower483#655692196] 09:52:21,848 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader484#-989567715] 09:52:21,850 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 09:52:21,850 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,851 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:52:21,852 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 09:52:21,852 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 09:52:21,852 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 09:52:21,853 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 09:52:21,853 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior485#1149458985] 09:52:21,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower486#1167620595] 09:52:21,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader487#-1289823246] 09:52:21,868 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 09:52:21,868 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,869 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:52:21,870 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:52:21,870 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 09:52:21,870 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 09:52:21,871 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,871 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:52:21,871 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 09:52:21,871 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:52:21,871 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:21,871 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:52:21,871 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:52:21,871 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:52:21,871 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:52:21,871 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:52:21,871 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:52:21,872 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior488#1947123951] 09:52:21,882 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower489#-935186439] 09:52:21,882 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader490#916503946] 09:52:21,885 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 09:52:21,885 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,886 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 09:52:21,886 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 09:52:21,887 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior491#1465024935] 09:52:21,897 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower492#-427980842] 09:52:21,897 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader493#1986032735] 09:52:21,899 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 09:52:21,899 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,900 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:52:21,900 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:52:21,900 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:52:21,900 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:52:21,901 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 09:52:21,902 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:52:21,903 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:52:21,903 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,903 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 09:52:21,903 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:52:21,904 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:52:21,904 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:52:21,904 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior494#-571801916] 09:52:21,915 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower495#-1104948300] 09:52:21,915 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader496#-1478268432] 09:52:21,917 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 09:52:21,918 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:21,918 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:52:21,919 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:21,919 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:52:21,919 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,920 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:52:21,920 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:52:21,920 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:21,920 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:52:21,921 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,921 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:52:21,921 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:52:21,921 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:52:21,921 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:52:21,922 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:21,922 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:52:21,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior497#-19330963] 09:52:21,923 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower498#1393753116] 09:52:21,923 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader499#276020088] 09:52:21,925 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 09:52:21,925 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,125 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:52:22,125 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.5:17355, Removed) 09:52:22,125 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 09:52:22,125 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:52:22,125 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:52:22,125 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:52:22,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior500#-507569790] 09:52:22,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower501#-1736047587] 09:52:22,137 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader502#244099863] 09:52:22,140 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,140 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 09:52:22,292 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:52:22,292 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior503#-1947294221] 09:52:22,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower504#373587406] 09:52:22,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader505#214645974] 09:52:22,306 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 09:52:22,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,308 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:52:22,309 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 09:52:22,310 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior506#2136330591] 09:52:22,321 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower507#-416459714] 09:52:22,321 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader508#-971545452] 09:52:22,324 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 09:52:22,324 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,326 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 09:52:22,326 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:52:22,326 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:22,327 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 09:52:22,327 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:52:22,328 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:52:22,328 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:22,328 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:52:22,328 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:52:22,328 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:52:22,328 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:52:22,328 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:52:22,328 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:52:22,328 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 09:52:22,328 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 09:52:22,329 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior509#-10362383] 09:52:22,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower510#1745899450] 09:52:22,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader511#-525842671] 09:52:22,343 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 09:52:22,343 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,344 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:52:22,344 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:52:22,344 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:52:22,345 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:52:22,346 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 09:52:22,347 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:22,347 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior512#-894262799] 09:52:22,358 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower513#1963218062] 09:52:22,358 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader514#-971199981] 09:52:22,360 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 09:52:22,360 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:22,361 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:52:22,361 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:52:22,362 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:52:22,362 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:52:22,362 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:52:22,363 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior515#207741950] 09:52:22,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower516#-506049470] 09:52:22,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader517#177629992] 09:52:22,375 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [07/02/2025 09:52:22.376] [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@73d9d4c8 [INFO] [pekkoDeadLetter][07/02/2025 09:52:22.376] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:22,377 AM [test-pekko.actor.default-dispatcher-14] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 09:52:22,377 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:22,377 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:52:22,377 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:52:22,377 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:52:22,378 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:52:22,378 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 09:52:22,378 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 09:52:22,378 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:52:22,380 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:52:22,384 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:52:22,384 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:52:22,384 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@18446bf4 09:52:22,384 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 09:52:22,384 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 435.3 μs with journalIndex=1 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 09:52:22,385 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:52:22,386 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 7.782 ms 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 09:52:22,386 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/02/2025 09:52:22.386] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/02/2025 09:52:22.387] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:22,387 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:22,390 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 09:52:22,390 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 4.597 ms 09:52:22,390 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 09:52:22,390 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 5.300 μs 09:52:22,390 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:52:22,393 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 09:52:22,393 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 09:52:22,393 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 2.692 ms 09:52:22,393 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:52:22,393 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 09:52:22,393 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:52:22,393 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:52:22,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:22,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,537 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:22,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:22,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,638 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:22,667 AM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:52:22,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:22,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,739 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:22,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:22,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,839 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:22,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:22,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:22,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:22,940 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,40 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,141 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,242 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,342 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,443 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,544 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,544 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,544 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,544 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,644 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,745 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,845 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:23,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:23,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:23,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:23,946 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:24,47 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:24,47 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:24,47 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:24,47 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:24,147 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:24,147 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:24,147 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:24,147 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:24,248 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:24,248 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:24,248 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:24,248 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:24,348 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:52:24,348 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:52:24,348 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12214170417619118221/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:52:24,349 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:52:24,450 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior518#222922776] 09:52:24,461 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower519#-1587598055] 09:52:24,461 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader520#-1126021954] 09:52:24,461 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 09:52:24,461 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#845,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158]/waiting 09:52:24,461 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.068 s 09:52:24,461 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 27.71 μs 09:52:24,461 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 09:52:24,461 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:52:24,461 AM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:52:24,461 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:52:24,461 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:52:24,464 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 09:52:24,465 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:24,765 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:52:24,895 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:52:24,895 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 09:52:25,146 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 09:52:25,346 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 09:52:25,346 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior521#-1060680253] 09:52:25,357 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower522#1244831795] 09:52:25,357 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader523#-646333282] 09:52:25,360 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,361 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:52:25,361 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 09:52:25,361 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:52:25,361 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:52:25,362 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:52:25,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior524#1285084183] 09:52:25,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower525#1952355878] 09:52:25,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader526#417115076] 09:52:25,375 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:52:25,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:52:25,379 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior527#90527515] 09:52:25,389 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower528#773428657] 09:52:25,390 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader529#-253204620] 09:52:25,392 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,393 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:52:25,393 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:25,394 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 09:52:25,394 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 09:52:25,395 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:52:25,395 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:25,395 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 09:52:25,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior530#-881404757] 09:52:25,406 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower531#877116165] 09:52:25,406 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader532#171330363] 09:52:25,408 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,410 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:52:25,411 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:52:25,412 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior533#-1723779126] 09:52:25,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower534#-147454482] 09:52:25,423 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader535#1467995942] 09:52:25,425 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,426 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:52:25,427 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 09:52:25,427 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:52:25,427 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 09:52:25,428 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 09:52:25,430 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 09:52:25,430 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 09:52:25,430 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 09:52:25,430 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 09:52:25,431 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:52:25,432 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:52:25,433 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:52:25,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior536#923678209] 09:52:25,444 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower537#119286958] 09:52:25,444 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader538#-737917026] 09:52:25,448 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,448 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:25,449 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:52:25,449 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,449 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 09:52:25,449 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:52:25,449 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:52:25,450 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:52:25,450 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:52:25,450 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior539#-2019296639] 09:52:25,451 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower540#-1346336746] 09:52:25,451 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader541#-1877790643] 09:52:25,454 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,455 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 09:52:25,455 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior542#235937464] 09:52:25,456 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower543#1054128872] 09:52:25,456 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader544#-919774206] 09:52:25,457 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:52:25,458 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:52:25,458 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:52:25,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior545#-911479233] 09:52:25,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower546#1237522192] 09:52:25,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader547#-1885373620] [INFO] [07/02/2025 09:52:25.460] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:52:25,460 AM [test-pekko.actor.default-dispatcher-14] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/02/2025 09:52:25.461] [test-pekko.actor.default-dispatcher-14] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.5:17355) [INFO] [pekkoDeadLetter][07/02/2025 09:52:25.461] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#30788279] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:25,461 AM [test-pekko.actor.default-dispatcher-14] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#30788279] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:52:25,461 AM [test-pekko.actor.default-dispatcher-14] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Exiting completed [INFO] [07/02/2025 09:52:25.461] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Exiting completed [INFO] [07/02/2025 09:52:25.461] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Shutting down... 09:52:25,461 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Shutting down... [INFO] [07/02/2025 09:52:25.461] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.5:17355] - Successfully shut down 09:52:25,462 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.5:17355] - Successfully shut down [INFO] [07/02/2025 09:52:25.463] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.5:17355/system/remoting-terminator] Shutting down remote daemon. 09:52:25,463 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [07/02/2025 09:52:25.463] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.5:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:52:25,463 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/02/2025 09:52:25.465] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.5:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [07/02/2025 09:52:25.465] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger 09:52:25,465 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.