Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu2004-docker-4c-4g-7161 (ubuntu2004-docker-4c-4g) in workspace /w/workspace/lispflowmapping-sonar The recommended git tool is: NONE using credential jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://devvexx.opendaylight.org/mirror/lispflowmapping > git init /w/workspace/lispflowmapping-sonar # timeout=10 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/lispflowmapping > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials jenkins-ssh Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/lispflowmapping +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/lispflowmapping # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision fa4375fc9cd444045f14cb90e13c15571cc497d8 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f fa4375fc9cd444045f14cb90e13c15571cc497d8 # timeout=10 Commit message: "Do not mock InstanceIdentifier" > git rev-list --no-walk eb49925bd66557f21e604e589eeebd1fe14c9a59 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins4745819927341502013.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.13 (set by /opt/pyenv/version) * 3.11.7 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OopK lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OopK/bin to PATH Generating Requirements File Python 3.11.7 pip 24.2 from /tmp/venv-OopK/lib/python3.11/site-packages/pip (python 3.11) appdirs==1.4.4 argcomplete==3.4.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.153 botocore==1.34.153 bs4==0.0.2 cachetools==5.4.0 certifi==2024.7.4 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.32.0 httplib2==0.22.0 identify==2.6.0 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.7.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.5.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.1.1 oslo.serialization==5.4.0 oslo.utils==7.2.0 packaging==24.1 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.2 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.6.0 python-novaclient==18.6.0 python-openstackclient==6.6.1 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.19.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.0 tqdm==4.66.4 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.19 virtualenv==20.26.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [lispflowmapping-sonar] $ /bin/sh -xe /tmp/jenkins2312612765102272388.sh + echo Using SonarCloud Using SonarCloud [lispflowmapping-sonar] $ /bin/sh -xe /tmp/jenkins6837592244731522803.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn39 on prd-ubuntu2004-docker-4c-4g-7161 [lispflowmapping-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn39/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=lispflowmapping -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn39/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=lispflowmapping -Dsha1=origin/master "-DMAVEN_OPTS=-Xmx2048m -Dmaven.compile.fork=true" -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn39 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=sonar:sonar --version Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn39 Java version: 11.0.24, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-190-generic", arch: "amd64", family: "unix" [lispflowmapping-sonar] $ /bin/sh -xe /tmp/jenkins15079812481297833345.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk21 GIT_URL="git://devvexx.opendaylight.org/mirror" [EnvInject] - Variables injected successfully. [lispflowmapping-sonar] $ /bin/sh /tmp/jenkins17765838610088778108.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-21-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-21-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-21-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "21.0.4" 2024-07-16 OpenJDK Runtime Environment (build 21.0.4+7-Ubuntu-1ubuntu220.04) OpenJDK 64-Bit Server VM (build 21.0.4+7-Ubuntu-1ubuntu220.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk21 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=opendaylight SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=opendaylight_lispflowmapping [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/lispflowmapping-sonar@tmp/config10819408107156945971tmp copy managed file [lispflowmapping-settings] to file:/w/workspace/lispflowmapping-sonar@tmp/config18307982749703510163tmp [lispflowmapping-sonar] $ /bin/bash -l /tmp/jenkins9914721463385254698.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn39/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/lispflowmapping-sonar@tmp/config10819408107156945971tmp --settings /w/workspace/lispflowmapping-sonar@tmp/config18307982749703510163tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Picked up _JAVA_OPTIONS: Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn39 Java version: 21.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-190-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] ODL :: lispflowmapping :: lispflowmapping-commons [pom] [INFO] ODL :: lispflowmapping :: common.build.tools [jar] [INFO] ODL :: lispflowmapping :: lispflowmapping-artifacts [pom] [INFO] ODL :: lispflowmapping :: mappingservice.lisp-proto [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.api [bundle] [INFO] ODL :: lispflowmapping :: mappingservice-parent [pom] [INFO] ODL :: lispflowmapping :: mappingservice.inmemorydb [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.dsbackend [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.mapcache [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.config [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.implementation [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.southbound [bundle] [INFO] ODL :: lispflowmapping :: mappingservice.shell [bundle] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-models [feature] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-inmemorydb [feature] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-southbound [feature] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-mappingservice [feature] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-msmr [feature] [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-mappingservice-shell [feature] [INFO] ODL :: lispflowmapping :: features-lispflowmapping [feature] [INFO] ODL :: lispflowmapping :: features-aggregator [pom] [INFO] ODL :: lispflowmapping :: lispflowmapping-karaf [pom] [INFO] ODL :: lispflowmapping :: mappingservice.integrationtest [bundle] [INFO] lispflowmapping [pom] [INFO] [INFO] ------< org.opendaylight.lispflowmapping:lispflowmapping-commons >------ [INFO] Building ODL :: lispflowmapping :: lispflowmapping-commons 1.20.0-SNAPSHOT [1/24] [INFO] from commons/parent/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ lispflowmapping-commons --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ lispflowmapping-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ lispflowmapping-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ lispflowmapping-commons --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ lispflowmapping-commons --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/commons/parent/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- build-helper:3.5.0:add-source (add-source) @ lispflowmapping-commons --- [INFO] Source directory: /w/workspace/lispflowmapping-sonar/commons/parent/src/main/yang added. [INFO] Source directory: /w/workspace/lispflowmapping-sonar/commons/parent/src/main/yang-gen-sal added. [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ lispflowmapping-commons --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ lispflowmapping-commons --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ lispflowmapping-commons --- [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ lispflowmapping-commons >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ lispflowmapping-commons --- [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ lispflowmapping-commons <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ lispflowmapping-commons --- [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ lispflowmapping-commons --- [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ lispflowmapping-commons --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ lispflowmapping-commons --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 1 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/commons/parent/target/bom.xml [INFO] attaching as lispflowmapping-commons-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/commons/parent/target/bom.json [WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword [INFO] attaching as lispflowmapping-commons-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ lispflowmapping-commons --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ lispflowmapping-commons --- [INFO] Skipping pom project [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ lispflowmapping-commons --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ lispflowmapping-commons --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ lispflowmapping-commons --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:2.5.2:install (default-install) @ lispflowmapping-commons --- [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/parent/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-commons/1.20.0-SNAPSHOT/lispflowmapping-commons-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/parent/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-commons/1.20.0-SNAPSHOT/lispflowmapping-commons-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/parent/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-commons/1.20.0-SNAPSHOT/lispflowmapping-commons-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --------< org.opendaylight.lispflowmapping:common.build.tools >--------- [INFO] Building ODL :: lispflowmapping :: common.build.tools 1.20.0-SNAPSHOT [2/24] [INFO] from commons/build_tools/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ common.build.tools --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ common.build.tools --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ common.build.tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ common.build.tools --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ common.build.tools --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/commons/build_tools/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- build-helper:3.5.0:add-source (add-source) @ common.build.tools --- [INFO] Source directory: /w/workspace/lispflowmapping-sonar/commons/build_tools/src/main/yang added. [INFO] Source directory: /w/workspace/lispflowmapping-sonar/commons/build_tools/src/main/yang-gen-sal added. [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ common.build.tools --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ common.build.tools --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ common.build.tools --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ common.build.tools --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ common.build.tools --- [INFO] No sources to compile [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ common.build.tools >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ common.build.tools --- [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ common.build.tools <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ common.build.tools --- [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ common.build.tools --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/commons/build_tools/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ common.build.tools --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ common.build.tools --- [INFO] No tests to run. [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ common.build.tools --- [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ common.build.tools --- [INFO] Building jar: /w/workspace/lispflowmapping-sonar/commons/build_tools/target/common.build.tools-1.20.0-SNAPSHOT.jar [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ common.build.tools --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ common.build.tools --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 1 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/commons/build_tools/target/bom.xml [INFO] attaching as common.build.tools-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/commons/build_tools/target/bom.json [INFO] attaching as common.build.tools-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ common.build.tools --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ common.build.tools --- [INFO] No dependency problems found [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ common.build.tools --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ common.build.tools --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ common.build.tools --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:2.5.2:install (default-install) @ common.build.tools --- [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/build_tools/target/common.build.tools-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/common.build.tools/1.20.0-SNAPSHOT/common.build.tools-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/build_tools/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/common.build.tools/1.20.0-SNAPSHOT/common.build.tools-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/build_tools/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/common.build.tools/1.20.0-SNAPSHOT/common.build.tools-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/commons/build_tools/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/common.build.tools/1.20.0-SNAPSHOT/common.build.tools-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] -----< org.opendaylight.lispflowmapping:lispflowmapping-artifacts >----- [INFO] Building ODL :: lispflowmapping :: lispflowmapping-artifacts 1.20.0-SNAPSHOT [3/24] [INFO] from artifacts/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ lispflowmapping-artifacts --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ lispflowmapping-artifacts --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ lispflowmapping-artifacts --- [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ lispflowmapping-artifacts --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 0 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/artifacts/target/bom.xml [INFO] attaching as lispflowmapping-artifacts-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/artifacts/target/bom.json [INFO] attaching as lispflowmapping-artifacts-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- install:2.5.2:install (default-install) @ lispflowmapping-artifacts --- [INFO] Installing /w/workspace/lispflowmapping-sonar/artifacts/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-artifacts/1.20.0-SNAPSHOT/lispflowmapping-artifacts-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/artifacts/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-artifacts/1.20.0-SNAPSHOT/lispflowmapping-artifacts-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/artifacts/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/lispflowmapping-artifacts/1.20.0-SNAPSHOT/lispflowmapping-artifacts-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] -----< org.opendaylight.lispflowmapping:mappingservice.lisp-proto >----- [INFO] Building ODL :: lispflowmapping :: mappingservice.lisp-proto 1.20.0-SNAPSHOT [4/24] [INFO] from mappingservice/lisp-proto/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.lisp-proto --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.lisp-proto --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.lisp-proto --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.lisp-proto --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.lisp-proto --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- yang:13.0.2:generate-sources (binding) @ mappingservice.lisp-proto --- [INFO] yang-to-sources: Code generator BindingJavaFileGenerator instantiated [INFO] yang-to-sources: Inspecting /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/yang [INFO] yang-to-sources: Found 2 dependencies in 6.118 ms [INFO] yang-to-sources: Project model files found: 5 in 141.4 ms [INFO] yang-to-sources: 7 YANG models processed in 547.3 ms [INFO] BindingJavaFileGenerator: Defined 228 files in 96.28 ms [INFO] Sorted 228 files into 48 directories in 3.471 ms [INFO] yang-to-sources: Sources generated by org.opendaylight.mdsal.binding.java.api.generator.JavaFileGenerator: 228 in 301.0 ms [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.lisp-proto --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.lisp-proto --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.lisp-proto --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.lisp-proto --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/generated-sources/spi [INFO] Copying 5 resources from target/generated-sources/yang to target/classes [INFO] Copying 1 resource from target/generated-resources/BindingJavaFileGenerator to target/classes [INFO] Copying 5 resources from target/generated-sources/yang to target/classes [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/generated-sources/spi [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.lisp-proto --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 282 source files with javac [debug release 17] to target/classes [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/type/MappingData.java:[35,18] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/type/MappingData.java:[40,18] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/serializer/address/ExplicitLocatorPathSerializer.java:[53,101] implicit cast from int to short in compound assignment is possibly lossy [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/serializer/address/ExplicitLocatorPathSerializer.java:[115,85] implicit cast from int to short in compound assignment is possibly lossy [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/serializer/address/AfiListSerializer.java:[48,78] implicit cast from int to short in compound assignment is possibly lossy [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/serializer/address/AfiListSerializer.java:[92,79] implicit cast from int to short in compound assignment is possibly lossy [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.lisp-proto >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.lisp-proto --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.lisp-proto <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.lisp-proto --- [INFO] BugInstance size is 56 [INFO] Error size is 0 [INFO] Total bugs: 56 [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationUtil is final but declares protected field org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationUtil.LOG [org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationUtil] In LispAuthenticationUtil.java CI_CONFUSED_INHERITANCE [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationUtil] In LispAuthenticationUtil.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] High: Found reliance on default encoding in org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication.getAuthenticationData(byte[], String): String.getBytes() [org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication] At LispMACAuthentication.java:[line 62] DM_DEFAULT_ENCODING [ERROR] Low: Should org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication.getAuthenticationData(byte[], String) return a zero length array rather than null? [org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication] At LispMACAuthentication.java:[line 73] PZLA_PREFER_ZERO_LENGTH_ARRAYS [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication] In LispMACAuthentication.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Medium: Write to static field org.opendaylight.lispflowmapping.lisp.authentication.LispNoAuthentication.authenticationData from instance method new org.opendaylight.lispflowmapping.lisp.authentication.LispNoAuthentication() [org.opendaylight.lispflowmapping.lisp.authentication.LispNoAuthentication] At LispNoAuthentication.java:[line 23] ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.MapRequestSerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.MapRequestSerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.MapRequestSerializer] In MapRequestSerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.MapRequestSerializer] In MapRequestSerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] High: Found reliance on default encoding in org.opendaylight.lispflowmapping.lisp.serializer.address.DistinguishedNameSerializer.serializeData(ByteBuffer, LispAddress): String.getBytes() [org.opendaylight.lispflowmapping.lisp.serializer.address.DistinguishedNameSerializer] At DistinguishedNameSerializer.java:[line 54] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.opendaylight.lispflowmapping.lisp.serializer.address.DistinguishedNameSerializer.serializeData(ByteBuffer, SimpleAddress): String.getBytes() [org.opendaylight.lispflowmapping.lisp.serializer.address.DistinguishedNameSerializer] At DistinguishedNameSerializer.java:[line 60] DM_DEFAULT_ENCODING [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer] In Ipv4BinarySerializer.java CI_CONFUSED_INHERITANCE [ERROR] High: Illegal class is passed to LoggerFactory#getLogger(Class). It should be one of [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer]. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer] At Ipv4BinarySerializer.java:[line 37] SLF4J_ILLEGAL_PASSED_CLASS [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4BinarySerializer] In Ipv4BinarySerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer] In Ipv4PrefixBinarySerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer.deserializeSimpleAddressData(ByteBuffer, LispAddressSerializerContext) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer] Dereferenced at Ipv4PrefixBinarySerializer.java:[line 110]Null value at Ipv4PrefixBinarySerializer.java:[line 103]Known null at Ipv4PrefixBinarySerializer.java:[line 107]Known null at Ipv4PrefixBinarySerializer.java:[line 108] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixBinarySerializer] In Ipv4PrefixBinarySerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer] In Ipv4PrefixSerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer.deserializeData(ByteBuffer, LispAddressSerializerContext) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer] Dereferenced at Ipv4PrefixSerializer.java:[line 108]Null value at Ipv4PrefixSerializer.java:[line 100]Known null at Ipv4PrefixSerializer.java:[line 104]Known null at Ipv4PrefixSerializer.java:[line 105] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer] In Ipv4PrefixSerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4Serializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4Serializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4Serializer] In Ipv4Serializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4Serializer] In Ipv4Serializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer] In Ipv6BinarySerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer.deserializeDataNonBinary(ByteBuffer) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer] Dereferenced at Ipv6BinarySerializer.java:[line 113]Null value at Ipv6BinarySerializer.java:[line 106]Known null at Ipv6BinarySerializer.java:[line 110]Known null at Ipv6BinarySerializer.java:[line 111] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6BinarySerializer] In Ipv6BinarySerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer] In Ipv6PrefixBinarySerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer.deserializeSimpleAddressData(ByteBuffer, LispAddressSerializerContext) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer] Dereferenced at Ipv6PrefixBinarySerializer.java:[line 109]Null value at Ipv6PrefixBinarySerializer.java:[line 102]Known null at Ipv6PrefixBinarySerializer.java:[line 106]Known null at Ipv6PrefixBinarySerializer.java:[line 107] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer] In Ipv6PrefixBinarySerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer] In Ipv6PrefixSerializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer.deserializeData(ByteBuffer, LispAddressSerializerContext) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer] Dereferenced at Ipv6PrefixSerializer.java:[line 113]Null value at Ipv6PrefixSerializer.java:[line 105]Known null at Ipv6PrefixSerializer.java:[line 109]Known null at Ipv6PrefixSerializer.java:[line 110] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixSerializer] In Ipv6PrefixSerializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer is final but declares protected field org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer.LOG [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer] In Ipv6Serializer.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer.deserializeData(ByteBuffer) on exception path [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer, org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer] Dereferenced at Ipv6Serializer.java:[line 106]Null value at Ipv6Serializer.java:[line 99]Known null at Ipv6Serializer.java:[line 103]Known null at Ipv6Serializer.java:[line 104] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer] In Ipv6Serializer.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Medium: Inconsistent synchronization of org.opendaylight.lispflowmapping.lisp.type.MappingData.mergeEnabled; locked 66% of time [org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData] Unsynchronized access at MappingData.java:[line 120]Synchronized access at MappingData.java:[line 96]Synchronized access at MappingData.java:[line 68]Synchronized access at MappingData.java:[line 72] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.opendaylight.lispflowmapping.lisp.type.MappingData.timestamp; locked 40% of time [org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData] Unsynchronized access at MappingData.java:[line 127]Unsynchronized access at MappingData.java:[line 129]Synchronized access at MappingData.java:[line 103]Synchronized access at MappingData.java:[line 105]Synchronized access at MappingData.java:[line 56]Synchronized access at MappingData.java:[line 52] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.opendaylight.lispflowmapping.lisp.type.MappingData.xtrId; locked 40% of time [org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData, org.opendaylight.lispflowmapping.lisp.type.MappingData] Unsynchronized access at MappingData.java:[line 122]Unsynchronized access at MappingData.java:[line 124]Synchronized access at MappingData.java:[line 60]Synchronized access at MappingData.java:[line 98]Synchronized access at MappingData.java:[line 100]Synchronized access at MappingData.java:[line 64] IS2_INCONSISTENT_SYNC [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.ByteUtil is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.ByteUtil.HEX_ARRAY [org.opendaylight.lispflowmapping.lisp.util.ByteUtil] In ByteUtil.java CI_CONFUSED_INHERITANCE [ERROR] Medium: Vacuous iand operation on intArg in org.opendaylight.lispflowmapping.lisp.util.ByteUtil.asUnsignedInteger(int) [org.opendaylight.lispflowmapping.lisp.util.ByteUtil] At ByteUtil.java:[line 66] INT_VACUOUS_BIT_OPERATION [ERROR] Medium: org.opendaylight.lispflowmapping.lisp.util.ByteUtil.HEX_ARRAY should be package protected [org.opendaylight.lispflowmapping.lisp.util.ByteUtil] At ByteUtil.java:[line 15] MS_PKGPROTECT [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier.LOG [org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier] In LispAddressStringifier.java CI_CONFUSED_INHERITANCE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier.noAddrSeq [org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier] In LispAddressStringifier.java CI_CONFUSED_INHERITANCE [ERROR] Medium: org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier.getStringFromServicePath(LispAddressStringifier$Destination, ServicePath) invokes inefficient new String(String) constructor [org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier] At LispAddressStringifier.java:[line 424] DM_STRING_CTOR [ERROR] Medium: org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier.noAddrSeq should be package protected [org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier] At LispAddressStringifier.java:[line 63] MS_PKGPROTECT [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifier] In LispAddressStringifier.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil.LOG [org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil] In LispAddressUtil.java CI_CONFUSED_INHERITANCE [ERROR] Low: Should org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil.ipAddressToByteArray(Address) return a zero length array rather than null? [org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil] At LispAddressUtil.java:[line 787] PZLA_PREFER_ZERO_LENGTH_ARRAYS [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.util.LispAddressUtil] In LispAddressUtil.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil.LOG [org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil] In MapRequestUtil.java CI_CONFUSED_INHERITANCE [ERROR] High: Random object created and used only once in org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil.prepareSMR(Eid, Rloc) [org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil] At MapRequestUtil.java:[line 87] DMI_RANDOM_USED_ONLY_ONCE [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.util.MapRequestUtil] In MapRequestUtil.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Class org.opendaylight.lispflowmapping.lisp.util.MappingRecordUtil is final but declares protected field org.opendaylight.lispflowmapping.lisp.util.MappingRecordUtil.LOG [org.opendaylight.lispflowmapping.lisp.util.MappingRecordUtil] In MappingRecordUtil.java CI_CONFUSED_INHERITANCE [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.lisp.util.MappingRecordUtil] In MappingRecordUtil.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Unchecked/unconfirmed cast from java.net.InetAddress to java.net.Inet4Address of return value in org.opendaylight.lispflowmapping.lisp.util.MaskUtil.normalize(Eid) [org.opendaylight.lispflowmapping.lisp.util.MaskUtil] At MaskUtil.java:[line 128] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE [ERROR] Low: Unchecked/unconfirmed cast from java.net.InetAddress to java.net.Inet6Address of return value in org.opendaylight.lispflowmapping.lisp.util.MaskUtil.normalize(Eid) [org.opendaylight.lispflowmapping.lisp.util.MaskUtil] At MaskUtil.java:[line 133] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE [ERROR] Low: Unchecked/unconfirmed cast from java.net.InetAddress to java.net.Inet4Address of return value in org.opendaylight.lispflowmapping.lisp.util.MaskUtil.normalize(Eid, short) [org.opendaylight.lispflowmapping.lisp.util.MaskUtil] At MaskUtil.java:[line 98] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE [ERROR] Low: Unchecked/unconfirmed cast from java.net.InetAddress to java.net.Inet6Address of return value in org.opendaylight.lispflowmapping.lisp.util.MaskUtil.normalize(Eid, short) [org.opendaylight.lispflowmapping.lisp.util.MaskUtil] At MaskUtil.java:[line 102] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.lisp-proto --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.lisp-proto --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 22 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.lisp-proto --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthenticationTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 s -- in org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthenticationTest [INFO] Running org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.208 s -- in org.opendaylight.lispflowmapping.lisp.authentication.LispAuthenticationTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.MaskUtilTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s -- in org.opendaylight.lispflowmapping.lisp.util.MaskUtilTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.MapRequestUtilTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in org.opendaylight.lispflowmapping.lisp.util.MapRequestUtilTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.SourceDestKeyHelperTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in org.opendaylight.lispflowmapping.lisp.util.SourceDestKeyHelperTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.LispAddressUtilTest [INFO] Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s -- in org.opendaylight.lispflowmapping.lisp.util.LispAddressUtilTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifierTest [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s -- in org.opendaylight.lispflowmapping.lisp.util.LispAddressStringifierTest [INFO] Running org.opendaylight.lispflowmapping.lisp.util.LispSimpleAddressStringifierTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.800 s -- in org.opendaylight.lispflowmapping.lisp.util.LispSimpleAddressStringifierTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.ServicePathTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in org.opendaylight.lispflowmapping.serializer.address.ServicePathTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.AfiListSerializerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in org.opendaylight.lispflowmapping.serializer.address.AfiListSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.InstanceIdSerializerTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in org.opendaylight.lispflowmapping.serializer.address.InstanceIdSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.Ipv6SerializerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in org.opendaylight.lispflowmapping.serializer.address.Ipv6SerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.DistinguishedNameSerializerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in org.opendaylight.lispflowmapping.serializer.address.DistinguishedNameSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.ExplicitLocatorPathSerializerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in org.opendaylight.lispflowmapping.serializer.address.ExplicitLocatorPathSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.SourceDestKeySerializerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s -- in org.opendaylight.lispflowmapping.serializer.address.SourceDestKeySerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.KeyValueAddressSerializerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.010 s -- in org.opendaylight.lispflowmapping.serializer.address.KeyValueAddressSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.address.ApplicationDataSerializerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.opendaylight.lispflowmapping.serializer.address.ApplicationDataSerializerTest [INFO] Running org.opendaylight.lispflowmapping.serializer.MapRegisterSerializationTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s -- in org.opendaylight.lispflowmapping.serializer.MapRegisterSerializationTest [INFO] Running org.opendaylight.lispflowmapping.serializer.MapNotifySerializationTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s -- in org.opendaylight.lispflowmapping.serializer.MapNotifySerializationTest [INFO] Running org.opendaylight.lispflowmapping.serializer.MapReplySerializationTest [WARNING] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.017 s -- in org.opendaylight.lispflowmapping.serializer.MapReplySerializationTest [INFO] Running org.opendaylight.lispflowmapping.serializer.MapRequestSerializationTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s -- in org.opendaylight.lispflowmapping.serializer.MapRequestSerializationTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 268, Failures: 0, Errors: 0, Skipped: 1 [INFO] [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.lisp-proto --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.lisp-proto --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/mappingservice.lisp-proto-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.lisp-proto --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.lisp-proto --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 20 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/bom.xml [INFO] attaching as mappingservice.lisp-proto-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/bom.json [WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword [INFO] attaching as mappingservice.lisp-proto-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.lisp-proto --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.lisp-proto --- [INFO] No dependency problems found [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.lisp-proto --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.lisp-proto --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.lisp-proto --- [INFO] Loading execution data file /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/code-coverage/jacoco.exec [INFO] Analyzed bundle 'ODL :: lispflowmapping :: mappingservice.lisp-proto' with 62 classes [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.lisp-proto --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/mappingservice.lisp-proto-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.lisp-proto/1.20.0-SNAPSHOT/mappingservice.lisp-proto-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.lisp-proto/1.20.0-SNAPSHOT/mappingservice.lisp-proto-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.lisp-proto/1.20.0-SNAPSHOT/mappingservice.lisp-proto-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/lisp-proto/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.lisp-proto/1.20.0-SNAPSHOT/mappingservice.lisp-proto-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.lisp-proto --- [INFO] Writing OBR metadata [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.lisp-proto/1.20.0-SNAPSHOT/mappingservice.lisp-proto-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --------< org.opendaylight.lispflowmapping:mappingservice.api >--------- [INFO] Building ODL :: lispflowmapping :: mappingservice.api 1.20.0-SNAPSHOT [5/24] [INFO] from mappingservice/api/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.api --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.api --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.api --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.api --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.api --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/api/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- yang:13.0.2:generate-sources (binding) @ mappingservice.api --- [INFO] yang-to-sources: Code generator BindingJavaFileGenerator instantiated [INFO] yang-to-sources: Inspecting /w/workspace/lispflowmapping-sonar/mappingservice/api/src/main/yang [INFO] yang-to-sources: Found 4 dependencies in 1.853 ms [INFO] yang-to-sources: Project model files found: 2 in 13.53 ms [INFO] yang-to-sources: 9 YANG models processed in 213.2 ms [INFO] BindingJavaFileGenerator: Defined 194 files in 24.03 ms [INFO] Sorted 194 files into 13 directories in 455.2 μs [INFO] yang-to-sources: Sources generated by org.opendaylight.mdsal.binding.java.api.generator.JavaFileGenerator: 194 in 78.42 ms [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.api --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.api --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.api --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.api --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/api/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/api/target/generated-sources/spi [INFO] Copying 2 resources from target/generated-sources/yang to target/classes [INFO] Copying 1 resource from target/generated-resources/BindingJavaFileGenerator to target/classes [INFO] Copying 2 resources from target/generated-sources/yang to target/classes [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/api/target/generated-sources/spi [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.api --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 215 source files with javac [debug release 17] to target/classes [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/MappingEntry.java:[53,9] found raw type: org.opendaylight.lispflowmapping.interfaces.dao.MappingEntry missing type arguments for generic class org.opendaylight.lispflowmapping.interfaces.dao.MappingEntry [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.api >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.api --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.api <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.api --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.api --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/api/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.api --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.api --- [INFO] No tests to run. [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.api --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.api --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/api/target/mappingservice.api-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/api/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.api --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.api --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 22 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/api/target/bom.xml [INFO] attaching as mappingservice.api-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/api/target/bom.json [INFO] attaching as mappingservice.api-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.api --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.api --- [WARNING] Used undeclared dependencies found: [WARNING] org.apache.commons:commons-lang3:jar:3.14.0:compile [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.api --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.api --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.api --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.api --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/api/target/mappingservice.api-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.api/1.20.0-SNAPSHOT/mappingservice.api-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/api/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.api/1.20.0-SNAPSHOT/mappingservice.api-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/api/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.api/1.20.0-SNAPSHOT/mappingservice.api-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/api/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.api/1.20.0-SNAPSHOT/mappingservice.api-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.api --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.api/1.20.0-SNAPSHOT/mappingservice.api-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] -------< org.opendaylight.lispflowmapping:mappingservice-parent >------- [INFO] Building ODL :: lispflowmapping :: mappingservice-parent 1.20.0-SNAPSHOT [6/24] [INFO] from mappingservice/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice-parent --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice-parent --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice-parent --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice-parent --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice-parent --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice-parent --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice-parent --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice-parent --- [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice-parent >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice-parent --- [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice-parent <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice-parent --- [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice-parent --- [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice-parent --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice-parent --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 1 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/target/bom.xml [INFO] attaching as mappingservice-parent-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/target/bom.json [INFO] attaching as mappingservice-parent-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice-parent --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice-parent --- [INFO] Skipping pom project [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice-parent --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice-parent --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice-parent --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice-parent --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice-parent/1.20.0-SNAPSHOT/mappingservice-parent-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice-parent/1.20.0-SNAPSHOT/mappingservice-parent-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice-parent/1.20.0-SNAPSHOT/mappingservice-parent-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] -----< org.opendaylight.lispflowmapping:mappingservice.inmemorydb >----- [INFO] Building ODL :: lispflowmapping :: mappingservice.inmemorydb 1.20.0-SNAPSHOT [7/24] [INFO] from mappingservice/inmemorydb/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.inmemorydb --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.inmemorydb --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.inmemorydb --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.inmemorydb --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.inmemorydb --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.inmemorydb --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.inmemorydb --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.inmemorydb --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.inmemorydb --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/main/resources [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.inmemorydb --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [debug release 17] to target/classes [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.inmemorydb >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.inmemorydb --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.inmemorydb <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.inmemorydb --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.inmemorydb --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.inmemorydb --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 3 source files with javac [debug release 17] to target/test-classes [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[191,9] found raw type: java.util.Map missing type arguments for generic class java.util.Map [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[192,22] unchecked call to put(K,V) as a member of the raw type java.util.Map [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[193,22] unchecked call to put(K,V) as a member of the raw type java.util.Map [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[194,22] unchecked call to put(K,V) as a member of the raw type java.util.Map [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[195,9] found raw type: java.util.Map missing type arguments for generic class java.util.Map [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/src/test/java/org/opendaylight/lispflowmapping/inmemorydb/HashMapDbTest.java:[198,26] unchecked call to put(K,V) as a member of the raw type java.util.Map [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.inmemorydb --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrieTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrieTest [INFO] Running org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrieRandomIpTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s -- in org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrieRandomIpTest [INFO] Running org.opendaylight.lispflowmapping.inmemorydb.HashMapDbTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s -- in org.opendaylight.lispflowmapping.inmemorydb.HashMapDbTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.inmemorydb --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.inmemorydb --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/mappingservice.inmemorydb-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.inmemorydb --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.inmemorydb --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 27 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/bom.xml [INFO] attaching as mappingservice.inmemorydb-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/bom.json [INFO] attaching as mappingservice.inmemorydb-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.inmemorydb --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.inmemorydb --- [WARNING] Used undeclared dependencies found: [WARNING] org.opendaylight.yangtools:yang-common:jar:13.0.2:compile [WARNING] org.opendaylight.lispflowmapping:mappingservice.lisp-proto:jar:1.20.0-SNAPSHOT:compile [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.inmemorydb --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.inmemorydb --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.inmemorydb --- [INFO] Loading execution data file /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/code-coverage/jacoco.exec [INFO] Analyzed bundle 'ODL :: lispflowmapping :: mappingservice.inmemorydb' with 5 classes [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.inmemorydb --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/mappingservice.inmemorydb-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.inmemorydb/1.20.0-SNAPSHOT/mappingservice.inmemorydb-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.inmemorydb/1.20.0-SNAPSHOT/mappingservice.inmemorydb-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.inmemorydb/1.20.0-SNAPSHOT/mappingservice.inmemorydb-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/inmemorydb/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.inmemorydb/1.20.0-SNAPSHOT/mappingservice.inmemorydb-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.inmemorydb --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.inmemorydb/1.20.0-SNAPSHOT/mappingservice.inmemorydb-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] -----< org.opendaylight.lispflowmapping:mappingservice.dsbackend >------ [INFO] Building ODL :: lispflowmapping :: mappingservice.dsbackend 1.20.0-SNAPSHOT [8/24] [INFO] from mappingservice/dsbackend/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.dsbackend --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.dsbackend --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.dsbackend --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.dsbackend --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.dsbackend --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.dsbackend --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.dsbackend --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.dsbackend --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.dsbackend --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/main/resources [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.dsbackend --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [debug release 17] to target/classes [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/main/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEnd.java:[289,16] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.dsbackend >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.dsbackend --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.dsbackend <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.dsbackend --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.dsbackend --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.dsbackend --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug release 17] to target/test-classes [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEndTest.java:[118,32] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEndTest.java:[138,32] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEndTest.java:[157,32] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEndTest.java:[233,32] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/src/test/java/org/opendaylight/lispflowmapping/dsbackend/DataStoreBackEndTest.java:[253,32] mergeParentStructurePut(org.opendaylight.mdsal.common.api.LogicalDatastoreType,org.opendaylight.yangtools.yang.binding.InstanceIdentifier,T) in org.opendaylight.mdsal.binding.api.WriteOperations has been deprecated [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.dsbackend --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.dsbackend.DataStoreBackEndTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.747 s -- in org.opendaylight.lispflowmapping.dsbackend.DataStoreBackEndTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.dsbackend --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.dsbackend --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/mappingservice.dsbackend-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.dsbackend --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.dsbackend --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 24 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/bom.xml [INFO] attaching as mappingservice.dsbackend-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/bom.json [INFO] attaching as mappingservice.dsbackend-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.dsbackend --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.dsbackend --- [WARNING] Used undeclared dependencies found: [WARNING] org.opendaylight.yangtools:yang-common:jar:13.0.2:compile [WARNING] org.opendaylight.yangtools:util:jar:13.0.2:compile [WARNING] com.google.guava:guava:jar:32.1.3-jre:compile [WARNING] org.opendaylight.mdsal:yang-binding:jar:13.0.1:compile [WARNING] org.powermock:powermock-core:jar:2.0.9:test [WARNING] org.opendaylight.mdsal:mdsal-common-api:jar:13.0.1:compile [WARNING] Non-test scoped test only dependencies found: [WARNING] org.opendaylight.yangtools:util:jar:13.0.2:compile [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.dsbackend --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.dsbackend --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.dsbackend --- [INFO] Loading execution data file /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/code-coverage/jacoco.exec [INFO] Analyzed bundle 'ODL :: lispflowmapping :: mappingservice.dsbackend' with 6 classes [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.dsbackend --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/mappingservice.dsbackend-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.dsbackend/1.20.0-SNAPSHOT/mappingservice.dsbackend-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.dsbackend/1.20.0-SNAPSHOT/mappingservice.dsbackend-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.dsbackend/1.20.0-SNAPSHOT/mappingservice.dsbackend-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/dsbackend/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.dsbackend/1.20.0-SNAPSHOT/mappingservice.dsbackend-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.dsbackend --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.dsbackend/1.20.0-SNAPSHOT/mappingservice.dsbackend-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] ------< org.opendaylight.lispflowmapping:mappingservice.mapcache >------ [INFO] Building ODL :: lispflowmapping :: mappingservice.mapcache 1.20.0-SNAPSHOT [9/24] [INFO] from mappingservice/mapcache/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.mapcache --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.mapcache --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.mapcache --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.mapcache --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.mapcache --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.mapcache --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.mapcache --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.mapcache --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.mapcache --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/src/main/resources [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.mapcache --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 5 source files with javac [debug release 17] to target/classes [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.mapcache >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.mapcache --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.mapcache <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.mapcache --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.mapcache --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.mapcache --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 4 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.mapcache --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.mapcache.SimpleMapCacheTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.241 s -- in org.opendaylight.lispflowmapping.mapcache.SimpleMapCacheTest [INFO] Running org.opendaylight.lispflowmapping.mapcache.FlatMapCacheTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s -- in org.opendaylight.lispflowmapping.mapcache.FlatMapCacheTest [INFO] Running org.opendaylight.lispflowmapping.mapcache.AuthKeyDbTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s -- in org.opendaylight.lispflowmapping.mapcache.AuthKeyDbTest [INFO] Running org.opendaylight.lispflowmapping.mapcache.MultiTableMapCacheTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s -- in org.opendaylight.lispflowmapping.mapcache.MultiTableMapCacheTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 56, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.mapcache --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.mapcache --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/mappingservice.mapcache-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.mapcache --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.mapcache --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 21 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/bom.xml [INFO] attaching as mappingservice.mapcache-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/bom.json [INFO] attaching as mappingservice.mapcache-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.mapcache --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.mapcache --- [WARNING] Used undeclared dependencies found: [WARNING] org.opendaylight.yangtools:yang-common:jar:13.0.2:compile [WARNING] org.opendaylight.mdsal.binding.model.ietf:rfc6991-ietf-inet-types:jar:13.0.1:compile [WARNING] Non-test scoped test only dependencies found: [WARNING] org.opendaylight.mdsal.binding.model.ietf:rfc6991-ietf-inet-types:jar:13.0.1:compile [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.mapcache --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.mapcache --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.mapcache --- [INFO] Loading execution data file /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/code-coverage/jacoco.exec [INFO] Analyzed bundle 'ODL :: lispflowmapping :: mappingservice.mapcache' with 21 classes [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.mapcache --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/mappingservice.mapcache-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.mapcache/1.20.0-SNAPSHOT/mappingservice.mapcache-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.mapcache/1.20.0-SNAPSHOT/mappingservice.mapcache-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.mapcache/1.20.0-SNAPSHOT/mappingservice.mapcache-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/mapcache/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.mapcache/1.20.0-SNAPSHOT/mappingservice.mapcache-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.mapcache --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.mapcache/1.20.0-SNAPSHOT/mappingservice.mapcache-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] -------< org.opendaylight.lispflowmapping:mappingservice.config >------- [INFO] Building ODL :: lispflowmapping :: mappingservice.config 1.20.0-SNAPSHOT [10/24] [INFO] from mappingservice/config/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.config --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.config --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.config --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.config --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.config --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/config/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.config --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.config --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.config --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.config --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/config/src/main/resources [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.config --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug release 17] to target/classes [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.config >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.config --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.config <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.config --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.config --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/config/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.config --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.config --- [INFO] No tests to run. [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.config --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.config --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/config/target/mappingservice.config-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/config/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.config --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.config --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 22 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/config/target/bom.xml [INFO] attaching as mappingservice.config-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/config/target/bom.json [INFO] attaching as mappingservice.config-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.config --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.config --- [INFO] No dependency problems found [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.config --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.config --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.config --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.config --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/config/target/mappingservice.config-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.config/1.20.0-SNAPSHOT/mappingservice.config-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/config/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.config/1.20.0-SNAPSHOT/mappingservice.config-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/config/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.config/1.20.0-SNAPSHOT/mappingservice.config-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/config/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.config/1.20.0-SNAPSHOT/mappingservice.config-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.config --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.config/1.20.0-SNAPSHOT/mappingservice.config-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] ---< org.opendaylight.lispflowmapping:mappingservice.implementation >--- [INFO] Building ODL :: lispflowmapping :: mappingservice.implementation 1.20.0-SNAPSHOT [11/24] [INFO] from mappingservice/implementation/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.implementation --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.implementation --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.implementation --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.implementation --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.implementation --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.implementation --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.implementation --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.implementation --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.implementation --- [INFO] Copying 3 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.implementation --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 19 source files with javac [debug release 17] to target/classes [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/MappingSystem.java:[112,17] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/LispMappingService.java:[77,8] auto-closeable resource org.opendaylight.lispflowmapping.implementation.LispMappingService has a member method close() that could throw InterruptedException [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/LispMappingService.java:[115,69] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/lisp/MapServer.java:[98,91] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListener.java:[48,18] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/mdsal/AuthenticationKeyDataListener.java:[37,18] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/MappingService.java:[143,8] auto-closeable resource org.opendaylight.lispflowmapping.implementation.MappingService has a member method close() that could throw InterruptedException [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.implementation >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.implementation --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.implementation <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.implementation --- [INFO] BugInstance size is 33 [INFO] Error size is 0 [INFO] Total bugs: 33 [ERROR] Low: Overridable method onAddMapping is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onGotMapNotify is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onGotMapReply is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onMappingKeepAlive is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onRequestMapping is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onXtrReplyMapping is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method onXtrRequestMapping is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 114] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method registerClusterSingletonService is called from constructor new org.opendaylight.lispflowmapping.implementation.LispMappingService(IMappingService, ClusterSingletonServiceProvider, RpcService, NotificationService). [org.opendaylight.lispflowmapping.implementation.LispMappingService] At LispMappingService.java:[line 124] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Medium: Unread field: org.opendaylight.lispflowmapping.implementation.MappingService.iterateMask; should this field be static? [org.opendaylight.lispflowmapping.implementation.MappingService] At MappingService.java:[line 163] SS_SHOULD_BE_STATIC [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.implementation.MappingServiceShell] In MappingServiceShell.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Medium: Load of known null value in org.opendaylight.lispflowmapping.implementation.MappingSystem.handleMergedMapping(Eid) [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 414] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Possible null pointer dereference of mappingData in org.opendaylight.lispflowmapping.implementation.MappingSystem.removeSbMapping(Eid, MappingData) [org.opendaylight.lispflowmapping.implementation.MappingSystem, org.opendaylight.lispflowmapping.implementation.MappingSystem] Dereferenced at MappingSystem.java:[line 545]Known null at MappingSystem.java:[line 534] NP_NULL_ON_SOME_PATH [ERROR] High: Non-virtual method call in org.opendaylight.lispflowmapping.implementation.MappingSystem.handleMergedMapping(Eid) passes null for non-null parameter of removeSbMapping(Eid, MappingData) [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 414] NP_NULL_PARAM_DEREF_NONVIRTUAL [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 300] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 613] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] Medium: org.opendaylight.lispflowmapping.implementation.MappingSystem.mergeNegativePrefixes(Eid) makes inefficient use of keySet iterator instead of entrySet iterator [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 734] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.opendaylight.lispflowmapping.implementation.MappingSystem.prettyPrintSubscribers(Map) makes inefficient use of keySet iterator instead of entrySet iterator [org.opendaylight.lispflowmapping.implementation.MappingSystem] At MappingSystem.java:[line 942] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Useless condition: it's known that priority != 255 (0xff) at this point [org.opendaylight.lispflowmapping.implementation.lisp.MapResolver] At MapResolver.java:[line 293] UC_USELESS_CONDITION [ERROR] Low: Unread field: org.opendaylight.lispflowmapping.implementation.lisp.MapResolver.authenticate [org.opendaylight.lispflowmapping.implementation.lisp.MapResolver] At MapResolver.java:[line 71] URF_UNREAD_FIELD [ERROR] Low: Overridable method registerListener is called from constructor new org.opendaylight.lispflowmapping.implementation.lisp.MapServer(IMappingService, boolean, IMapNotifyHandler, NotificationService). [org.opendaylight.lispflowmapping.implementation.lisp.MapServer] At MapServer.java:[line 98] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.implementation.lisp.MapServer] At MapServer.java:[line 265] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] Low: Private method org.opendaylight.lispflowmapping.implementation.lisp.MapServer.handleSmr(Eid, Set) is never called [org.opendaylight.lispflowmapping.implementation.lisp.MapServer] At MapServer.java:[lines 229-237] UPM_UNCALLED_PRIVATE_METHOD [ERROR] Medium: Synchronization performed on java.util.concurrent.ConcurrentHashMap in org.opendaylight.lispflowmapping.implementation.lisp.MapServer$SmrScheduler.cancelExistingFuturesForEid(Eid) [org.opendaylight.lispflowmapping.implementation.lisp.MapServer$SmrScheduler] At MapServer.java:[line 359] JLM_JSR166_UTILCONCURRENT_MONITORENTER [ERROR] Medium: org.opendaylight.lispflowmapping.implementation.lisp.MapServer$SmrScheduler.cancelExistingFuturesForEid(Eid) makes inefficient use of keySet iterator instead of entrySet iterator [org.opendaylight.lispflowmapping.implementation.lisp.MapServer$SmrScheduler] At MapServer.java:[line 365] WMI_WRONG_MAP_ITERATOR [ERROR] Low: AbstractDataListener.broker not initialized in constructor and dereferenced in org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener.registerDataChangeListener() [org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener, org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener] At AbstractDataListener.java:[line 29]Another occurrence at AbstractDataListener.java:[line 31] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: AbstractDataListener.configRegistration not initialized in constructor and dereferenced in org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener.closeDataChangeListener() [org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener] At AbstractDataListener.java:[line 36] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: AbstractDataListener.operRegistration not initialized in constructor and dereferenced in org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener.closeDataChangeListener() [org.opendaylight.lispflowmapping.implementation.mdsal.AbstractDataListener] At AbstractDataListener.java:[line 37] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: Overridable method registerDataChangeListener is called from constructor new org.opendaylight.lispflowmapping.implementation.mdsal.AuthenticationKeyDataListener(DataBroker, IMappingSystem). [org.opendaylight.lispflowmapping.implementation.mdsal.AuthenticationKeyDataListener] At AuthenticationKeyDataListener.java:[line 42] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method registerDataChangeListener is called from constructor new org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener(DataBroker, IMappingSystem, NotificationPublishService). [org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener] At MappingDataListener.java:[line 54] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Medium: Unread field: org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener.isMaster; should this field be static? [org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener] At MappingDataListener.java:[line 45] SS_SHOULD_BE_STATIC [ERROR] Low: Unread field: org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener.notificationPublishService [org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListener] At MappingDataListener.java:[line 58] URF_UNREAD_FIELD [ERROR] High: Boxing/unboxing to parse a primitive org.opendaylight.lispflowmapping.implementation.util.LispNotificationHelper.getTransportAddressFromRloc(Rloc) [org.opendaylight.lispflowmapping.implementation.util.LispNotificationHelper, org.opendaylight.lispflowmapping.implementation.util.LispNotificationHelper] At LispNotificationHelper.java:[line 85]Another occurrence at LispNotificationHelper.java:[line 94] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] Medium: Suspicious comparison of Boolean references in org.opendaylight.lispflowmapping.implementation.util.MappingMergeUtil.mergeCommonMappingRecordFields(MappingRecordBuilder, MappingRecord) [org.opendaylight.lispflowmapping.implementation.util.MappingMergeUtil] At MappingMergeUtil.java:[line 64] RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.implementation --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.implementation --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 10 source files with javac [debug release 17] to target/test-classes [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListenerTest.java:[128,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListenerTest.java:[162,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListenerTest.java:[194,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListenerTest.java:[238,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/MappingDataListenerTest.java:[239,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/util/MappingMergeUtilTest.java:[249,27] redundant cast to short [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/util/MappingMergeUtilTest.java:[253,25] redundant cast to short [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/MappingSystemTest.java:[181,94] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/MappingSystemTest.java:[353,96] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/timebucket/TimeBucketWheelUnitTest.java:[213,70] unchecked cast required: java.util.List found: java.lang.Object [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/timebucket/TimeBucketWheelUnitTest.java:[224,93] unchecked cast required: java.util.concurrent.ConcurrentHashMap found: java.lang.Object [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/MappingServiceTest.java:[412,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/LispMappingServiceTest.java:[261,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/mdsal/AuthenticationKeyDataListenerTest.java:[146,16] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.implementation --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.implementation.MappingSystemTest [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.015 s -- in org.opendaylight.lispflowmapping.implementation.MappingSystemTest [INFO] Running org.opendaylight.lispflowmapping.implementation.timebucket.TimeBucketWheelUnitTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.089 s -- in org.opendaylight.lispflowmapping.implementation.timebucket.TimeBucketWheelUnitTest [INFO] Running org.opendaylight.lispflowmapping.implementation.lisp.MapServerTest [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.360 s -- in org.opendaylight.lispflowmapping.implementation.lisp.MapServerTest [INFO] Running org.opendaylight.lispflowmapping.implementation.lisp.MapResolverTest [WARNING] Tests run: 8, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.279 s -- in org.opendaylight.lispflowmapping.implementation.lisp.MapResolverTest [INFO] Running org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListenerTest [WARNING] Tests run: 8, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.091 s -- in org.opendaylight.lispflowmapping.implementation.mdsal.MappingDataListenerTest [INFO] Running org.opendaylight.lispflowmapping.implementation.mdsal.AuthenticationKeyDataListenerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s -- in org.opendaylight.lispflowmapping.implementation.mdsal.AuthenticationKeyDataListenerTest [INFO] Running org.opendaylight.lispflowmapping.implementation.util.LispNotificationHelperTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s -- in org.opendaylight.lispflowmapping.implementation.util.LispNotificationHelperTest [INFO] Running org.opendaylight.lispflowmapping.implementation.util.MappingMergeUtilTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in org.opendaylight.lispflowmapping.implementation.util.MappingMergeUtilTest [INFO] Running org.opendaylight.lispflowmapping.implementation.LispMappingServiceTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.342 s -- in org.opendaylight.lispflowmapping.implementation.LispMappingServiceTest [INFO] Running org.opendaylight.lispflowmapping.implementation.MappingServiceTest [INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.245 s -- in org.opendaylight.lispflowmapping.implementation.MappingServiceTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 123, Failures: 0, Errors: 0, Skipped: 7 [INFO] [INFO] [INFO] --- copy-files:13.0.11:copy-files (default) @ mappingservice.implementation --- [INFO] [INFO] --- bundle:5.1.9:bundle (default-bundle) @ mappingservice.implementation --- [INFO] Building bundle: /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/mappingservice.implementation-1.20.0-SNAPSHOT.jar [INFO] Writing manifest: /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ mappingservice.implementation --- [INFO] Skipping javadoc generation [INFO] [INFO] --- cyclonedx:2.7.11:makeBom (default) @ mappingservice.implementation --- [INFO] CycloneDX: Resolving Dependencies [INFO] CycloneDX: Creating BOM version 1.4 with 41 component(s) [INFO] CycloneDX: Writing and validating BOM (XML): /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/bom.xml [INFO] attaching as mappingservice.implementation-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] CycloneDX: Writing and validating BOM (JSON): /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/bom.json [INFO] attaching as mappingservice.implementation-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- duplicate-finder:2.0.1:check (find-duplicate-classpath-entries) @ mappingservice.implementation --- [INFO] Skipping duplicate-finder execution! [INFO] [INFO] --- dependency:3.6.1:analyze-only (analyze-declarations) @ mappingservice.implementation --- [WARNING] Used undeclared dependencies found: [WARNING] org.opendaylight.yangtools:concepts:jar:13.0.2:compile [WARNING] org.opendaylight.mdsal.binding.model.ietf:rfc6991-ietf-yang-types:jar:13.0.1:compile [WARNING] org.opendaylight.yangtools:yang-common:jar:13.0.2:compile [WARNING] org.opendaylight.mdsal:mdsal-binding-api:jar:13.0.1:compile [WARNING] org.apache.commons:commons-lang3:jar:3.14.0:compile [WARNING] com.google.guava:guava:jar:32.1.3-jre:compile [WARNING] org.opendaylight.mdsal:yang-binding:jar:13.0.1:compile [WARNING] org.powermock:powermock-core:jar:2.0.9:test [WARNING] org.eclipse.jdt:org.eclipse.jdt.annotation:jar:2.2.800:compile [WARNING] org.opendaylight.mdsal:mdsal-common-api:jar:13.0.1:compile [WARNING] org.opendaylight.mdsal.binding.model.ietf:rfc6991-ietf-inet-types:jar:13.0.1:compile [WARNING] org.powermock:powermock-reflect:jar:2.0.9:test [WARNING] Unused declared dependencies found: [WARNING] org.opendaylight.mdsal:mdsal-singleton-impl:jar:13.0.1:compile [WARNING] Non-test scoped test only dependencies found: [WARNING] org.opendaylight.mdsal.binding.model.ietf:rfc6991-ietf-yang-types:jar:13.0.1:compile [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ mappingservice.implementation --- [INFO] Skipping source per configuration. [INFO] [INFO] --- modernizer:2.7.0:modernizer (modernizer) @ mappingservice.implementation --- [INFO] [INFO] --- jacoco:0.8.11:report (report) @ mappingservice.implementation --- [INFO] Loading execution data file /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/code-coverage/jacoco.exec [INFO] Analyzed bundle 'ODL :: lispflowmapping :: mappingservice.implementation' with 20 classes [INFO] [INFO] --- install:2.5.2:install (default-install) @ mappingservice.implementation --- [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/mappingservice.implementation-1.20.0-SNAPSHOT.jar to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.implementation/1.20.0-SNAPSHOT/mappingservice.implementation-1.20.0-SNAPSHOT.jar [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/implementation/pom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.implementation/1.20.0-SNAPSHOT/mappingservice.implementation-1.20.0-SNAPSHOT.pom [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/bom.xml to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.implementation/1.20.0-SNAPSHOT/mappingservice.implementation-1.20.0-SNAPSHOT-cyclonedx.xml [INFO] Installing /w/workspace/lispflowmapping-sonar/mappingservice/implementation/target/bom.json to /tmp/r/org/opendaylight/lispflowmapping/mappingservice.implementation/1.20.0-SNAPSHOT/mappingservice.implementation-1.20.0-SNAPSHOT-cyclonedx.json [INFO] [INFO] --- bundle:5.1.9:install (default-install) @ mappingservice.implementation --- [INFO] Installing org/opendaylight/lispflowmapping/mappingservice.implementation/1.20.0-SNAPSHOT/mappingservice.implementation-1.20.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] -----< org.opendaylight.lispflowmapping:mappingservice.southbound >----- [INFO] Building ODL :: lispflowmapping :: mappingservice.southbound 1.20.0-SNAPSHOT [12/24] [INFO] from mappingservice/southbound/pom.xml [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ mappingservice.southbound --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ mappingservice.southbound --- [INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-banned-dependencies) @ mappingservice.southbound --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- git-commit-id:7.0.0:revision (get-git-infos) @ mappingservice.southbound --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (pre-unit-test) @ mappingservice.southbound --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/w/workspace/lispflowmapping-sonar/mappingservice/southbound/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/** [INFO] [INFO] --- checkstyle:3.3.1:check (check-license) @ mappingservice.southbound --- [INFO] [INFO] --- checkstyle:3.3.1:check (default) @ mappingservice.southbound --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- dependency:3.6.1:copy (unpack-license) @ mappingservice.southbound --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mappingservice.southbound --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/resources [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ mappingservice.southbound --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 12 source files with javac [debug release 17] to target/classes [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'namespace()' in type 'org.osgi.annotation.bundle.Requirement': class file for org.osgi.annotation.bundle.Requirement not found [WARNING] Cannot find annotation method 'name()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'version()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'resolution()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] unknown enum constant org.osgi.annotation.bundle.Requirement.Resolution.OPTIONAL reason: class file for org.osgi.annotation.bundle.Requirement$Resolution not found [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'namespace()' in type 'org.osgi.annotation.bundle.Requirement': class file for org.osgi.annotation.bundle.Requirement not found [WARNING] Cannot find annotation method 'name()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'version()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'resolution()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] unknown enum constant org.osgi.annotation.bundle.Requirement.Resolution.OPTIONAL reason: class file for org.osgi.annotation.bundle.Requirement$Resolution not found [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'namespace()' in type 'org.osgi.annotation.bundle.Requirement': class file for org.osgi.annotation.bundle.Requirement not found [WARNING] Cannot find annotation method 'name()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'version()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] Cannot find annotation method 'resolution()' in type 'org.osgi.annotation.bundle.Requirement' [WARNING] unknown enum constant org.osgi.annotation.bundle.Requirement.Resolution.OPTIONAL reason: class file for org.osgi.annotation.bundle.Requirement$Resolution not found [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/LispSouthboundPlugin.java:[78,8] auto-closeable resource org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin has a member method close() that could throw InterruptedException [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/LispSouthboundPlugin.java:[406,63] found raw type: org.opendaylight.yangtools.yang.binding.Notification missing type arguments for generic class org.opendaylight.yangtools.yang.binding.Notification [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/LispSouthboundPlugin.java:[142,13] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/lisp/LispSouthboundHandler.java:[72,8] auto-closeable resource org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler has a member method close() that could throw InterruptedException [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/ConcurrentLispSouthboundStats.java:[29,19] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/lisp/AuthenticationKeyDataListener.java:[52,78] possible 'this' escape before subclass is fully initialized [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/LispSouthboundRPC.java:[86,13] possible 'this' escape before subclass is fully initialized [INFO] [INFO] >>> spotbugs:4.8.3.1:check (analyze-compile) > :spotbugs @ mappingservice.southbound >>> [INFO] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ mappingservice.southbound --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.3.1:check (analyze-compile) < :spotbugs @ mappingservice.southbound <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.3.1:check (analyze-compile) @ mappingservice.southbound --- [INFO] BugInstance size is 21 [INFO] Error size is 0 [INFO] Total bugs: 21 [ERROR] Low: Overridable method resetStats is called from constructor new org.opendaylight.lispflowmapping.southbound.ConcurrentLispSouthboundStats(). [org.opendaylight.lispflowmapping.southbound.ConcurrentLispSouthboundStats] At ConcurrentLispSouthboundStats.java:[line 29] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method init is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin(DataBroker, NotificationPublishService, ClusterSingletonServiceProvider, LispSouthboundPlugin$Configuration). [org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin] At LispSouthboundPlugin.java:[line 142] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin] In LispSouthboundPlugin.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Overridable method getStats is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method resetStats is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method sendMapNotify is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method sendMapRegister is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method sendMapReply is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method sendMapRequest is called from constructor new org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC(LispSouthboundPlugin, RpcProviderService). [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] At LispSouthboundRPC.java:[line 85] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC] In LispSouthboundRPC.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Overridable method registerTreeChangeListener is called from constructor new org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListener(DataBroker, AuthKeyDb). [org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListener] At AuthenticationKeyDataListener.java:[line 51] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler] At LispSouthboundHandler.java:[line 109] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler] At LispSouthboundHandler.java:[line 478] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler] In LispSouthboundHandler.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Medium: Unread field: org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler.isReadFromChannelEnabled; should this field be static? [org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandler] At LispSouthboundHandler.java:[line 79] SS_SHOULD_BE_STATIC [ERROR] High: Format should be constant. Use placeholder to reduce the needless cost of parameter construction. see http://www.slf4j.org/faq.html#logging_performance [org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandler] At LispXtrSouthboundHandler.java:[line 116] SLF4J_FORMAT_SHOULD_BE_CONST [ERROR] Medium: To prevent illegal usage, logger should be private field. Change this field (LOG) to private field. [org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandler] In LispXtrSouthboundHandler.java SLF4J_LOGGER_SHOULD_BE_PRIVATE [ERROR] Low: Should org.opendaylight.lispflowmapping.southbound.lisp.cache.MapRegisterPartialDeserializer.extractEidPrefix(ByteBuffer, int) return a zero length array rather than null? [org.opendaylight.lispflowmapping.southbound.lisp.cache.MapRegisterPartialDeserializer] At MapRegisterPartialDeserializer.java:[line 176] PZLA_PREFER_ZERO_LENGTH_ARRAYS [ERROR] Low: Useless condition: it's known that xtrSiteIdPresent == true at this point [org.opendaylight.lispflowmapping.southbound.lisp.cache.MapRegisterPartialDeserializer] At MapRegisterPartialDeserializer.java:[line 145] UC_USELESS_CONDITION [ERROR] Medium: Dead store to inetAddress in org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper.getIpAddressBinaryFromInetAddress(InetAddress) [org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper] At LispNotificationHelper.java:[line 57] DLS_DEAD_LOCAL_STORE [ERROR] High: Possible null pointer dereference of address in org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper.getIpAddressBinaryFromInetAddress(InetAddress) [org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper, org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper, org.opendaylight.lispflowmapping.southbound.util.LispNotificationHelper] Dereferenced at LispNotificationHelper.java:[line 60]Null value at LispNotificationHelper.java:[line 56]Known null at LispNotificationHelper.java:[line 57] NP_NULL_ON_SOME_PATH [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ mappingservice.southbound --- [INFO] skip non existing resourceDirectory /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ mappingservice.southbound --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 7 source files with javac [debug release 17] to target/test-classes [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found [WARNING] Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressFBWarnings' [WARNING] /w/workspace/lispflowmapping-sonar/mappingservice/southbound/src/test/java/org/opendaylight/lispflowmapping/southbound/lisp/AuthenticationKeyDataListenerTest.java:[155,15] found raw type: org.opendaylight.mdsal.binding.api.DataObjectModification missing type arguments for generic class org.opendaylight.mdsal.binding.api.DataObjectModification [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ mappingservice.southbound --- [INFO] Surefire report directory: /w/workspace/lispflowmapping-sonar/mappingservice/southbound/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended [ERROR] Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 2.065 s <<< FAILURE! -- in org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.getStatsTest -- Time elapsed: 0.460 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.resetStatsTest -- Time elapsed: 0.113 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapRequestTest_inputNotNull -- Time elapsed: 0.074 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.resetStatsTest_withNullStats -- Time elapsed: 0.070 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapNotifyTest_nullInput -- Time elapsed: 0.072 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.getStatsTest_withNullStats -- Time elapsed: 0.071 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapRequestTest_nullInput -- Time elapsed: 0.063 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapReplyTest_inputNotNull -- Time elapsed: 0.061 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapRegisterTest_nullInput -- Time elapsed: 0.059 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapReplyTest_nullInput -- Time elapsed: 0.062 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapNotifyTest_inputNotNull -- Time elapsed: 0.065 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundRpcTest.sendMapRegisterTest_inputNotNull -- Time elapsed: 0.061 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [INFO] Running org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandlerTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.039 s <<< FAILURE! -- in org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandlerTest [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandlerTest -- Time elapsed: 0.039 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.opendaylight.lispflowmapping.southbound.lisp.LispSouthboundHandlerTest.initTests(LispSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 6 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 6 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 21 more [INFO] Running org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.367 s <<< FAILURE! -- in org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.otherTest -- Time elapsed: 0.106 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.initTest(LispXtrSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 7 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 7 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 22 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.handlePacketTest__withMapRequest_withNoItrRloc -- Time elapsed: 0.066 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.initTest(LispXtrSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 7 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 7 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 22 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.handlePacketTest_withMapReply -- Time elapsed: 0.061 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.initTest(LispXtrSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 7 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 7 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 22 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.channelReadCompleteTest -- Time elapsed: 0.063 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.initTest(LispXtrSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 7 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 7 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 22 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.handlePacketTest_withMapRequest -- Time elapsed: 0.062 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at org.opendaylight.lispflowmapping.southbound.lisp.LispXtrSouthboundHandlerTest.initTest(LispXtrSouthboundHandlerTest.java:124) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 7 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 7 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 22 more [INFO] Running org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest [ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.416 s <<< FAILURE! -- in org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.onDataTreeChangedTest_write -- Time elapsed: 0.187 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.onDataTreeChangedTest_nullModType -- Time elapsed: 0.039 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.onDataTreeChangedTest_delete_Ipv4PrefixEid -- Time elapsed: 0.041 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.closeDataChangeListenerTest -- Time elapsed: 0.047 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.onDataTreeChangedTest_subtreeModified -- Time elapsed: 0.044 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [ERROR] org.opendaylight.lispflowmapping.southbound.lisp.AuthenticationKeyDataListenerTest.onDataTreeChangedTest_delete_BinaryEid -- Time elapsed: 0.048 s <<< ERROR! org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:50) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 5 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:74) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28) at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25) at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44) at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:73) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47) at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81) ... 5 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 27 more [INFO] Running org.opendaylight.lispflowmapping.southbound.ConcurrentLispSouthboundStatsTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.010 s -- in org.opendaylight.lispflowmapping.southbound.ConcurrentLispSouthboundStatsTest [INFO] Running org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.198 s <<< FAILURE! -- in org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.setLispAddressTest_withChangedAddress -- Time elapsed: 0.188 s <<< ERROR! java.lang.ExceptionInInitializerError at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) ... 6 more Caused by: java.lang.IllegalStateException: Byte Buddy could not instrument all classes within the mock's type hierarchy This problem should never occur for javac-compiled classes. This problem has been observed for classes that are: - Compiled by older versions of scalac - Classes that are part of the Android distribution at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:284) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:217) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:396) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:355) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:334) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:88) at org.mockito.Mockito.mock(Mockito.java:2037) at org.mockito.Mockito.mock(Mockito.java:1952) ... 6 more Caused by: java.lang.IllegalArgumentException: Java 21 (65) is not supported by the current version of Byte Buddy which officially supports Java 20 (64) - update Byte Buddy or set net.bytebuddy.experimental as a VM property at net.bytebuddy.utility.OpenedClassReader.of(OpenedClassReader.java:96) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4011) at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2224) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4050) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3734) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:401) at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:280) ... 21 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.shouldListenOnXtrPortTest_false -- Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.closeTest -- Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.handleSerializedLispBufferTest_withIpv4 -- Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.handleSerializedLispBufferTest_withIpv6 -- Time elapsed: 0 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.setXtrPortTest -- Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.setLispAddressTest_withEqualAddress -- Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [ERROR] org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.shouldListenOnXtrPortTest_true -- Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) Caused by: java.lang.ExceptionInInitializerError: Exception org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class io.netty.bootstrap.Bootstrap. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class io.netty.bootstrap.Bootstrap, class io.netty.bootstrap.AbstractBootstrap, class java.lang.Object, interface java.lang.Cloneable] [in thread "main"] at org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest.(LispSouthboundPluginTest.java:49) ... 5 more [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] LispSouthboundPluginTest.closeTest » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.handleSerializedLispBufferTest_withIpv4 » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.handleSerializedLispBufferTest_withIpv6 » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.setLispAddressTest_withChangedAddress » ExceptionInInitializer [ERROR] LispSouthboundPluginTest.setLispAddressTest_withEqualAddress » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.setXtrPortTest » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.shouldListenOnXtrPortTest_false » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundPluginTest.shouldListenOnXtrPortTest_true » NoClassDefFound Could not initialize class org.opendaylight.lispflowmapping.southbound.LispSouthboundPluginTest [ERROR] LispSouthboundRpcTest.getStatsTest » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.getStatsTest_withNullStats » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.resetStatsTest » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.resetStatsTest_withNullStats » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapNotifyTest_inputNotNull » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapNotifyTest_nullInput » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapRegisterTest_inputNotNull » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapRegisterTest_nullInput » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapReplyTest_inputNotNull » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapReplyTest_nullInput » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapRequestTest_inputNotNull » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispSouthboundRpcTest.sendMapRequestTest_nullInput » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] AuthenticationKeyDataListenerTest.closeDataChangeListenerTest » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] AuthenticationKeyDataListenerTest.onDataTreeChangedTest_delete_BinaryEid » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] AuthenticationKeyDataListenerTest.onDataTreeChangedTest_delete_Ipv4PrefixEid » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] AuthenticationKeyDataListenerTest.onDataTreeChangedTest_nullModType » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] AuthenticationKeyDataListenerTest.onDataTreeChangedTest_subtreeModified » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] AuthenticationKeyDataListenerTest.onDataTreeChangedTest_write » Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] LispSouthboundHandlerTest.initTests:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class org.opendaylight.lispflowmapping.mapcache.AuthKeyDb, class java.lang.Object, interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb] [ERROR] LispXtrSouthboundHandlerTest.initTest:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispXtrSouthboundHandlerTest.initTest:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispXtrSouthboundHandlerTest.initTest:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispXtrSouthboundHandlerTest.initTest:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [ERROR] LispXtrSouthboundHandlerTest.initTest:124 Mockito Mockito cannot mock this class: class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Ubuntu JVM vendor version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-Ubuntu-1ubuntu220.04 JVM info : mixed mode, sharing OS name : Linux OS version : 5.4.0-190-generic You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService, class org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin, interface org.opendaylight.yangtools.concepts.Identifiable, class java.lang.Object, interface org.opendaylight.lispflowmapping.type.sbplugin.IConfigLispSouthboundPlugin] [INFO] [ERROR] Tests run: 40, Failures: 0, Errors: 32, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for lispflowmapping 1.20.0-SNAPSHOT: [INFO] [INFO] ODL :: lispflowmapping :: lispflowmapping-commons .. SUCCESS [ 7.720 s] [INFO] ODL :: lispflowmapping :: common.build.tools ....... SUCCESS [ 1.962 s] [INFO] ODL :: lispflowmapping :: lispflowmapping-artifacts SUCCESS [ 0.092 s] [INFO] ODL :: lispflowmapping :: mappingservice.lisp-proto SUCCESS [ 27.492 s] [INFO] ODL :: lispflowmapping :: mappingservice.api ....... SUCCESS [ 6.206 s] [INFO] ODL :: lispflowmapping :: mappingservice-parent .... SUCCESS [ 0.338 s] [INFO] ODL :: lispflowmapping :: mappingservice.inmemorydb SUCCESS [ 6.522 s] [INFO] ODL :: lispflowmapping :: mappingservice.dsbackend . SUCCESS [ 9.076 s] [INFO] ODL :: lispflowmapping :: mappingservice.mapcache .. SUCCESS [ 8.173 s] [INFO] ODL :: lispflowmapping :: mappingservice.config .... SUCCESS [ 4.381 s] [INFO] ODL :: lispflowmapping :: mappingservice.implementation SUCCESS [ 19.352 s] [INFO] ODL :: lispflowmapping :: mappingservice.southbound FAILURE [ 10.739 s] [INFO] ODL :: lispflowmapping :: mappingservice.shell ..... SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-models SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-inmemorydb SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-southbound SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-mappingservice SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-msmr . SKIPPED [INFO] ODL :: lispflowmapping :: odl-lispflowmapping-mappingservice-shell SKIPPED [INFO] ODL :: lispflowmapping :: features-lispflowmapping . SKIPPED [INFO] ODL :: lispflowmapping :: features-aggregator ...... SKIPPED [INFO] ODL :: lispflowmapping :: lispflowmapping-karaf .... SKIPPED [INFO] ODL :: lispflowmapping :: mappingservice.integrationtest SKIPPED [INFO] lispflowmapping .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:47 min [INFO] Finished at: 2024-08-03T10:23:56Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project mappingservice.southbound: [ERROR] [ERROR] Please refer to /w/workspace/lispflowmapping-sonar/mappingservice/southbound/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project mappingservice.southbound: Please refer to /w/workspace/lispflowmapping-sonar/mappingservice/southbound/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) Caused by: org.apache.maven.plugin.MojoFailureException: Please refer to /w/workspace/lispflowmapping-sonar/mappingservice/southbound/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:247) at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:542) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1102) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:910) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mappingservice.southbound Build step 'Conditional steps (multiple)' marked build as failure [PostBuildScript] - [INFO] Executing post build scripts. [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins2691244852023174363.sh ---> sysstat.sh [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins12342038894783502182.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/lispflowmapping-sonar + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/lispflowmapping-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/lispflowmapping-sonar ']' + mkdir -p /w/workspace/lispflowmapping-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/lispflowmapping-sonar/archives/ [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins8093357122168783291.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/lispflowmapping-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OopK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OopK/bin to PATH INFO: Running in OpenStack, capturing instance metadata [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins12516256812512638819.sh provisioning config files... Could not find credentials [logs] for lispflowmapping-sonar #423 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/lispflowmapping-sonar@tmp/config13248462908489741087tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] Run condition [Regular expression match] enabling perform for step [Provide Configuration files] provisioning config files... copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins7894231506834574435.sh ---> create-netrc.sh WARN: Log server credential not found. [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins5309496150228750561.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/lispflowmapping-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OopK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OopK/bin to PATH [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins5100249961195616367.sh ---> sudo-logs.sh Archiving 'sudo' log.. [lispflowmapping-sonar] $ /bin/bash /tmp/jenkins10942379610121049657.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/lispflowmapping-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OopK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-OopK/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [lispflowmapping-sonar] $ /bin/bash -l /tmp/jenkins14177389538476711988.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 3.10.13 * 3.11.7 (set by /w/workspace/lispflowmapping-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OopK from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OopK/bin to PATH WARNING: Nexus logging server not set INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/lispflowmapping-sonar/423/ INFO: archiving logs to S3 ---> uname -a: Linux prd-ubuntu2004-docker-4c-4g-7161 5.4.0-190-generic #210-Ubuntu SMP Fri Jul 5 17:03:38 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 40 bits physical, 48 bits virtual CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 128 KiB L1i cache: 128 KiB L2 cache: 2 MiB L3 cache: 64 MiB NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Vulnerable Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 1.1M 1.6G 1% /run /dev/vda1 78G 9.1G 69G 12% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/loop0 62M 62M 0 100% /snap/core20/1405 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 /dev/vda15 105M 6.1M 99M 6% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 15997 661 12533 1 2803 14996 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:b6:72:67 brd ff:ff:ff:ff:ff:ff inet 10.30.171.45/23 brd 10.30.171.255 scope global dynamic ens3 valid_lft 86157sec preferred_lft 86157sec inet6 fe80::f816:3eff:feb6:7267/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1458 qdisc noqueue state DOWN group default link/ether 02:42:98:13:7e:6f brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 5.4.0-190-generic (prd-ubuntu2004-docker-4c-4g-7161) 08/03/24 _x86_64_ (4 CPU) 10:20:28 LINUX RESTART (4 CPU) 10:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:22:01 325.36 104.52 220.84 0.00 5068.04 13805.66 0.00 10:23:01 318.23 50.47 267.76 0.00 2960.57 17939.29 0.00 10:24:01 13.68 0.60 13.08 0.00 24.66 2388.80 0.00 Average: 219.10 51.87 167.23 0.00 2684.56 11378.05 0.00 10:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:22:01 13300932 15393460 584888 3.57 74356 2211952 1312720 7.53 840640 1959384 209932 10:23:01 11669564 14133920 1829424 11.17 87840 2556708 2442020 14.01 2209488 2191188 31820 10:24:01 12864916 15376968 585164 3.57 89660 2601180 1282072 7.36 991828 2214388 16060 Average: 12611804 14968116 999825 6.10 83952 2456613 1678937 9.63 1347319 2121653 85937 10:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:22:01 ens3 315.71 209.35 1695.89 67.84 0.00 0.00 0.00 0.00 10:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:22:01 lo 1.47 1.47 0.17 0.17 0.00 0.00 0.00 0.00 10:23:01 ens3 295.13 240.43 3305.95 34.78 0.00 0.00 0.00 0.00 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 10:24:01 ens3 68.89 62.26 306.63 17.79 0.00 0.00 0.00 0.00 10:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:24:01 lo 1.40 1.40 0.14 0.14 0.00 0.00 0.00 0.00 Average: ens3 226.58 170.68 1769.48 40.14 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 1.53 1.53 0.16 0.16 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-190-generic (prd-ubuntu2004-docker-4c-4g-7161) 08/03/24 _x86_64_ (4 CPU) 10:20:28 LINUX RESTART (4 CPU) 10:21:01 CPU %user %nice %system %iowait %steal %idle 10:22:01 all 21.97 13.34 11.33 3.81 0.10 49.44 10:22:01 0 18.07 13.08 11.58 3.29 0.10 53.87 10:22:01 1 32.90 13.26 12.22 3.10 0.08 38.44 10:22:01 2 15.46 13.93 10.68 5.10 0.10 54.73 10:22:01 3 21.50 13.10 10.84 3.77 0.12 50.67 10:23:01 all 66.43 0.00 2.33 2.17 0.10 28.97 10:23:01 0 52.38 0.00 2.47 3.80 0.12 41.24 10:23:01 1 74.84 0.00 2.44 1.39 0.10 21.24 10:23:01 2 70.76 0.00 1.61 1.12 0.08 26.42 10:23:01 3 67.77 0.00 2.82 2.35 0.10 26.95 10:24:01 all 71.07 0.00 1.53 0.16 0.09 27.16 10:24:01 0 65.28 0.00 1.60 0.08 0.12 32.92 10:24:01 1 79.87 0.00 1.54 0.05 0.07 18.47 10:24:01 2 71.00 0.00 1.33 0.20 0.08 27.38 10:24:01 3 68.10 0.00 1.64 0.28 0.10 29.87 Average: all 53.18 4.44 5.06 2.04 0.10 35.18 Average: 0 45.21 4.37 5.22 2.40 0.11 42.70 Average: 1 62.61 4.40 5.38 1.51 0.08 26.02 Average: 2 52.43 4.64 4.54 2.14 0.09 36.17 Average: 3 52.48 4.36 5.10 2.13 0.11 35.82