Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 WARNING: A Java agent has been loaded dynamically (/tmp/r/net/bytebuddy/byte-buddy-agent/1.15.3/byte-buddy-agent-1.15.3.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 [DEBUG] [11/03/2025 14:11:52.565] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:11:52,571 PM [test-pekko.actor.default-dispatcher-7] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/03/2025 14:11:52.574] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/03/2025 14:11:52.575] [main] [EventStream(pekko://test)] Default Loggers started 02:11:53,139 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.251:17355] with UID [-9207671022043825683] [INFO] [11/03/2025 14:11:53.136] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.251:17355] with UID [-9207671022043825683] [INFO] [11/03/2025 14:11:53.162] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Starting up, Pekko version [1.0.3] ... 02:11:53,162 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/03/2025 14:11:53.268] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/03/2025 14:11:53.268] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Started up successfully 02:11:53,269 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:11:53,269 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Started up successfully [INFO] [11/03/2025 14:11:53.298] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:11:53,299 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/03/2025 14:11:53.306] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:11:53,306 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:11:54,604 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=1, lastIndex=9, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,614 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,614 PM [main] [DEBUG] SnapshotManagerTest - trimLog should not be called in state Creating 02:11:54,638 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-1#-2044666354] 02:11:54,691 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,692 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,694 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,703 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,704 PM [main] [INFO] SnapshotManagerTest - 123: Replicated Log rolled back. Snapshot will be attempted in the next cycle.snapshotIndex:0, snapshotTerm:0, log-size:0 02:11:54,705 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Idle 02:11:54,706 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-2#-1681632596] 02:11:54,771 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=9, replicatedToAllTerm=6, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,771 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,772 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,774 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 45 and term: 6 02:11:54,776 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-3#2088418747] 02:11:54,785 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Idle 02:11:54,785 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-4#-1548443844] 02:11:54,794 PM [main] [DEBUG] SnapshotManagerTest - 123: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex 0 and lastAppliedTerm 0 instead. 02:11:54,794 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=0, lastAppliedTerm=0, lastIndex=0, lastTerm=0, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,794 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,795 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-5#-1020356769] 02:11:54,806 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=0, lastAppliedTerm=1, lastIndex=0, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower-1 02:11:54,806 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,806 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-6#-1680113438] 02:11:54,814 PM [main] [DEBUG] SnapshotManagerTest - persist should not be called in state Idle 02:11:54,815 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-7#1230300207] 02:11:54,823 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=1, lastIndex=9, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,823 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,826 PM [main] [DEBUG] SnapshotManagerTest - capture should not be called in state Creating 02:11:54,826 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-8#-896688820] 02:11:54,834 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-9#70757630] 02:11:54,841 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,841 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,842 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,842 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:11:54,843 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,843 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-10#1025018895] 02:11:54,851 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=8, lastAppliedTerm=2, lastIndex=9, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:11:54,851 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,852 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=3, lastAppliedIndex=8, lastAppliedTerm=2, unAppliedEntries size=1, state=ByteState [bytes=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,853 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 7 and term: 1 02:11:54,853 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-11#1215654987] 02:11:54,865 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=1, lastIndex=9, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,865 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,866 PM [main] [ERROR] SnapshotManagerTest - Error creating snapshot java.lang.RuntimeException: mock at org.opendaylight.controller.cluster.raft.SnapshotManager$Idle.capture(SnapshotManager.java:313) at org.opendaylight.controller.cluster.raft.SnapshotManager$Idle.capture(SnapshotManager.java:325) at org.opendaylight.controller.cluster.raft.SnapshotManager.capture(SnapshotManager.java:88) at org.opendaylight.controller.cluster.raft.SnapshotManagerTest.testCaptureWithCreateProcedureError(SnapshotManagerTest.java:215) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:42) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 02:11:54,867 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-12#-1984447108] 02:11:54,877 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-13#2136230687] 02:11:54,883 PM [main] [DEBUG] SnapshotManagerTest - 123: fakeSnapshot purging log to 10 for term 5 02:11:54,884 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-14#-394488729] 02:11:54,892 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-15#282157189] 02:11:54,898 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,898 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,898 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Creating 02:11:54,899 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-16#-1284934120] 02:11:54,905 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=1, lastIndex=9, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,905 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,906 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-17#1819182367] 02:11:54,912 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,912 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 50 02:11:54,912 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,913 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,913 PM [main] [DEBUG] SnapshotManagerTest - 123: Snapshot success - sequence number: 100 02:11:54,915 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Idle 02:11:54,915 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-18#-169894782] 02:11:54,921 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,922 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,922 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,923 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,923 PM [main] [INFO] SnapshotManagerTest - 123: Replicated Log rolled back. Snapshot will be attempted in the next cycle.snapshotIndex:0, snapshotTerm:0, log-size:0 02:11:54,924 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-19#1007840830] 02:11:54,929 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,930 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,930 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,930 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:11:54,931 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,931 PM [main] [DEBUG] SnapshotManagerTest - persist should not be called in state Persisting 02:11:54,931 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-20#973940288] 02:11:54,939 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower-1 02:11:54,939 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,940 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,940 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:11:54,940 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,957 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-21#1247842032] 02:11:54,963 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Idle 02:11:54,964 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-22#770071479] 02:11:54,969 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=1, lastIndex=9, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,969 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,969 PM [main] [DEBUG] SnapshotManagerTest - trimLog should not be called in state Creating 02:11:54,970 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-23#-1173027798] 02:11:54,976 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,976 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,976 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Creating 02:11:54,976 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-24#-2083225112] 02:11:54,982 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,982 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 50 02:11:54,982 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,983 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:11:54,983 PM [main] [DEBUG] SnapshotManagerTest - 123: Snapshot success - sequence number: 100 02:11:54,984 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-25#299008854] 02:11:54,990 PM [main] [INFO] SnapshotManagerTest - 123: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=9, lastAppliedTerm=6, lastIndex=9, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=1, replicatedToAllTerm=6, unAppliedEntries size=0, mandatoryTrim=false] 02:11:54,990 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:11:54,990 PM [main] [INFO] SnapshotManagerTest - 123: Persisting of snapshot done: Snapshot [lastIndex=9, lastTerm=6, lastAppliedIndex=9, lastAppliedTerm=6, unAppliedEntries size=0, state=ByteState [bytes=[]], electionTerm=5, electionVotedFor=member5, ServerConfigPayload=null] 02:11:54,990 PM [main] [DEBUG] SnapshotManagerTest - 123: log size 10 exceeds the snapshot batch count 10 - doing snapshotPreCommit with index 9 02:11:54,991 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 5 02:11:54,991 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-26#-2039357503] 02:11:54,997 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-27#290154188] 02:11:55,2 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-28#524732557] 02:11:55,6 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [11/03/2025 14:11:55.006] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/03/2025 14:11:55.033] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.251:17355) [INFO] [pekkoDeadLetter][11/03/2025 14:11:55.038] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#226645625] was unhandled. [1] 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'. 02:11:55,42 PM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#226645625] was unhandled. [1] 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] [11/03/2025 14:11:55.045] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Exiting completed 02:11:55,45 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Exiting completed [INFO] [11/03/2025 14:11:55.046] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Shutting down... [INFO] [11/03/2025 14:11:55.047] [test-pekko.actor.internal-dispatcher-5] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.251:17355] - Successfully shut down 02:11:55,47 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Shutting down... 02:11:55,48 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.251:17355] - Successfully shut down [INFO] [11/03/2025 14:11:55.097] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.251:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/03/2025 14:11:55.098] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.251:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:11:55,99 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 02:11:55,99 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/03/2025 14:11:55.151] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.170.251:17355/system/remoting-terminator] Remoting shut down. 02:11:55,152 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/03/2025 14:11:55.152] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger