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 SLF4J(W): Class path contains multiple SLF4J providers. SLF4J(W): Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@604d23fa] SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@1cc8416a] SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J(I): Actual provider is of type [ch.qos.logback.classic.spi.LogbackServiceProvider@604d23fa] 10:58:26.530 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory -- Using SLF4J as the default logging framework 10:58:26.536 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 10:58:26.536 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 10:58:26.609 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- -Dio.netty.noUnsafe: false 10:58:26.610 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- Java version: 21 10:58:26.611 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.theUnsafe: available 10:58:26.612 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe base methods: all available 10:58:26.613 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.storeFence: available 10:58:26.614 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Buffer.address: available 10:58:26.614 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 10:58:26.615 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Bits.unaligned: available, true 10:58:26.616 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @73eb439a 10:58:26.617 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.DirectByteBuffer.(long, {int,long}): unavailable 10:58:26.618 [main] DEBUG io.netty.util.internal.PlatformDependent -- sun.misc.Unsafe: available 10:58:26.618 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 10:58:26.618 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.bitMode: 64 (sun.arch.data.model) 10:58:26.620 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.maxDirectMemory: -1 bytes 10:58:26.620 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.uninitializedArrayAllocationThreshold: -1 10:58:26.623 [main] DEBUG io.netty.util.internal.CleanerJava9 -- java.nio.ByteBuffer.cleaner(): available 10:58:26.623 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.noPreferDirect: false 10:58:26.635 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.workdir: /tmp (io.netty.tmpdir) 10:58:26.635 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.deleteLibAfterLoading: true 10:58:26.635 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.tryPatchShadedId: true 10:58:26.635 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.detectNativeLibraryDuplicates: true 10:58:26.650 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- Successfully loaded the library /tmp/libnetty_transport_native_epoll_x86_6417897689375409320760.so 10:58:26.660 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv4Stack: false 10:58:26.660 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv6Addresses: false 10:58:26.663 [main] DEBUG io.netty.util.NetUtilInitializations -- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 10:58:26.665 [main] DEBUG io.netty.util.NetUtil -- /proc/sys/net/core/somaxconn: 4096 10:58:26.678 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup -- -Dio.netty.eventLoopThreads: 16 10:58:26.700 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor -- -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 10:58:26.773 [main] DEBUG io.netty.util.internal.PlatformDependent -- org.jctools-core.MpscChunkedArrayQueue: available 10:58:26.929 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.level: simple 10:58:26.930 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.targetRecords: 4 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numHeapArenas: 16 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numDirectArenas: 16 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.pageSize: 8192 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxOrder: 9 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.chunkSize: 4194304 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.smallCacheSize: 256 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.normalCacheSize: 64 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedBufferCapacity: 32768 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimInterval: 8192 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimIntervalMillis: 0 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.useCacheForAllThreads: false 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 10:58:26.937 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads: false 10:58:26.964 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.processId: 43940 (auto-detected) 10:58:26.967 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.machineId: 02:42:19:ff:fe:7e:02:bd (auto-detected) 10:58:27.014 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.allocator.type: pooled 10:58:27.015 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.threadLocalDirectBufferSize: 0 10:58:27.015 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.maxThreadLocalCharBufferSize: 16384 10:58:27.021 [Time-limited test] DEBUG io.netty.bootstrap.ChannelInitializerExtensions -- -Dio.netty.bootstrap.extensions: null 10:58:27.030 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Initiated BMP server at /0.0.0.0:30853. 10:58:27.064 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP Client AbstractBootstrap$PendingRegistrationPromise@325fcb31(incomplete) at /127.173.75.83:30853. 10:58:27.092 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Connection AbstractBootstrap$PendingRegistrationPromise@325fcb31(success) succeeded! 10:58:27.093 [bmp-worker-0] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.0.0.1:39870 <-> 127.173.75.83/127.173.75.83:30853. 10:58:27.095 [bmp-worker-1] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.173.75.83:30853 <-> /127.0.0.1:39870. 10:58:27.113 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.maxCapacityPerThread: 4096 10:58:27.113 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.ratio: 8 10:58:27.113 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.chunkSize: 32 10:58:27.113 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.blocking: false 10:58:27.113 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.batchFastThreadLocalOnly: true 10:58:27.122 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x811fe54e, L:/127.0.0.1:39870 ! R:127.173.75.83/127.173.75.83:30853] inactive. 10:58:27.132 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkAccessible: true 10:58:27.133 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkBounds: true 10:58:27.134 [bmp-worker-1] DEBUG io.netty.util.ResourceLeakDetectorFactory -- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@4df85bb0 10:58:27.192 [bmp-worker-1] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x9ad2ea2f, L:/127.173.75.83:30853 ! R:/127.0.0.1:39870] inactive. 10:58:27.217 [bmp-worker-1] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-1 10:58:27.312 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@1ebb5eb5(incomplete) at /127.155.126.216:29881. 10:58:27.320 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.151.59.214:0 <--> /127.155.126.216:29881 deployed 10:58:27.321 [bmp-worker-32] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.151.59.214:33909 <-> 127.155.126.216/127.155.126.216:29881. 10:58:27.322 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@3fa982aa(success) succeeded! 10:58:27.324 [bmp-worker-33] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.155.126.216:29881 <-> /127.151.59.214:33909. 10:58:27.333 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xb700c67d, L:/127.151.59.214:33909 ! R:127.155.126.216/127.155.126.216:29881] inactive. 10:58:27.333 [bmp-worker-33] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xe955fb39, L:/127.155.126.216:29881 ! R:/127.151.59.214:33909] inactive. 10:58:27.356 [Timer-1] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.151.59.214:0 <--> /127.155.126.216:29881 deployed 10:58:27.360 [bmp-worker-42] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@13a5683b(success) succeeded! 10:58:27.360 [bmp-worker-42] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.151.59.214:45397 <-> 127.155.126.216/127.155.126.216:29881. 10:58:27.387 [bmp-worker-42] ERROR org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Exception caught in BMP Session. io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer 10:58:27.390 [bmp-worker-42] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Closing session: BmpSessionImpl{channel=[id: 0x05ab23df, L:/127.151.59.214:45397 - R:127.155.126.216/127.155.126.216:29881]} 10:58:27.393 [bmp-worker-42] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x05ab23df, L:/127.151.59.214:45397 ! R:127.155.126.216/127.155.126.216:29881] inactive. 10:58:27.398 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@58441e80(incomplete) at /127.155.126.216:29881. 10:58:27.399 [Timer-2] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.151.59.214:0 <--> /127.155.126.216:29881 deployed 10:58:27.399 [bmp-worker-50] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@461b2e3d(success) succeeded! 10:58:27.400 [bmp-worker-50] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.151.59.214:39075 <-> 127.155.126.216/127.155.126.216:29881. 10:58:27.401 [bmp-worker-51] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.155.126.216:29881 <-> /127.151.59.214:39075. 10:58:27.410 [bmp-worker-51] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xe13f2c83, L:/127.155.126.216:29881 ! R:/127.151.59.214:39075] inactive. 10:58:27.415 [bmp-worker-50] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xcdf5bfed, L:/127.151.59.214:39075 ! R:127.155.126.216/127.155.126.216:29881] inactive. 10:58:27.435 [Timer-3] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.151.59.214:0 <--> /127.155.126.216:29881 deployed 10:58:27.447 [bmp-worker-65] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- The connection try to BMP router /127.155.126.216:29881 failed. Next reconnection attempt in 15000 milliseconds. 10:58:27.458 [bmp-worker-50] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-50 10:58:27.458 [bmp-worker-42] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-42