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:12:05.028] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:12:05,34 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/03/2025 14:12:05.038] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/03/2025 14:12:05.038] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/03/2025 14:12:05.580] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.80:17355] with UID [6583146210147010639] 02:12:05,582 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.80:17355] with UID [6583146210147010639] [INFO] [11/03/2025 14:12:05.604] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Starting up, Pekko version [1.0.3] ... 02:12:05,604 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/03/2025 14:12:05.706] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/03/2025 14:12:05.706] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Started up successfully 02:12:05,707 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:12:05,707 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Started up successfully [INFO] [11/03/2025 14:12:05.729] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:12:05,730 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80: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:12:05.730] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:12:05,732 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:12:07,27 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:12:07,36 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,36 PM [main] [DEBUG] SnapshotManagerTest - trimLog should not be called in state Creating 02:12:07,57 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-1#1619970289] 02:12:07,110 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:12:07,111 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,113 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:12:07,121 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,122 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:12:07,123 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Idle 02:12:07,124 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-2#-1358310902] 02:12:07,195 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:12:07,196 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,197 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:12:07,198 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 45 and term: 6 02:12:07,200 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-3#-1798282939] 02:12:07,223 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Idle 02:12:07,223 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-4#625345190] 02:12:07,248 PM [main] [DEBUG] SnapshotManagerTest - 123: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex 0 and lastAppliedTerm 0 instead. 02:12:07,248 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:12:07,248 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,249 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-5#-2076333063] 02:12:07,275 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:12:07,275 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,276 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-6#-798338758] 02:12:07,303 PM [main] [DEBUG] SnapshotManagerTest - persist should not be called in state Idle 02:12:07,306 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-7#-229106785] 02:12:07,327 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:12:07,327 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,329 PM [main] [DEBUG] SnapshotManagerTest - capture should not be called in state Creating 02:12:07,329 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-8#-1988943236] 02:12:07,343 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-9#-186589701] 02:12:07,354 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:12:07,354 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,355 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:12:07,355 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:12:07,356 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,356 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-10#1339092764] 02:12:07,372 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:12:07,374 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,375 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:12:07,378 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 7 and term: 1 02:12:07,378 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-11#711135902] 02:12:07,402 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:12:07,402 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,403 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:12:07,409 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-12#-157562354] 02:12:07,424 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-13#1244595201] 02:12:07,438 PM [main] [DEBUG] SnapshotManagerTest - 123: fakeSnapshot purging log to 10 for term 5 02:12:07,441 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-14#-1181486792] 02:12:07,451 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-15#-950271640] 02:12:07,461 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:12:07,461 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,461 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Creating 02:12:07,462 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-16#-1754795591] 02:12:07,478 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:12:07,478 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,478 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-17#-810789723] 02:12:07,490 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:12:07,490 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 50 02:12:07,493 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:12:07,494 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,494 PM [main] [DEBUG] SnapshotManagerTest - 123: Snapshot success - sequence number: 100 02:12:07,496 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Idle 02:12:07,497 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-18#1669952844] 02:12:07,506 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:12:07,507 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,507 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:12:07,508 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,508 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:12:07,509 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-19#-1886274444] 02:12:07,515 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:12:07,515 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,516 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:12:07,516 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:12:07,516 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,516 PM [main] [DEBUG] SnapshotManagerTest - persist should not be called in state Persisting 02:12:07,517 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-20#-905974542] 02:12:07,526 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:12:07,526 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,527 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:12:07,527 PM [main] [DEBUG] SnapshotManagerTest - 123: log data size 2147483647 exceeds the memory threshold 114504499 - doing snapshotPreCommit with index 9 02:12:07,528 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,544 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-21#-529329866] 02:12:07,550 PM [main] [DEBUG] SnapshotManagerTest - commit should not be called in state Idle 02:12:07,551 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-22#2071764312] 02:12:07,557 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:12:07,557 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,557 PM [main] [DEBUG] SnapshotManagerTest - trimLog should not be called in state Creating 02:12:07,557 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-23#-317718874] 02:12:07,563 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:12:07,564 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,564 PM [main] [DEBUG] SnapshotManagerTest - rollback should not be called in state Creating 02:12:07,564 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-24#-1227429362] 02:12:07,574 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:12:07,574 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 50 02:12:07,574 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:12:07,575 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 0 02:12:07,575 PM [main] [DEBUG] SnapshotManagerTest - 123: Snapshot success - sequence number: 100 02:12:07,576 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-25#-1303873412] 02:12:07,582 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:12:07,582 PM [main] [DEBUG] SnapshotManagerTest - 123: lastSequenceNumber prior to capture: 0 02:12:07,582 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:12:07,582 PM [main] [DEBUG] SnapshotManagerTest - 123: log size 10 exceeds the snapshot batch count 10 - doing snapshotPreCommit with index 9 02:12:07,583 PM [main] [INFO] SnapshotManagerTest - 123: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 5 02:12:07,583 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-26#742147315] 02:12:07,589 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-27#-1887677434] 02:12:07,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/test-28#-1221983257] [INFO] [11/03/2025 14:12:07.599] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:12:07,599 PM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/03/2025 14:12:07.629] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.80:17355) 02:12:07,635 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Exiting completed 02:12:07,635 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Shutting down... 02:12:07,636 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.80:17355] - Successfully shut down [INFO] [11/03/2025 14:12:07.632] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Exiting completed [INFO] [11/03/2025 14:12:07.633] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Shutting down... [INFO] [11/03/2025 14:12:07.634] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.80:17355] - Successfully shut down [INFO] [pekkoDeadLetter][11/03/2025 14:12:07.633] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1518998913] 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:12:07,638 PM [test-pekko.actor.default-dispatcher-5] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1518998913] 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:12:07.675] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.80:17355/system/remoting-terminator] Shutting down remote daemon. 02:12:07,676 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [11/03/2025 14:12:07.676] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.80:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:12:07,677 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 02:12:07,713 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [11/03/2025 14:12:07.713] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.80:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [11/03/2025 14:12:07.714] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger