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.4/byte-buddy-agent-1.15.4.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 04:32:08,512 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 04:32:08,517 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:08,529 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library cleaned successfully 04:32:08,530 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer stopped 04:32:08,587 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 04:32:08,588 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:08,589 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library cleaned successfully 04:32:08,589 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer stopped 04:32:09,879 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 04:32:09,880 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:09,900 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 04:32:09,900 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 04:32:09,997 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 04:32:09,997 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:10,0 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 04:32:10,0 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 04:32:10,79 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 04:32:10,79 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:10,80 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 04:32:10,80 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 04:32:10,152 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 04:32:10,152 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 04:32:10,154 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 04:32:10,154 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 04:32:10,164 PM [main] [WARN] YangLibraryWriter - ietf-yang-library not present in context, skipping update 04:32:10,164 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled