Triggered by Gerrit: https://gerrit.onap.org/r/c/cps/+/135859 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos8-docker-8c-8g-2352 (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-ssh18427401709603533903.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-ssh12054197386239862294.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git://cloud.onap.org/mirror/cps refs/changes/59/135859/10 # timeout=10 > git rev-parse d1bbf1544e77104569bad40556d86f49239fb1b3^{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 d1bbf1544e77104569bad40556d86f49239fb1b3 (refs/changes/59/135859/10) > git config core.sparsecheckout # timeout=10 > git checkout -f d1bbf1544e77104569bad40556d86f49239fb1b3 # timeout=10 Commit message: "CPS Delta API 2: Delta between anchor and payload" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk c934aea3a17b9235d11a74fee0f3bb1e3daea67f # 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/jenkins1845175590591431704.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-0eZR 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-0eZR/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-0eZR/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.4 botocore==1.32.4 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.11 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [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/jenkins10951644824507636761.sh + echo 'Using SonarCloud' Using SonarCloud [cps-sonar-verify] $ /bin/sh -xe /tmp/jenkins8528157096082274569.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-2352 [cps-sonar-verify] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=d1bbf1544e77104569bad40556d86f49239fb1b3 -DGERRIT_HOST=gerrit.onap.org -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_CHANGE_OWNER_EMAIL=as00745003@techmahindra.com "-DGERRIT_EVENT_ACCOUNT_NAME=Arpit Singh" -DGERRIT_CHANGE_URL=https://gerrit.onap.org/r/c/cps/+/135859 -DGERRIT_PATCHSET_UPLOADER_EMAIL=as00745003@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=135859 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Arpit Singh\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/59/135859/10 "-DGERRIT_PATCHSET_UPLOADER_NAME=Arpit Singh" '-DGERRIT_CHANGE_OWNER=\"Arpit Singh\" ' -DPROJECT=cps -DGERRIT_CHANGE_COMMIT_MESSAGE=Q1BTIERlbHRhIEFQSSAyOiBEZWx0YSBiZXR3ZWVuIGFuY2hvciBhbmQgcGF5bG9hZAoKICAtIFNlY29uZCBBUEkgdG8gZ2V0IERlbHRhIGJldHdlZW4gYW4gYW5jaG9yIGFuZCBKU09OIHBheWxvYWQKICAtIGFkZGVkIG5ldyBBUEkgZ2V0RGVsdGFCeURhdGFzcGFjZUFuY2hvckFuZFBheWxvYWQKICAtIGFkZGVkIGNvbnRyb2xsZXIsIHNlcnZpY2UgYW5kIHBlcnNpc3RlbmNlIGxheWVyIG1ldGhvZHMKICAgIGdldERlbHRhQnlEYXRhc3BhY2VBbmNob3JBbmRQYXlsb2FkCiAgLSBDb3JlIERlbHRhIGFsZ29yaXRobSByZW1haW5zIHNhbWUgYXMgdGhlIGZpcnN0IEFQSS4KICAgIGdldERlbHRhQnlEYXRhc3BhY2VBbmNob3JBbmRQYXlsb2FkIHdpbGwgY2FsbCBnZXREZWx0YUJldHdlZW5EYXRhTm9kZXMKICAtIFdJUCBUZXN0IGNhc2VzCgpJc3N1ZS1JRDogQ1BTLTE4MzYKU2lnbmVkLW9mZi1ieTogQXJwaXQgU2luZ2ggPGFzMDA3NDUwMDNAdGVjaG1haGluZHJhLmNvbT4KQ2hhbmdlLUlkOiBJZDc0Y2Q5MzBjZTQ4ZTVjYjQxNGFhNjJjNTM4MWI3OTY3NTc4OGEzNwo= -DGERRIT_NAME=Primary -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=CPS Delta API 2: Delta between anchor and payload" -DSTREAM=master '-DGERRIT_EVENT_ACCOUNT=\"Arpit Singh\" ' -Dsha1=origin/master -DGERRIT_CHANGE_WIP_STATE=true -DGERRIT_CHANGE_ID=Id74cd930ce48e5cb414aa62c5381b79675788a37 -DGERRIT_EVENT_HASH=-41370319 -DGERRIT_VERSION=3.7.2 -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DGERRIT_EVENT_ACCOUNT_EMAIL=as00745003@techmahindra.com -DGERRIT_PATCHSET_NUMBER=10 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar "-DGERRIT_CHANGE_OWNER_NAME=Arpit Singh" --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/jenkins13267480848813084532.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/jenkins8218647331838995426.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/config7761052048618214408tmp copy managed file [cps-settings] to file:/w/workspace/cps-sonar-verify@tmp/config2582969620207459975tmp [cps-sonar-verify] $ /bin/bash -l /tmp/jenkins18375393261688204501.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/config7761052048618214408tmp --settings /w/workspace/cps-sonar-verify@tmp/config2582969620207459975tmp --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.3.9-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 184, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.onap.cps:cps-ncmp-rest:jar:3.3.9-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 217, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.onap.cps:cps-ncmp-rest-stub-service:jar:3.3.9-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.spockframework:spock-core:jar -> duplicate declaration of version (?) @ line 80, 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] dmi-plugin-demo-and-csit-stub [pom] [INFO] dmi-plugin-demo-and-csit-stub-service [jar] [INFO] dmi-plugin-demo-and-csit-stub-app [jar] [INFO] integration-test [jar] [INFO] cps-application [jar] [INFO] jacoco-report [jar] [INFO] cps [pom] [INFO] [INFO] -------------------< org.onap.cps:cps-dependencies >-------------------- [INFO] Building org.onap.cps:cps-dependencies 3.3.9-SNAPSHOT [1/23] [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.3.9-SNAPSHOT/cps-dependencies-3.3.9-SNAPSHOT.pom [INFO] [INFO] ------------------------< org.onap.cps:cps-bom >------------------------ [INFO] Building cps-bom 3.3.9-SNAPSHOT [2/23] [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.3.9-SNAPSHOT/cps-bom-3.3.9-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:checkstyle >----------------------- [INFO] Building checkstyle 3.3.9-SNAPSHOT [3/23] [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.3.9-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.3.9-SNAPSHOT.jar to /tmp/r/org/onap/cps/checkstyle/3.3.9-SNAPSHOT/checkstyle-3.3.9-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/checkstyle/pom.xml to /tmp/r/org/onap/cps/checkstyle/3.3.9-SNAPSHOT/checkstyle-3.3.9-SNAPSHOT.pom [INFO] [INFO] -----------------------< org.onap.cps:spotbugs >------------------------ [INFO] Building spotbugs 3.3.9-SNAPSHOT [4/23] [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.3.9-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ spotbugs --- [INFO] Installing /w/workspace/cps-sonar-verify/spotbugs/target/spotbugs-3.3.9-SNAPSHOT.jar to /tmp/r/org/onap/cps/spotbugs/3.3.9-SNAPSHOT/spotbugs-3.3.9-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/spotbugs/pom.xml to /tmp/r/org/onap/cps/spotbugs/3.3.9-SNAPSHOT/spotbugs-3.3.9-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-parent >----------------------- [INFO] Building cps-parent 3.3.9-SNAPSHOT [5/23] [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/* [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/* [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] --- exec-maven-plugin:1.6.0:exec (generate-csv) @ cps-parent --- [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/* [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.3.9-SNAPSHOT/cps-parent-3.3.9-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-events >----------------------- [INFO] Building cps-events 3.3.9-SNAPSHOT [6/23] [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/* [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/* [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 1 resource [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 3 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.0/spotbugs-4.2.0.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] Copying 4 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] Using isolated classloader, without GMavenPlus classpath. [INFO] Using Groovy 3.0.18 to perform compileTests. [INFO] Compiled 3 files. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ cps-events --- [INFO] Surefire report directory: /w/workspace/cps-sonar-verify/cps-events/target/surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [ERROR] Picked up _JAVA_OPTIONS: [INFO] Running org.onap.cps.event.CpsDataUpdatedEventSpec [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.82 s - in org.onap.cps.event.CpsDataUpdatedEventSpec [INFO] [INFO] Results: [INFO] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ cps-events --- [INFO] Loading execution data file /w/workspace/cps-sonar-verify/cps-events/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'cps-events' with 0 classes [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (generate-csv) @ cps-events --- [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.3.9-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/* [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ cps-events --- [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] Loading execution data file /w/workspace/cps-sonar-verify/cps-events/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'cps-events' with 0 classes [INFO] All coverage checks have been met. [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.3.9-SNAPSHOT.jar to /tmp/r/org/onap/cps/cps-events/3.3.9-SNAPSHOT/cps-events-3.3.9-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/cps-events/pom.xml to /tmp/r/org/onap/cps/cps-events/3.3.9-SNAPSHOT/cps-events-3.3.9-SNAPSHOT.pom [INFO] [INFO] --------------------< org.onap.cps:cps-path-parser >-------------------- [INFO] Building cps-path-parser 3.3.9-SNAPSHOT [7/23] [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/* [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/* [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 [WARNING] warning(131): org/onap/cps/cpspath/parser/antlr4/CpsPath.g4:64:64: greedy block ()+ contains wildcard; the non-greedy syntax ()+? may be preferred [WARNING] /w/workspace/cps-sonar-verify/org/onap/cps/cpspath/parser/antlr4/CpsPath.g4 [64:64]: greedy block ()+ contains wildcard; the non-greedy syntax ()+? may be preferred [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.0/spotbugs-4.2.0.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: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 '' [INFO] Tests run: 81, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.7 s - in org.onap.cps.cpspath.parser.CpsPathQuerySpec [INFO] Running org.onap.cps.cpspath.parser.CpsPathUtilSpec [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.onap.cps.cpspath.parser.CpsPathUtilSpec [INFO] [INFO] Results: [INFO] [INFO] Tests run: 108, 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 6 classes [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (generate-csv) @ cps-path-parser --- [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.3.9-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/* [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 6 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.3.9-SNAPSHOT.jar to /tmp/r/org/onap/cps/cps-path-parser/3.3.9-SNAPSHOT/cps-path-parser-3.3.9-SNAPSHOT.jar [INFO] Installing /w/workspace/cps-sonar-verify/cps-path-parser/pom.xml to /tmp/r/org/onap/cps/cps-path-parser/3.3.9-SNAPSHOT/cps-path-parser-3.3.9-SNAPSHOT.pom [INFO] [INFO] ----------------------< org.onap.cps:cps-service >---------------------- [INFO] Building cps-service 3.3.9-SNAPSHOT [8/23] [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/* [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/* [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/api/CpsDataService.java:[33,1] (imports) CustomImportOrder: Extra separation in import group before 'org.onap.cps.spi.FetchDescendantsOption' [WARNING] src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java:[42,1] (imports) CustomImportOrder: Extra separation in import group before 'lombok.RequiredArgsConstructor' [WARNING] src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java:[251,59] (whitespace) ParenPad: '(' is followed by whitespace. [WARNING] src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java:[256] (sizes) LineLength: Line is longer than 120 characters (found 122). [WARNING] src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java:[259,5] (javadoc) MissingJavadocMethod: Missing a Javadoc comment. [WARNING] src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java:[259,36] (whitespace) ParenPad: '(' is followed by whitespace. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for cps 3.3.9-SNAPSHOT: [INFO] [INFO] org.onap.cps:cps-dependencies ...................... SUCCESS [ 0.991 s] [INFO] cps-bom ............................................ SUCCESS [ 0.012 s] [INFO] checkstyle ......................................... SUCCESS [ 5.074 s] [INFO] spotbugs ........................................... SUCCESS [ 0.019 s] [INFO] cps-parent ......................................... SUCCESS [ 10.935 s] [INFO] cps-events ......................................... SUCCESS [ 10.498 s] [INFO] cps-path-parser .................................... SUCCESS [ 11.212 s] [INFO] cps-service ........................................ FAILURE [ 7.708 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] dmi-plugin-demo-and-csit-stub ...................... SKIPPED [INFO] dmi-plugin-demo-and-csit-stub-service .............. SKIPPED [INFO] dmi-plugin-demo-and-csit-stub-app .................. SKIPPED [INFO] integration-test ................................... SKIPPED [INFO] cps-application .................................... SKIPPED [INFO] jacoco-report ...................................... SKIPPED [INFO] cps ................................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 49.463 s [INFO] Finished at: 2023-11-21T06:23:03Z [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 6 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 6 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 6 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/jenkins7357585614841188581.sh ---> sysstat.sh [cps-sonar-verify] $ /bin/bash /tmp/jenkins3983812936202706276.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/jenkins17362464156451070498.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-0eZR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-0eZR/bin to PATH INFO: Running in OpenStack, capturing instance metadata [cps-sonar-verify] $ /bin/bash /tmp/jenkins15978972093716525000.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/cps-sonar-verify@tmp/config9716914984137122213tmp 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/jenkins9076634072479597812.sh ---> create-netrc.sh [cps-sonar-verify] $ /bin/bash /tmp/jenkins16454556470933881691.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-0eZR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-0eZR/bin to PATH [cps-sonar-verify] $ /bin/bash /tmp/jenkins4621529536599109531.sh ---> sudo-logs.sh Archiving 'sudo' log.. [cps-sonar-verify] $ /bin/bash /tmp/jenkins9593338245768142549.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-0eZR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-0eZR/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [cps-sonar-verify] $ /bin/bash -l /tmp/jenkins16657781277813668937.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-0eZR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-0eZR/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/cps-sonar-verify/4492 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-2352.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: 2799.998 BogoMIPS: 5599.99 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 985 28254 18 2650 30460 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f7:bf:53 brd ff:ff:ff:ff:ff:ff altname enp0s3 altname ens3 inet 10.30.106.70/23 brd 10.30.107.255 scope global dynamic noprefixroute eth0 valid_lft 86184sec preferred_lft 86184sec inet6 fe80::f816:3eff:fef7:bf53/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1a:ba:af:bb 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) 11/21/2023 _x86_64_ (8 CPU) 06:20:19 LINUX RESTART (8 CPU) 06:21:02 AM tps rtps wtps bread/s bwrtn/s 06:22:01 AM 103.42 7.08 96.34 1324.07 7717.75 06:23:01 AM 250.33 20.01 230.32 3989.47 11251.60 Average: 177.49 13.60 163.89 2667.85 9499.37 06:21:02 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:22:01 AM 29534100 31267400 3121612 9.56 2688 2055628 1446168 4.29 169632 2529728 138128 06:23:01 AM 28441580 30575352 4214132 12.90 2688 2445668 1943660 5.77 262820 3477532 156892 Average: 28987840 30921376 3667872 11.23 2688 2250648 1694914 5.03 216226 3003630 147510 06:21:02 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:22:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:22:01 AM eth0 60.95 39.91 1073.81 8.04 0.00 0.00 0.00 0.00 06:22:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:01 AM eth0 305.53 268.01 3333.16 54.23 0.00 0.00 0.00 0.00 06:23: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 184.26 154.91 2212.88 31.33 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) 11/21/2023 _x86_64_ (8 CPU) 06:20:19 LINUX RESTART (8 CPU) 06:21:02 AM CPU %user %nice %system %iowait %steal %idle 06:22:01 AM all 8.86 0.00 0.79 1.19 0.06 89.10 06:22:01 AM 0 6.48 0.00 0.54 0.85 0.05 92.08 06:22:01 AM 1 6.23 0.00 0.77 0.83 0.10 92.07 06:22:01 AM 2 2.06 0.00 0.27 2.55 0.12 95.01 06:22:01 AM 3 15.24 0.00 1.58 0.98 0.05 82.15 06:22:01 AM 4 23.52 0.00 1.85 3.03 0.07 71.53 06:22:01 AM 5 6.81 0.00 0.39 0.29 0.03 92.48 06:22:01 AM 6 5.60 0.00 0.44 0.34 0.02 93.60 06:22:01 AM 7 5.01 0.00 0.44 0.68 0.03 93.84 06:23:01 AM all 25.63 0.00 1.40 2.02 0.08 70.86 06:23:01 AM 0 43.96 0.00 2.87 3.83 0.12 49.22 06:23:01 AM 1 27.50 0.00 1.42 1.10 0.10 69.88 06:23:01 AM 2 22.18 0.00 1.27 2.28 0.08 74.19 06:23:01 AM 3 16.20 0.00 1.29 1.69 0.08 80.74 06:23:01 AM 4 20.75 0.00 1.19 2.21 0.07 75.78 06:23:01 AM 5 23.24 0.00 1.44 1.66 0.10 73.55 06:23:01 AM 6 26.90 0.00 0.88 2.40 0.07 69.74 06:23:01 AM 7 24.39 0.00 0.84 1.02 0.05 73.71 Average: all 17.31 0.00 1.09 1.61 0.07 79.91 Average: 0 25.31 0.00 1.71 2.35 0.08 70.55 Average: 1 16.96 0.00 1.10 0.97 0.10 80.88 Average: 2 12.20 0.00 0.78 2.41 0.10 84.52 Average: 3 15.73 0.00 1.43 1.34 0.07 81.44 Average: 4 22.12 0.00 1.52 2.62 0.07 73.67 Average: 5 15.08 0.00 0.92 0.98 0.07 82.96 Average: 6 16.34 0.00 0.66 1.38 0.04 81.57 Average: 7 14.77 0.00 0.64 0.85 0.04 83.70