[DEBUG] [06/30/2025 09:49:47.154] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:49:47,155 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [06/30/2025 09:49:47.155] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [06/30/2025 09:49:47.155] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [06/30/2025 09:49:47.166] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.12:17355] with UID [6575430507591243966] 09:49:47,167 AM [test-pekko.actor.default-dispatcher-9] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.12:17355] with UID [6575430507591243966] [INFO] [06/30/2025 09:49:47.167] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Starting up, Pekko version [1.0.3] ... 09:49:47,167 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [06/30/2025 09:49:47.170] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:49:47,170 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [06/30/2025 09:49:47.170] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Started up successfully 09:49:47,170 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Started up successfully [INFO] [06/30/2025 09:49:47.170] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [06/30/2025 09:49:47.170] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:49:47,171 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:49:47,171 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:49:47,187 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 09:49:47,187 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,282 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:49:47,282 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:49:47,282 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:49:47,283 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:49:47,283 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:49:47,283 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 09:49:47,283 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:49:47,283 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:49:47,286 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 09:49:47,286 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#1207563623] 09:49:47,297 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower419#-1321601336] 09:49:47,297 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader420#694184040] 09:49:47,300 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 09:49:47,300 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,302 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:49:47,303 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:49:47,303 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:49:47,303 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:49:47,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior421#-1725740743] 09:49:47,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower422#466469501] 09:49:47,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader423#96547042] 09:49:47,318 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 09:49:47,318 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,319 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:49:47,319 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:49:47,319 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:49:47,319 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:49:47,320 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:49:47,320 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:49:47,320 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:49:47,321 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:49:47,322 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:49:47,322 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:49:47,323 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:49:47,323 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:49:47,323 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 09:49:47,324 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior424#-678636046] 09:49:47,334 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower425#1876347594] 09:49:47,335 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader426#-1878560324] 09:49:47,337 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,338 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:49:47,339 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior427#-467530122] 09:49:47,350 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower428#-77848667] 09:49:47,350 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader429#-1833375283] 09:49:47,352 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:49:47,352 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,353 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:49:47,354 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:49:47,354 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:47,354 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:49:47,355 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:49:47,355 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:49:47,355 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:49:47,355 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:49:47,355 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:47,355 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:49:47,357 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:49:47,358 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior430#-1771938433] 09:49:47,369 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower431#1765628631] 09:49:47,369 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader432#-2110528896] 09:49:47,371 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 09:49:47,372 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,373 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:49:47,373 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:47,373 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:49:47,373 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:49:47,373 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:49:47,374 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 09:49:47,374 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:49:47,374 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:49:47,374 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:49:47,374 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:49:47,374 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:47,375 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:49:47,375 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:49:47,376 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:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 09:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:49:47,376 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:49:47,376 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:49:47,377 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 09:49:47,377 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:49:47,377 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:49:47,377 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:49:47,377 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior433#-1733506870] 09:49:47,388 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#1707043281] 09:49:47,388 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader435#505333448] 09:49:47,391 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 09:49:47,391 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,392 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:49:47,393 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:49:47,394 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:49:47,394 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 09:49:47,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior436#264948484] 09:49:47,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower437#433244043] 09:49:47,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader438#-476200652] 09:49:47,407 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,411 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior439#129219404] 09:49:47,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower440#1479177522] 09:49:47,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader441#-790670614] 09:49:47,424 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 09:49:47,424 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:47,424 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:49:47,425 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:49:47,425 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:49:47,425 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:47,426 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:49:47,426 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:49:47,426 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:49:47,426 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:49:47,426 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:49:47,426 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:47,426 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 09:49:47,426 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 09:49:47,426 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 09:49:47,426 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 09:49:47,427 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior442#255729676] 09:49:47,437 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower443#-1033051815] 09:49:47,437 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader444#-1078643487] 09:49:47,440 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [06/30/2025 09:49:47.443] [test-pekko.actor.default-dispatcher-9] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@41683231 [INFO] [pekkoDeadLetter][06/30/2025 09:49:47.443] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:49:47,443 AM [test-pekko.actor.default-dispatcher-9] [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:49:47,445 AM [test-pekko.actor.default-dispatcher-8] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 09:49:47,445 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:49:47,445 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:49:47,445 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:49:47,446 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:49:47,446 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 09:49:47,446 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 09:49:47,446 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:49:47,447 AM [test-pekko.actor.default-dispatcher-9] [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:49:47,451 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:49:47,451 AM [test-pekko.actor.default-dispatcher-9] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:49:47,451 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@35dde080 09:49:47,451 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 09:49:47,451 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 388.1 μs with journalIndex=1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [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:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [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:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 09:49:47,452 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 deferred callback(s) 09:49:47,453 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 3 commands after 6.768 ms 09:49:47,458 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 09:49:47,458 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 3 commands in 5.720 ms 09:49:47,458 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:49:47,458 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 09:49:47,458 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:49:47,458 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@5b42c890 09:49:47,458 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:49:47,458 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@6bd30019 [WARN] [06/30/2025 09:49:47.459] [test-pekko.actor.default-dispatcher-9] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/30/2025 09:49:47.459] [test-pekko.actor.default-dispatcher-9] [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:49:47,459 AM [test-pekko.actor.default-dispatcher-9] [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:49:47,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:47,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:47,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:47,604 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:47,699 AM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:49:47,704 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:47,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:47,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:47,705 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:47,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:47,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:47,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:47,805 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:47,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:47,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:47,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:47,906 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,6 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,6 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,6 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,6 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,107 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,207 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,207 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,207 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,207 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,308 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,408 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,509 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,509 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,509 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,509 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,609 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,609 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,609 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,609 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,710 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,710 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,710 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,710 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,811 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,811 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,811 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,811 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:48,912 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:48,912 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:48,912 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:48,912 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,12 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:49,12 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:49,12 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:49,12 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,113 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:49,113 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:49,113 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:49,113 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:49,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:49,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:49,214 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,314 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:49,314 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:49,314 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:49,315 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:49:49,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:49:49,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest480352969772707031/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:49:49,415 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:49:49,516 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior445#-142451973] 09:49:49,518 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower446#729364480] 09:49:49,518 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader447#-448499940] 09:49:49,520 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 09:49:49,520 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#832,testCaptureSnapshotOnLastEntryInAppendEntries-writer-157]/waiting 09:49:49,520 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.062 s 09:49:49,520 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 35.85 μs 09:49:49,520 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 09:49:49,521 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:49:49,521 AM [test-pekko.actor.default-dispatcher-9] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:49:49,521 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:49:49,521 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:49:49,525 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,529 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior448#685122341] 09:49:49,540 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower449#1708545159] 09:49:49,540 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader450#-856904358] 09:49:49,543 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 09:49:49,543 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,545 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:49:49,545 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:49:49,546 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior451#125138877] 09:49:49,547 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower452#595550354] 09:49:49,547 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader453#-721918997] 09:49:49,548 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 09:49:49,548 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,549 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:49:49,549 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:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:49:49,549 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:49:49,549 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:49,549 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:49:49,550 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:49:49,550 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior454#166694391] 09:49:49,550 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower455#-1093983471] 09:49:49,550 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader456#874502484] 09:49:49,552 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 09:49:49,552 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,552 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:49:49,552 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:49:49,552 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:49:49,553 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:49:49,553 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:49,553 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 09:49:49,553 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:49:49,553 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:49:49,554 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:49:49,554 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:49:49,554 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior457#-208449989] 09:49:49,554 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower458#141558344] 09:49:49,555 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader459#-797211327] 09:49:49,556 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,556 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior460#116712708] 09:49:49,556 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower461#225847947] 09:49:49,556 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader462#1356869777] 09:49:49,557 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 09:49:49,558 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,558 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:49:49,558 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:49:49,558 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:49:49,559 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:49:49,559 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:49,559 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:49:49,559 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:49:49,559 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:49:49,560 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:49:49,560 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:49:49,560 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:49:49,560 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:49:49,560 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:49:49,561 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:49:49,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior463#-1121423670] 09:49:49,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower464#1889427207] 09:49:49,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader465#-1495977040] 09:49:49,563 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 09:49:49,563 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,563 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:49:49,563 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:49,563 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 09:49:49,563 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:49:49,563 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:49:49,564 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:49:49,564 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:49:49,564 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:49:49,564 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:49:49,564 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 09:49:49,564 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior466#2014428189] 09:49:49,565 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower467#1592783723] 09:49:49,565 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader468#1910991097] 09:49:49,566 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 09:49:49,566 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,567 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:49:49,568 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader471 09:49:49,568 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader471 09:49:49,569 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 09:49:49,569 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior469#-1868949115] 09:49:49,570 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower470#242279050] 09:49:49,570 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader471#1351797152] 09:49:49,571 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 09:49:49,571 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,571 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:49:49,572 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:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:49:49,572 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:49:49,572 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:49,572 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:49:49,572 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:49:49,572 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior472#-1899981639] 09:49:49,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower473#-610674564] 09:49:49,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader474#-311692035] 09:49:49,574 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:49:49,574 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:49,574 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:49:49,575 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:49:49,575 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:49:49,575 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:49:49,575 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:49,575 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior475#-961501948] 09:49:49,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower476#-1874903855] 09:49:49,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader477#-1479423617] 09:49:49,577 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 09:49:49,578 AM [test-pekko.actor.default-dispatcher-9] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 09:49:49,578 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:49:49,578 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor [WARN] [06/30/2025 09:49:49.578] [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@48b910cc 09:49:49,578 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 09:49:49,579 AM [test-pekko.actor.default-dispatcher-14] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][06/30/2025 09:49:49.578] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:49:49,579 AM [test-pekko.actor.default-dispatcher-9] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:49:49,579 AM [test-pekko.actor.default-dispatcher-9] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 09:49:49,579 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 09:49:49,579 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:49:49,580 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:49:49,584 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:49:49,584 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 09:49:49,584 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@20e0c374 09:49:49,584 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 266.1 μs with journalIndex=1 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 09:49:49,585 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 6.139 ms 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 09:49:49,585 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 deferred callback(s) 09:49:49,591 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:49:49,591 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.591 ms 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@3a82abf1 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:49:49,591 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 5.791 μs 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@79b18a91 09:49:49,591 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 1 deferred callback(s) 09:49:49,593 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 09:49:49,593 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 09:49:49,593 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:49:49,593 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 1.774 ms 09:49:49,593 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@44398a16 09:49:49,593 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands [WARN] [06/30/2025 09:49:49.593] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] 09:49:49,593 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][06/30/2025 09:49:49.593] [test-pekko.actor.default-dispatcher-8] [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:49:49,737 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:49,737 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:49,737 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:49,737 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:49,837 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:49,837 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:49,837 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:49,837 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:49,889 AM [test-pekko.actor.default-dispatcher-8] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:49:49,938 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:49,938 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:49,938 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:49,939 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,41 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,142 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,243 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,243 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,243 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,243 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,343 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,444 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,545 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,645 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,645 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,646 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,746 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,746 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,746 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,746 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,847 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:50,947 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:50,947 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:50,947 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:50,947 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,48 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,48 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,48 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,48 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,149 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,149 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,149 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,149 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,249 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,249 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,249 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,249 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,350 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,350 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,350 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,350 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,451 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,451 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,451 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,451 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,551 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:49:51,551 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:49:51,551 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest16536604508084662439/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:49:51,551 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:49:51,652 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior478#-361033831] 09:49:51,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower479#-670261267] 09:49:51,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader480#-1024047944] 09:49:51,664 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 09:49:51,664 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#835,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158]/waiting 09:49:51,664 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.072 s 09:49:51,665 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 40.02 μs 09:49:51,665 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-158] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 09:49:51,665 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:49:51,665 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:49:51,665 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:49:51,665 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:49:51,668 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 09:49:51,668 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,669 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:49:51,670 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:49:51,670 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:49:51,670 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:49:51,670 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 09:49:51,671 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior481#330830624] 09:49:51,681 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower482#-701255696] 09:49:51,681 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader483#634031843] 09:49:51,684 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 09:49:51,684 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,684 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:49:51,685 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 09:49:51,685 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 09:49:51,685 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 09:49:51,685 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 09:49:51,685 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior484#571141566] 09:49:51,696 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower485#977900536] 09:49:51,696 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader486#54369100] 09:49:51,698 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 09:49:51,698 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,698 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:49:51,699 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:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:49:51,699 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:49:51,699 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 09:49:51,699 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:49:51,699 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:49:51,699 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 09:49:51,700 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:49:51,700 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:51,700 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:49:51,700 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:49:51,700 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:49:51,700 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:49:51,700 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:49:51,700 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:49:51,700 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior487#2071644140] 09:49:51,711 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower488#1313393338] 09:49:51,711 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader489#-770958308] 09:49:51,713 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 09:49:51,713 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,714 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:49:51,714 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 09:49:51,715 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior490#9405509] 09:49:51,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower491#1274084735] 09:49:51,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader492#1581338080] 09:49:51,727 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 09:49:51,727 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,728 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:49:51,728 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:49:51,728 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:49:51,728 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:49:51,729 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:49:51,730 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:49:51,730 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:49:51,730 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:51,731 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:49:51,731 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 09:49:51,731 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:49:51,731 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:49:51,731 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:49:51,731 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 09:49:51,731 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:49:51,731 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:49:51,731 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:49:51,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior493#1264304443] 09:49:51,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower494#547303869] 09:49:51,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader495#-1729121317] 09:49:51,745 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 09:49:51,745 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,745 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:49:51,745 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:49:51,746 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:49:51,746 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:49:51,746 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:49:51,746 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:49:51,747 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:49:51,747 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:49:51,747 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:49:51,747 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:49:51,747 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:49:51,748 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:49:51,748 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:49:51,748 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:49:51,748 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:49:51,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior496#-1363200976] 09:49:51,759 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower497#1611768532] 09:49:51,759 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader498#-1907096202] 09:49:51,761 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 09:49:51,761 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,962 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:49:51,962 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.12:17355, Removed) 09:49:51,962 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 09:49:51,962 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:49:51,962 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:49:51,962 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:49:51,962 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior499#776709589] 09:49:51,973 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower500#-244888798] 09:49:51,973 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader501#-59420951] 09:49:51,976 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:51,976 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 09:49:52,227 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:49:52,227 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior502#-1830666291] 09:49:52,238 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower503#1510312079] 09:49:52,239 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader504#-947622917] 09:49:52,241 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 09:49:52,242 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:52,244 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:49:52,244 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 09:49:52,245 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior505#-1491316918] 09:49:52,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower506#1493192943] 09:49:52,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader507#722165700] 09:49:52,257 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 09:49:52,257 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:52,259 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:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 09:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 09:49:52,259 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:49:52,259 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:49:52,260 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 09:49:52,260 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:49:52,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:49:52,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:52,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:49:52,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:49:52,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:49:52,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:49:52,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:49:52,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:49:52,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 09:49:52,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 09:49:52,261 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior508#-415465859] 09:49:52,272 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower509#-489905424] 09:49:52,272 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader510#1091687904] 09:49:52,274 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 09:49:52,274 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:52,274 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:49:52,275 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:49:52,275 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:49:52,275 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:49:52,275 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:49:52,276 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:49:52,276 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior511#899521922] 09:49:52,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower512#1758948476] 09:49:52,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader513#-2125802510] 09:49:52,290 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 09:49:52,290 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:52,291 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:49:52,291 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:49:52,292 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:49:52,292 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:49:52,292 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:49:52,293 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior514#1477705600] 09:49:52,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower515#-2124246114] 09:49:52,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader516#-1198656010] 09:49:52,305 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries [WARN] [06/30/2025 09:49:52.305] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@7615a94c [INFO] [pekkoDeadLetter][06/30/2025 09:49:52.305] [test-pekko.actor.default-dispatcher-9] [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:49:52,306 AM [test-pekko.actor.default-dispatcher-8] [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:49:52,306 AM [test-pekko.actor.default-dispatcher-14] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 09:49:52,306 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:49:52,306 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:49:52,306 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:49:52,307 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:49:52,307 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 09:49:52,307 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 09:49:52,307 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:49:52,308 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 09:49:52,308 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,308 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,308 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,308 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:49:52,309 AM [test-pekko.actor.default-dispatcher-8] [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:49:52,313 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:49:52,313 AM [test-pekko.actor.default-dispatcher-8] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:49:52,313 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@324b2ef2 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 236.4 μs with journalIndex=1 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [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:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [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:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 09:49:52,314 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 7.366 ms 09:49:52,314 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 09:49:52,315 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 deferred callback(s) 09:49:52,321 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 09:49:52,321 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 6.703 ms 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:49:52,321 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 5.820 μs 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@7fbfbc1 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@5d1433c8 09:49:52,321 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 1 deferred callback(s) 09:49:52,322 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 09:49:52,322 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 09:49:52,322 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 1.192 ms 09:49:52,322 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:49:52,323 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:49:52,323 AM [test-pekko.actor.default-dispatcher-8] [DEBUG] EntryStoreCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed deferred callback org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda/0x00000007c0882d58@d6a32a4 [WARN] [06/30/2025 09:49:52.323] [test-pekko.actor.default-dispatcher-9] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/30/2025 09:49:52.323] [test-pekko.actor.default-dispatcher-8] [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:49:52,323 AM [test-pekko.actor.default-dispatcher-8] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:49:52,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,466 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,567 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,578 AM [test-pekko.actor.default-dispatcher-8] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:49:52,667 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,667 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,667 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,667 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,768 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,868 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,868 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,868 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,868 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:52,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:52,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:52,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:52,969 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,70 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,170 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,271 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,371 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,371 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,371 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,371 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,472 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,472 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,472 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,472 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,572 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,573 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,573 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,573 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,673 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,673 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,673 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,673 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,774 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,774 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,774 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,774 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,874 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,874 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,874 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,874 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:53,975 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:53,975 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:53,975 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:53,975 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:54,75 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:54,75 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:54,75 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:54,75 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:54,176 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:54,176 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:54,176 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:54,176 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:54,276 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:49:54,276 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:49:54,276 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest6700009026061806936/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:49:54,276 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:49:54,378 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior517#1062581388] 09:49:54,389 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower518#-2007067875] 09:49:54,389 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader519#842211007] 09:49:54,389 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 09:49:54,389 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#837,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159]/waiting 09:49:54,389 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.067 s 09:49:54,389 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 23.00 μs 09:49:54,389 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-159] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 09:49:54,389 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:49:54,389 AM [test-pekko.actor.default-dispatcher-14] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:49:54,389 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:49:54,389 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:49:54,392 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 09:49:54,392 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:54,693 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:49:54,823 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:49:54,823 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 09:49:55,73 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 09:49:55,273 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 09:49:55,273 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior520#-318181645] 09:49:55,275 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower521#757194756] 09:49:55,275 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader522#-689779034] 09:49:55,278 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,278 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:49:55,278 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 09:49:55,278 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:49:55,278 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:49:55,279 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:49:55,279 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior523#-1717218170] 09:49:55,280 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower524#842745494] 09:49:55,280 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader525#-1307580589] 09:49:55,282 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,284 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:49:55,284 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:49:55,284 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior526#99647048] 09:49:55,285 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower527#1129724020] 09:49:55,285 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader528#1212282759] 09:49:55,287 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,288 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:49:55,288 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:49:55,288 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 09:49:55,288 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 09:49:55,288 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:49:55,288 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 09:49:55,289 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:49:55,289 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 09:49:55,289 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 09:49:55,289 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:49:55,289 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:55,289 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 09:49:55,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior529#-407098802] 09:49:55,290 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower530#-1776467462] 09:49:55,290 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader531#1251074611] 09:49:55,293 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,294 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:49:55,294 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:49:55,294 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior532#-1146231911] 09:49:55,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower533#1262647622] 09:49:55,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader534#-540041293] 09:49:55,296 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,297 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:49:55,297 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:49:55,297 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:49:55,297 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 09:49:55,298 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:49:55,299 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 09:49:55,299 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 09:49:55,299 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:49:55,299 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:49:55,300 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:49:55,300 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:49:55,300 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:49:55,301 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior535#1700930548] 09:49:55,301 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower536#763846556] 09:49:55,301 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader537#916557623] 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,303 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:49:55,303 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:49:55,303 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:49:55,303 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:49:55,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior538#85094096] 09:49:55,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower539#-892563387] 09:49:55,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader540#-1568102146] 09:49:55,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,307 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 09:49:55,307 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior541#1477042961] 09:49:55,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower542#-241519513] 09:49:55,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader543#284911858] 09:49:55,310 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:49:55,311 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:49:55,311 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:49:55,311 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior544#-75410280] 09:49:55,322 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower545#757332328] 09:49:55,322 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader546#-249132742] [INFO] [06/30/2025 09:49:55.323] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:49:55,323 AM [test-pekko.actor.default-dispatcher-8] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [06/30/2025 09:49:55.323] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.12:17355) [INFO] [pekkoDeadLetter][06/30/2025 09:49:55.324] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1350261913] 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:49:55,324 AM [test-pekko.actor.default-dispatcher-8] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1350261913] 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:49:55,327 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Exiting completed [INFO] [06/30/2025 09:49:55.324] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Exiting completed 09:49:55,327 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Shutting down... 09:49:55,327 AM [test-pekko.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.12:17355] - Successfully shut down [INFO] [06/30/2025 09:49:55.324] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Shutting down... [INFO] [06/30/2025 09:49:55.325] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.12:17355] - Successfully shut down [INFO] [06/30/2025 09:49:55.327] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.12:17355/system/remoting-terminator] Shutting down remote daemon. 09:49:55,327 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [06/30/2025 09:49:55.327] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.12:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:49:55,327 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 09:49:55,330 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [06/30/2025 09:49:55.329] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.12:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [06/30/2025 09:49:55.330] [test-pekko.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger