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: 0x172d89f9, L:/127.0.0.1:50976 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0x2376cd71, L:/127.0.0.1:4000 - R:/127.0.0.1:50976] established [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x2376cd71, L:/127.0.0.1:4000 - R:/127.0.0.1:50976] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x2376cd71, L:/127.0.0.1:4000 ! R:/127.0.0.1:50976] 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: 0xd36714d0, L:/127.0.0.1:36852 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0xc4499aa5, L:/127.0.0.1:4000 - R:/127.0.0.1:36852] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0xc4499aa5, L:/127.0.0.1:4000 - R:/127.0.0.1:36852] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0xc4499aa5, L:/127.0.0.1:4000 ! R:/127.0.0.1:36852] 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