Triggered by Gerrit: https://gerrit.onap.org/r/c/cps/+/138652 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos8-docker-8c-8g-77062 (centos8-docker-8c-8g) in workspace /w/workspace/cps-sonar-verify The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/cps > git init /w/workspace/cps-sonar-verify # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/cps > git --version # timeout=10 > git --version # 'git version 2.39.1' using GIT_SSH to set credentials Gerrit user [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/cps-sonar-verify@tmp/jenkins-gitclient-ssh18018246899624808966.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git://cloud.onap.org/mirror/cps +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/cps # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/cps # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/cps using GIT_SSH to set credentials Gerrit user [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/cps-sonar-verify@tmp/jenkins-gitclient-ssh7063059708030963440.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git://cloud.onap.org/mirror/cps refs/changes/52/138652/19 # timeout=10 > git rev-parse 5dd12441c5fd7c03c2d127876f49a46f1e66e002^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision 5dd12441c5fd7c03c2d127876f49a46f1e66e002 (refs/changes/52/138652/19) > git config core.sparsecheckout # timeout=10 > git checkout -f 5dd12441c5fd7c03c2d127876f49a46f1e66e002 # timeout=10 Commit message: "XML content support on query data node" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk b16a1fee586c32e0d47c0473d45fe97d8167e91f # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [cps-sonar-verify] $ /bin/bash /tmp/jenkins4511934506089029338.sh ---> python-tools-install.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JSBm 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-JSBm/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-JSBm/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.41 botocore==1.35.41 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.0 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.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 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==2024.10.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.1 msgpack==1.1.0 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==4.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.3 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.3 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.26.6 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.14.2 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] [cps-sonar-verify] $ /bin/sh -xe /tmp/jenkins17335306836609887095.sh + echo 'Using SonarCloud' Using SonarCloud [cps-sonar-verify] $ /bin/sh -xe /tmp/jenkins3766485967007540071.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 on prd-centos8-docker-8c-8g-77062 [cps-sonar-verify] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=5dd12441c5fd7c03c2d127876f49a46f1e66e002 -DGERRIT_HOST=gerrit.onap.org -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_CHANGE_OWNER_EMAIL=ra00745022@techmahindra.com "-DGERRIT_EVENT_ACCOUNT_NAME=Rudrangi Anupriya" -DGERRIT_CHANGE_URL=https://gerrit.onap.org/r/c/cps/+/138652 -DGERRIT_PATCHSET_UPLOADER_EMAIL=ra00745022@techmahindra.com "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_EVENT_TYPE=patchset-created -DGERRIT_PROJECT=cps -DMAVEN_OPTS= -DGERRIT_CHANGE_NUMBER=138652 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Rudrangi Anupriya\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/52/138652/19 "-DGERRIT_PATCHSET_UPLOADER_NAME=Rudrangi Anupriya" '-DGERRIT_CHANGE_OWNER=\"Rudrangi Anupriya\" ' -DPROJECT=cps -DGERRIT_HASHTAGS= -DGERRIT_CHANGE_COMMIT_MESSAGE=WE1MIGNvbnRlbnQgc3VwcG9ydCBvbiBxdWVyeSBkYXRhIG5vZGUKCklzc3VlLUlEOiBDUFMtMjM1OQpDaGFuZ2UtSWQ6IEllYjdlZWI2NmNjYmIwMzcwMzYyNjEzMmM2ZDVjMmVhZGUwZTdjYjRiClNpZ25lZC1vZmYtYnk6IFJ1ZHJhbmdpIEFudXByaXlhIDxyYTAwNzQ1MDIyQHRlY2htYWhpbmRyYS5jb20+Cg== -DGERRIT_NAME=Primary -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=XML content support on query data node" -DSTREAM=master '-DGERRIT_EVENT_ACCOUNT=\"Rudrangi Anupriya\" ' -Dsha1=origin/master -DGERRIT_CHANGE_WIP_STATE=true -DGERRIT_CHANGE_ID=Ieb7eeb66ccbb03703626132c6d5c2eade0e7cb4b -DGERRIT_EVENT_HASH=976638430 -DGERRIT_VERSION=3.7.2 -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DGERRIT_EVENT_ACCOUNT_EMAIL=ra00745022@techmahindra.com -DGERRIT_PATCHSET_NUMBER=19 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar "-DGERRIT_CHANGE_OWNER_NAME=Rudrangi Anupriya" --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 11.0.18-ea, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.18.0.9-0.3.ea.el8.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-448.el8.x86_64", arch: "amd64", family: "unix" [cps-sonar-verify] $ /bin/sh -xe /tmp/jenkins15169984961311505799.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [cps-sonar-verify] $ /bin/sh /tmp/jenkins14373013493471420332.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected openjdk version "17.0.6-ea" 2023-01-17 LTS OpenJDK Runtime Environment (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS) OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk [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=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=True SCAN_DEV_BRANCH=True PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_cps [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/cps-sonar-verify@tmp/config16838395389327681288tmp copy managed file [cps-settings] to file:/w/workspace/cps-sonar-verify@tmp/config3234107521605140894tmp [cps-sonar-verify] $ /bin/bash -l /tmp/jenkins9474069219232958528.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/mvn36/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/cps-sonar-verify@tmp/config16838395389327681288tmp --settings /w/workspace/cps-sonar-verify@tmp/config3234107521605140894tmp --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.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.6-ea, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-448.el8.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.onap.cps:cps-rest:jar:3.5.4-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 177, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.onap.cps:cps-ncmp-rest:jar:3.5.4-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 211, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.onap.cps:cps-ncmp-rest-stub-service:jar:3.5.4-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.spockframework:spock-core:jar -> duplicate declaration of version (?) @ line 66, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] org.onap.cps:cps-dependencies [pom] [INFO] cps-bom [pom] [INFO] checkstyle [jar] [INFO] spotbugs [jar] [INFO] cps-parent [pom] [INFO] cps-events [jar] [INFO] cps-path-parser [jar] [INFO] cps-service [jar] [INFO] cps-rest [jar] [INFO] cps-ncmp-events [jar] [INFO] cps-ncmp-service [jar] [INFO] cps-ncmp-rest [jar] [INFO] cps-ncmp-rest-stub [pom] [INFO] cps-ncmp-rest-stub-service [jar] [INFO] cps-ncmp-rest-stub-app [jar] [INFO] cps-ri [jar] [INFO] integration-test [jar] [INFO] cps-application [jar] [INFO] policy-executor-stub [jar] [INFO] jacoco-report [jar] [INFO] cps [pom] [INFO] [INFO] -------------------< org.onap.cps:cps-dependencies >-------------------- [INFO] Building org.onap.cps:cps-dependencies 3.5.4-SNAPSHOT [1/21] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-dependencies --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ cps-dependencies --- [INFO] Installing /w/workspace/cps-sonar-verify/cps-dependencies/pom.xml to /tmp/r/org/onap/cps/cps-dependencies/3.5.4-SNAPSHOT/cps-dependencies-3.5.4-SNAPSHOT.pom [INFO] [INFO] ------------------------< org.onap.cps:cps-bom >------------------------ [INFO] Building cps-bom 3.5.4-SNAPSHOT [2/21] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-bom --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ cps-bom --- [INFO] Installing /w/workspace/cps-sonar-verify/cps-bom/pom.xml to /tmp/r/org/onap/cps/cps-bom/3.5.4-SNAPSHOT/cps-bom-3.5.4-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:checkstyle >----------------------- [INFO] Building checkstyle 3.5.4-SNAPSHOT [3/21] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ checkstyle --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ checkstyle --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ checkstyle --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ checkstyle --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/checkstyle/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ checkstyle --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ checkstyle --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ checkstyle --- [INFO] Building jar: /w/workspace/cps-sonar-verify/checkstyle/target/checkstyle-3.5.4-SNAPSHOT.jar [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (copyright-check) @ checkstyle --- ======================================================================================================================== Copyright Check Python Script: Error, Committer email is not included in config file. If your company is new to the project please make appropriate changes to project-committers-config.csv for Copyright Check to work. Exiting... ======================================================================================================================== [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ checkstyle --- [INFO] Installing /w/workspace/cps-sonar-verify/checkstyle/target/checkstyle-3.5.4-SNAPSHOT.jar to /tmp/r/org/onap/cps/checkstyle/3.5.4-SNAPSHOT/checkstyle-3.5.4-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/checkstyle/pom.xml to /tmp/r/org/onap/cps/checkstyle/3.5.4-SNAPSHOT/checkstyle-3.5.4-SNAPSHOT.pom [INFO] [INFO] -----------------------< org.onap.cps:spotbugs >------------------------ [INFO] Building spotbugs 3.5.4-SNAPSHOT [4/21] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spotbugs --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spotbugs --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spotbugs --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spotbugs --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/spotbugs/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spotbugs --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ spotbugs --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ spotbugs --- [INFO] Building jar: /w/workspace/cps-sonar-verify/spotbugs/target/spotbugs-3.5.4-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ spotbugs --- [INFO] Installing /w/workspace/cps-sonar-verify/spotbugs/target/spotbugs-3.5.4-SNAPSHOT.jar to /tmp/r/org/onap/cps/spotbugs/3.5.4-SNAPSHOT/spotbugs-3.5.4-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/spotbugs/pom.xml to /tmp/r/org/onap/cps/spotbugs/3.5.4-SNAPSHOT/spotbugs-3.5.4-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-parent >----------------------- [INFO] Building cps-parent 3.5.4-SNAPSHOT [5/21] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-parent --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ cps-parent --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ cps-parent --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ cps-parent --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-parent/target/code-coverage/jacoco-ut.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (default-prepare-agent) @ cps-parent --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-parent/target/jacoco.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ cps-parent --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ cps-parent --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (cps-java-style) @ cps-parent --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] >>> spotbugs-maven-plugin:4.4.2:check (analyze-compile) > :spotbugs @ cps-parent >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:spotbugs (spotbugs) @ cps-parent --- [INFO] [INFO] <<< spotbugs-maven-plugin:4.4.2:check (analyze-compile) < :spotbugs @ cps-parent <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:check (analyze-compile) @ cps-parent --- [INFO] [INFO] --- gmavenplus-plugin:1.9.0:compileTests (default) @ cps-parent --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ cps-parent --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ cps-parent --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-parent/target/code-coverage/jacoco-it.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ cps-parent --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ cps-parent --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:check (coverage-check) @ cps-parent --- [INFO] Skipping JaCoCo execution due to missing execution data file:/w/workspace/cps-sonar-verify/cps-parent/target/code-coverage/jacoco-ut.exec [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ cps-parent --- [INFO] Failsafe report directory: /w/workspace/cps-sonar-verify/cps-parent/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ cps-parent --- [INFO] Installing /w/workspace/cps-sonar-verify/cps-parent/pom.xml to /tmp/r/org/onap/cps/cps-parent/3.5.4-SNAPSHOT/cps-parent-3.5.4-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-events >----------------------- [INFO] Building cps-events 3.5.4-SNAPSHOT [6/21] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-events --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ cps-events --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ cps-events --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ cps-events --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-events/target/code-coverage/jacoco-ut.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (default-prepare-agent) @ cps-events --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-events/target/jacoco.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- jsonschema2pojo-maven-plugin:1.2.1:generate (default) @ cps-events --- [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ cps-events --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ cps-events --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (cps-java-style) @ cps-events --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cps-events --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-events/target/generated-sources/license [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-events/target/generated-resources/licenses [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ cps-events --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 2 source files with javac [debug release 17] to target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.4.2:check (analyze-compile) > :spotbugs @ cps-events >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:spotbugs (spotbugs) @ cps-events --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [java] WARNING: A terminally deprecated method in java.lang.System has been called [java] WARNING: System::setSecurityManager has been called by edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue (file:/tmp/r/com/github/spotbugs/spotbugs/4.2.3/spotbugs-4.2.3.jar) [java] WARNING: Please consider reporting this to the maintainers of edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue [java] WARNING: System::setSecurityManager will be removed in a future release [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.4.2:check (analyze-compile) < :spotbugs @ cps-events <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:check (analyze-compile) @ cps-events --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ cps-events --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-events/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ cps-events --- [INFO] No sources to compile [INFO] [INFO] --- gmavenplus-plugin:1.9.0:compileTests (default) @ cps-events --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ cps-events --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ cps-events --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cps-events --- [INFO] Building jar: /w/workspace/cps-sonar-verify/cps-events/target/cps-events-3.5.4-SNAPSHOT.jar [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ cps-events --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-events/target/code-coverage/jacoco-it.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ cps-events --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ cps-events --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:check (coverage-check) @ cps-events --- [INFO] Skipping JaCoCo execution due to missing execution data file:/w/workspace/cps-sonar-verify/cps-events/target/code-coverage/jacoco-ut.exec [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ cps-events --- [INFO] Failsafe report directory: /w/workspace/cps-sonar-verify/cps-events/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ cps-events --- [INFO] Installing /w/workspace/cps-sonar-verify/cps-events/target/cps-events-3.5.4-SNAPSHOT.jar to /tmp/r/org/onap/cps/cps-events/3.5.4-SNAPSHOT/cps-events-3.5.4-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/cps-events/pom.xml to /tmp/r/org/onap/cps/cps-events/3.5.4-SNAPSHOT/cps-events-3.5.4-SNAPSHOT.pom [INFO] [INFO] --------------------< org.onap.cps:cps-path-parser >-------------------- [INFO] Building cps-path-parser 3.5.4-SNAPSHOT [7/21] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-path-parser --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ cps-path-parser --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ cps-path-parser --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ cps-path-parser --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-path-parser/target/code-coverage/jacoco-ut.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (default-prepare-agent) @ cps-path-parser --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-path-parser/target/jacoco.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- antlr4-maven-plugin:4.9.2:antlr4 (default) @ cps-path-parser --- [INFO] ANTLR 4: Processing source directory /w/workspace/cps-sonar-verify/cps-path-parser/src/main/antlr4 [INFO] Processing grammar: org/onap/cps/cpspath/parser/antlr4/CpsPath.g4 [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ cps-path-parser --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ cps-path-parser --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (cps-java-style) @ cps-path-parser --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cps-path-parser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-path-parser/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-path-parser/target/generated-sources/license [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-path-parser/target/generated-resources/licenses [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ cps-path-parser --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 9 source files with javac [debug release 17] to target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.4.2:check (analyze-compile) > :spotbugs @ cps-path-parser >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:spotbugs (spotbugs) @ cps-path-parser --- [INFO] Fork Value is true [java] Picked up _JAVA_OPTIONS: [java] WARNING: A terminally deprecated method in java.lang.System has been called [java] WARNING: System::setSecurityManager has been called by edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue (file:/tmp/r/com/github/spotbugs/spotbugs/4.2.3/spotbugs-4.2.3.jar) [java] WARNING: Please consider reporting this to the maintainers of edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue [java] WARNING: System::setSecurityManager will be removed in a future release [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.4.2:check (analyze-compile) < :spotbugs @ cps-path-parser <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.4.2:check (analyze-compile) @ cps-path-parser --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ cps-path-parser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/cps-sonar-verify/cps-path-parser/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ cps-path-parser --- [INFO] No sources to compile [INFO] [INFO] --- gmavenplus-plugin:1.9.0:compileTests (default) @ cps-path-parser --- [INFO] Using isolated classloader, without GMavenPlus classpath. [INFO] Using Groovy 3.0.18 to perform compileTests. [INFO] Compiled 4 files. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ cps-path-parser --- [INFO] Surefire report directory: /w/workspace/cps-sonar-verify/cps-path-parser/target/surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [ERROR] Picked up _JAVA_OPTIONS: [INFO] Running org.onap.cps.cpspath.parser.CpsPathQuerySpec line 1:0 extraneous input 'invalid-cps-path' expecting '/' line 1:2 extraneous input '/' expecting QName line 1:25 mismatched input '5.0' expecting {IntegerLiteral, StringLiteral} line 1:26 mismatched input '"' expecting {IntegerLiteral, StringLiteral} line 1:26 mismatched input ''' expecting {IntegerLiteral, StringLiteral} line 1:29 mismatched input ']' expecting {'=', '>', '<', '>=', '<='} line 1:18 missing QName at '' line 1:37 mismatched input '@' expecting {'[', '/'} line 1:37 mismatched input ']' expecting {'[', '/'} line 1:37 mismatched input '::' expecting {'[', '/'} [INFO] Tests run: 82, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.597 s - in org.onap.cps.cpspath.parser.CpsPathQuerySpec [INFO] Running org.onap.cps.cpspath.parser.CpsPathUtilSpec line 1:2 missing QName at '/' [INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in org.onap.cps.cpspath.parser.CpsPathUtilSpec [INFO] [INFO] Results: [INFO] [INFO] Tests run: 122, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ cps-path-parser --- [INFO] Loading execution data file /w/workspace/cps-sonar-verify/cps-path-parser/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'cps-path-parser' with 7 classes [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cps-path-parser --- [INFO] Building jar: /w/workspace/cps-sonar-verify/cps-path-parser/target/cps-path-parser-3.5.4-SNAPSHOT.jar [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ cps-path-parser --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-path-parser/target/code-coverage/jacoco-it.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ cps-path-parser --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ cps-path-parser --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:check (coverage-check) @ cps-path-parser --- [INFO] Loading execution data file /w/workspace/cps-sonar-verify/cps-path-parser/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'cps-path-parser' with 7 classes [INFO] All coverage checks have been met. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ cps-path-parser --- [INFO] Failsafe report directory: /w/workspace/cps-sonar-verify/cps-path-parser/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ cps-path-parser --- [INFO] Installing /w/workspace/cps-sonar-verify/cps-path-parser/target/cps-path-parser-3.5.4-SNAPSHOT.jar to /tmp/r/org/onap/cps/cps-path-parser/3.5.4-SNAPSHOT/cps-path-parser-3.5.4-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/cps-path-parser/pom.xml to /tmp/r/org/onap/cps/cps-path-parser/3.5.4-SNAPSHOT/cps-path-parser-3.5.4-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-service >---------------------- [INFO] Building cps-service 3.5.4-SNAPSHOT [8/21] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cps-service --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ cps-service --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ cps-service --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ cps-service --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-service/target/code-coverage/jacoco-ut.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (default-prepare-agent) @ cps-service --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/cps-sonar-verify/cps-service/target/jacoco.exec,excludes=org/onap/cps/event/model/*:org/onap/cps/rest/model/*:org/onap/cps/cpspath/parser/antlr4/*:org/onap/cps/ncmp/rest/model/*:org/onap/cps/**/*MapperImpl.class:org/onap/cps/ncmp/rest/stub/*:org/onap/cps/policyexecutor/stub/model/* [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ cps-service --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ cps-service --- [WARNING] src/main/java/org/onap/cps/utils/XmlFileUtils.java:[48,19] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.w3c.dom.*. [WARNING] src/main/java/org/onap/cps/utils/XmlFileUtils.java:[238,5] (whitespace) EmptyLineSeparator: 'METHOD_DEF' should be separated from previous statement. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for cps 3.5.4-SNAPSHOT: [INFO] [INFO] org.onap.cps:cps-dependencies ...................... SUCCESS [ 0.911 s] [INFO] cps-bom ............................................ SUCCESS [ 0.006 s] [INFO] checkstyle ......................................... SUCCESS [ 3.632 s] [INFO] spotbugs ........................................... SUCCESS [ 0.018 s] [INFO] cps-parent ......................................... SUCCESS [ 10.295 s] [INFO] cps-events ......................................... SUCCESS [ 5.949 s] [INFO] cps-path-parser .................................... SUCCESS [ 11.718 s] [INFO] cps-service ........................................ FAILURE [ 5.493 s] [INFO] cps-rest ........................................... SKIPPED [INFO] cps-ncmp-events .................................... SKIPPED [INFO] cps-ncmp-service ................................... SKIPPED [INFO] cps-ncmp-rest ...................................... SKIPPED [INFO] cps-ncmp-rest-stub ................................. SKIPPED [INFO] cps-ncmp-rest-stub-service ......................... SKIPPED [INFO] cps-ncmp-rest-stub-app ............................. SKIPPED [INFO] cps-ri ............................................. SKIPPED [INFO] integration-test ................................... SKIPPED [INFO] cps-application .................................... SKIPPED [INFO] policy-executor-stub ............................... SKIPPED [INFO] jacoco-report ...................................... SKIPPED [INFO] cps ................................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.474 s [INFO] Finished at: 2024-10-16T07:42:53Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:check (onap-java-style) on project cps-service: You have 2 Checkstyle violations. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:check (onap-java-style) on project cps-service: You have 2 Checkstyle violations. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoFailureException: You have 2 Checkstyle violations. at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute (CheckstyleViolationCheckMojo.java:592) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [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 :cps-service Build step 'Conditional steps (multiple)' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE [PostBuildScript] - [INFO] Executing post build scripts. [cps-sonar-verify] $ /bin/bash /tmp/jenkins9595157536203973393.sh ---> sysstat.sh [cps-sonar-verify] $ /bin/bash /tmp/jenkins17761936648392015825.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/cps-sonar-verify + 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/cps-sonar-verify ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/cps-sonar-verify ']' + mkdir -p /w/workspace/cps-sonar-verify/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/cps-sonar-verify/archives/ [cps-sonar-verify] $ /bin/bash /tmp/jenkins16811442206688992845.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/cps-sonar-verify/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JSBm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSBm/bin to PATH INFO: Running in OpenStack, capturing instance metadata [cps-sonar-verify] $ /bin/bash /tmp/jenkins8680531776217113758.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/cps-sonar-verify@tmp/config5958828994046255387tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [cps-sonar-verify] $ /bin/bash /tmp/jenkins10179877534001075970.sh ---> create-netrc.sh [cps-sonar-verify] $ /bin/bash /tmp/jenkins14042404772414303850.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/cps-sonar-verify/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JSBm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSBm/bin to PATH [cps-sonar-verify] $ /bin/bash /tmp/jenkins18184750836021819479.sh ---> sudo-logs.sh Archiving 'sudo' log.. [cps-sonar-verify] $ /bin/bash /tmp/jenkins12406534652227833218.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/cps-sonar-verify/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JSBm 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-JSBm/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [cps-sonar-verify] $ /bin/bash -l /tmp/jenkins8642696553071599133.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/cps-sonar-verify/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JSBm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JSBm/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/cps-sonar-verify/7089 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos8-docker-8c-8g-77062.novalocal 4.18.0-448.el8.x86_64 #1 SMP Wed Jan 18 15:02:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 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 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 17M 16G 1% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda1 160G 11G 150G 7% / tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 31890 989 28320 19 2579 30457 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: eth0: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:a5:13:5d brd ff:ff:ff:ff:ff:ff altname enp0s3 altname ens3 inet 10.30.107.54/23 brd 10.30.107.255 scope global dynamic noprefixroute eth0 valid_lft 86230sec preferred_lft 86230sec inet6 fe80::f816:3eff:fea5:135d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:a1:14:ed:b6 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 4.18.0-448.el8.x86_64 (centos-stream-8-docker-63ec32c8-5733-60f9-7d79-7a12e2b2c472.nova) 10/16/2024 _x86_64_ (8 CPU) 07:40:37 LINUX RESTART (8 CPU) 07:41:01 AM tps rtps wtps bread/s bwrtn/s 07:42:01 AM 260.31 22.28 238.04 3675.04 7973.14 07:43:01 AM 267.71 20.03 247.68 3872.69 12957.29 Average: 264.01 21.15 242.86 3773.86 10465.01 07:41:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:42:01 AM 29606892 31269880 3048820 9.34 2688 1986092 1448432 4.30 170332 2447572 138120 07:43:01 AM 28994504 31176664 3661208 11.21 2688 2495536 1474140 4.37 435376 2745952 211108 Average: 29300698 31223272 3355014 10.27 2688 2240814 1461286 4.34 302854 2596762 174614 07:41:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:42:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:42:01 AM eth0 337.45 237.62 1703.54 63.68 0.00 0.00 0.00 0.00 07:42:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:43:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:43:01 AM eth0 400.08 335.64 5193.88 63.24 0.00 0.00 0.00 0.00 07:43:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 368.77 286.63 3448.57 63.46 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 ---> sar -P ALL: Linux 4.18.0-448.el8.x86_64 (centos-stream-8-docker-63ec32c8-5733-60f9-7d79-7a12e2b2c472.nova) 10/16/2024 _x86_64_ (8 CPU) 07:40:37 LINUX RESTART (8 CPU) 07:41:01 AM CPU %user %nice %system %iowait %steal %idle 07:42:01 AM all 11.86 0.00 1.57 0.92 0.07 85.58 07:42:01 AM 0 18.20 0.00 1.19 0.70 0.07 79.85 07:42:01 AM 1 14.47 0.00 2.12 0.65 0.08 82.67 07:42:01 AM 2 15.66 0.00 1.19 0.70 0.07 82.39 07:42:01 AM 3 9.38 0.00 1.14 1.02 0.07 88.39 07:42:01 AM 4 8.95 0.00 1.64 1.11 0.08 88.22 07:42:01 AM 5 4.91 0.00 1.15 0.45 0.05 93.44 07:42:01 AM 6 12.74 0.00 2.19 0.52 0.08 84.46 07:42:01 AM 7 10.57 0.00 1.92 2.19 0.05 85.26 07:43:01 AM all 25.15 0.00 1.48 1.99 0.08 71.29 07:43:01 AM 0 28.38 0.00 1.84 2.01 0.12 67.65 07:43:01 AM 1 39.20 0.00 2.37 2.71 0.10 55.61 07:43:01 AM 2 24.26 0.00 1.31 1.84 0.08 72.51 07:43:01 AM 3 19.28 0.00 1.42 2.71 0.07 76.51 07:43:01 AM 4 22.88 0.00 0.94 2.92 0.07 73.20 07:43:01 AM 5 22.59 0.00 1.59 1.94 0.07 73.81 07:43:01 AM 6 23.29 0.00 1.19 0.95 0.08 74.48 07:43:01 AM 7 21.31 0.00 1.22 0.87 0.07 76.53 Average: all 18.51 0.00 1.53 1.46 0.08 78.44 Average: 0 23.29 0.00 1.51 1.35 0.09 73.76 Average: 1 26.85 0.00 2.25 1.68 0.09 69.13 Average: 2 19.95 0.00 1.25 1.27 0.08 77.46 Average: 3 14.33 0.00 1.28 1.87 0.07 82.46 Average: 4 15.92 0.00 1.29 2.02 0.08 80.69 Average: 5 13.75 0.00 1.37 1.19 0.06 83.63 Average: 6 18.02 0.00 1.69 0.74 0.08 79.47 Average: 7 15.94 0.00 1.57 1.53 0.06 80.90