10:07:28,109 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started 10:07:28,147 AM [main] [DEBUG] MessageSlicer - testHandledMessages_slicer-id-8: handleMessage: MessageSliceReply [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=8, messageId=14], sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-22#-1621212037]] 10:07:28,147 AM [main] [WARN] MessageSlicer - testHandledMessages_slicer-id-8: SlicedMessageState not found for MessageSliceReply [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=8, messageId=14], sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-22#-1621212037]] 10:07:28,148 AM [main] [DEBUG] MessageSlicer - testHandledMessages_slicer-id-8: handleMessage: MessageSliceReply [identifier=StringIdentifier{value=test}, sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-22#-1621212037]] 10:07:28,148 AM [main] [DEBUG] MessageSlicer - testHandledMessages_slicer-id-8: handleMessage: MessageSliceReply [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=9, messageId=15], sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-22#-1621212037]] 10:07:28,148 AM [main] [DEBUG] MessageSlicer - testHandledMessages_slicer-id-8: Closing 10:07:28,167 AM [main] [DEBUG] MessageSlicer - testCheckExpiredSlicedMessageState_slicer-id-9: slice: identifier: StringIdentifier{value=test}, message: BytesMessage [bytes=[1, 2]] 10:07:28,170 AM [main] [DEBUG] SlicedMessageState - testCheckExpiredSlicedMessageState_slicer-id-9: Message size: 10 bytes, total slices to send: 10 10:07:28,171 AM [main] [DEBUG] SlicedMessageState - testCheckExpiredSlicedMessageState_slicer-id-9: getNextSlice: total size: 10, offset: 0, size: 1, index: 1 10:07:28,171 AM [main] [DEBUG] MessageSlicer - testCheckExpiredSlicedMessageState_slicer-id-9: Sending first slice: MessageSlice [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=9, messageId=16], data.length=1, sliceIndex=1, totalSlices=10, lastSliceHashCode=-1, replyTo=Actor[akka://test/system/testProbe-23#789995033]] 10:07:28,423 AM [main] [WARN] MessageSlicer - testCheckExpiredSlicedMessageState_slicer-id-9: SlicedMessageState for MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=9, messageId=16] was expired from the cache 10:07:28,424 AM [main] [DEBUG] MessageSlicer - testCheckExpiredSlicedMessageState_slicer-id-9: Closing 10:07:28,444 AM [main] [DEBUG] MessageSlicer - testSliceWithByteSourceFailure_slicer-id-10: slice: identifier: StringIdentifier{value=test}, message: BytesMessage [bytes=[]] 10:07:28,446 AM [main] [ERROR] MessageSlicer - testSliceWithByteSourceFailure_slicer-id-10: Error initializing SlicedMessageState for StringIdentifier{value=test} java.io.IOException: mock IOException at org.opendaylight.controller.cluster.messaging.SlicedMessageState.(SlicedMessageState.java:78) at org.opendaylight.controller.cluster.messaging.MessageSlicer.initializeSlicing(MessageSlicer.java:132) at org.opendaylight.controller.cluster.messaging.MessageSlicer.slice(MessageSlicer.java:123) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.slice(MessageSlicerTest.java:195) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.testSliceWithByteSourceFailure(MessageSlicerTest.java:94) 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.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.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) 10:07:28,447 AM [main] [DEBUG] MessageSlicer - testSliceWithByteSourceFailure_slicer-id-10: Closing 10:07:28,464 AM [main] [DEBUG] MessageSlicer - testSliceWithFailedSerialization_slicer-id-11: slice: identifier: StringIdentifier{value=test}, message: BytesMessage [bytes=[]] 10:07:28,465 AM [main] [DEBUG] MessageSlicer - testSliceWithFailedSerialization_slicer-id-11: Error serializing message for StringIdentifier{value=test} java.io.IOException: mock IOException at org.opendaylight.controller.cluster.io.FileBackedOutputStream.write(FileBackedOutputStream.java:125) at java.base/java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1899) at java.base/java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1808) at java.base/java.io.ObjectOutputStream.(ObjectOutputStream.java:256) at org.opendaylight.controller.cluster.messaging.MessageSlicer.slice(MessageSlicer.java:111) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.slice(MessageSlicerTest.java:195) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.testSliceWithFailedSerialization(MessageSlicerTest.java:78) 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.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.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) 10:07:28,466 AM [main] [DEBUG] MessageSlicer - testSliceWithFailedSerialization_slicer-id-11: Closing 10:07:28,479 AM [main] [DEBUG] MessageSlicer - testSliceWithInputStreamFailure_slicer-id-12: slice: identifier: StringIdentifier{value=test}, message: BytesMessage [bytes=[]] 10:07:28,482 AM [main] [DEBUG] SlicedMessageState - testSliceWithInputStreamFailure_slicer-id-12: Message size: 10 bytes, total slices to send: 5 10:07:28,482 AM [main] [DEBUG] SlicedMessageState - testSliceWithInputStreamFailure_slicer-id-12: getNextSlice: total size: 10, offset: 0, size: 2, index: 1 10:07:28,483 AM [main] [ERROR] MessageSlicer - testSliceWithInputStreamFailure_slicer-id-12: Error initializing SlicedMessageState for StringIdentifier{value=test} java.io.IOException: The # of bytes read from the input stream, 0, does not match the expected # 2 at org.opendaylight.controller.cluster.messaging.SlicedMessageState.getNextSlice(SlicedMessageState.java:188) at org.opendaylight.controller.cluster.messaging.MessageSlicer.getNextSliceMessage(MessageSlicer.java:215) at org.opendaylight.controller.cluster.messaging.MessageSlicer.initializeSlicing(MessageSlicer.java:142) at org.opendaylight.controller.cluster.messaging.MessageSlicer.slice(MessageSlicer.java:123) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.slice(MessageSlicerTest.java:195) at org.opendaylight.controller.cluster.messaging.MessageSlicerTest.testSliceWithInputStreamFailure(MessageSlicerTest.java:108) 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.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.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) 10:07:28,485 AM [main] [DEBUG] MessageSlicer - testSliceWithInputStreamFailure_slicer-id-12: Closing 10:07:28,502 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-13: Message size: 10 bytes, total slices to send: 10 10:07:28,502 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-13: getNextSlice: total size: 10, offset: 0, size: 1, index: 1 10:07:28,503 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-13: Sending first slice: MessageSlice [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=13, messageId=19], data.length=1, sliceIndex=1, totalSlices=10, lastSliceHashCode=-1, replyTo=Actor[akka://test/system/testProbe-27#153615630]] 10:07:28,505 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-13: Message size: 10 bytes, total slices to send: 10 10:07:28,505 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-13: getNextSlice: total size: 10, offset: 0, size: 1, index: 1 10:07:28,505 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-13: Sending first slice: MessageSlice [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test2}, slicerId=13, messageId=20], data.length=1, sliceIndex=1, totalSlices=10, lastSliceHashCode=-1, replyTo=Actor[akka://test/system/testProbe-27#153615630]] 10:07:28,513 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-13: SlicedMessageState for MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=13, messageId=19] was removed from the cache due to EXPLICIT 10:07:28,532 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-14: slice: identifier: StringIdentifier{value=test}, message: BytesMessage [bytes=[1, 2]] 10:07:28,534 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-14: Message size: 10 bytes, total slices to send: 10 10:07:28,534 AM [main] [DEBUG] SlicedMessageState - testCloseAllSlicedMessageState_slicer-id-14: getNextSlice: total size: 10, offset: 0, size: 1, index: 1 10:07:28,534 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-14: Sending first slice: MessageSlice [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=14, messageId=21], data.length=1, sliceIndex=1, totalSlices=10, lastSliceHashCode=-1, replyTo=Actor[akka://test/system/testProbe-28#-1043001505]] 10:07:28,535 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-14: Closing 10:07:28,535 AM [main] [DEBUG] MessageSlicer - testCloseAllSlicedMessageState_slicer-id-14: SlicedMessageState for MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=14, messageId=21] was removed from the cache due to EXPLICIT 10:07:28,552 AM [main] [DEBUG] MessageSlicer - testMessageSliceReplyWithNoState_slicer-id-15: handleMessage: MessageSliceReply [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=15, messageId=22], sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-29#-44067942]] 10:07:28,553 AM [main] [WARN] MessageSlicer - testMessageSliceReplyWithNoState_slicer-id-15: SlicedMessageState not found for MessageSliceReply [identifier=MessageSliceIdentifier [clientIdentifier=StringIdentifier{value=test}, slicerId=15, messageId=22], sliceIndex=1, failure=null, sendTo=Actor[akka://test/system/testProbe-29#-44067942]] 10:07:28,553 AM [main] [DEBUG] MessageSlicer - testMessageSliceReplyWithNoState_slicer-id-15: Closing 10:07:28,563 AM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason]