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 [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service started [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source started on port 4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink from localhost/127.0.0.1:4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink started with source localhost/127.0.0.1:4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Connecting to Source [nioEventLoopGroup-3-1] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Channel [id: 0x75074ea0, L:/127.0.0.1:50398 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0x02232f2c, L:/127.0.0.1:4000 - R:/127.0.0.1:50398] established [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x02232f2c, L:/127.0.0.1:4000 - R:/127.0.0.1:50398] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x02232f2c, L:/127.0.0.1:4000 ! R:/127.0.0.1:50398] going inactive [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shutting down [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shut down [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopping [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopped [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service started [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source started on port 4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink from localhost/127.0.0.1:4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink started with source localhost/127.0.0.1:4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Connecting to Source [nioEventLoopGroup-5-1] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Channel [id: 0xc80e9cf4, L:/127.0.0.1:47842 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0x4d399858, L:/127.0.0.1:4000 - R:/127.0.0.1:47842] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x4d399858, L:/127.0.0.1:4000 - R:/127.0.0.1:47842] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x4d399858, L:/127.0.0.1:4000 ! R:/127.0.0.1:47842] going inactive [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shutting down [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shut down [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopping [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopped