Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-35010 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-utils-sonar 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/dcaegen2/utils > git init /w/workspace/dcaegen2-utils-sonar # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/utils > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/utils +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/utils # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 2dae4e0c83c68ec184d0ee51a6fcc73eb285ed65 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2dae4e0c83c68ec184d0ee51a6fcc73eb285ed65 # timeout=10 Commit message: "R12 tag/path update" > git rev-list --no-walk 2dae4e0c83c68ec184d0ee51a6fcc73eb285ed65 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins18310282281838040713.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w2d8 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-w2d8/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-w2d8/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.10 botocore==1.35.10 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.0 idna==3.8 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.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.2.2 prettytable==3.11.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 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.0.0 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.2 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.1 urllib3==1.26.20 virtualenv==20.26.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [dcaegen2-utils-sonar] $ /bin/sh -xe /tmp/jenkins17012065500875750137.sh + echo Using SonarCloud Using SonarCloud [dcaegen2-utils-sonar] $ /bin/sh -xe /tmp/jenkins17292681608461082103.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 on prd-ubuntu1804-docker-8c-8g-35010 [dcaegen2-utils-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=dcaegen2/utils -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=dcaegen2/utils -Dsha1=origin/master "-DMAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m" -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar --version OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" [dcaegen2-utils-sonar] $ /bin/sh -xe /tmp/jenkins1521738417877326531.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [dcaegen2-utils-sonar] $ /bin/sh /tmp/jenkins11321222608076533764.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_dcaegen2-utils [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/dcaegen2-utils-sonar@tmp/config6018031957446813346tmp copy managed file [dcaegen2-utils-settings] to file:/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp [dcaegen2-utils-sonar] $ /bin/bash -l /tmp/jenkins5694252045955160809.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/mvn35/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/dcaegen2-utils-sonar@tmp/config6018031957446813346tmp --settings /w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp --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: OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Inspecting build with total of 4 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 4 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] dcaegen2-utils-python-cbs-docker-client [jar] [INFO] dcaegen2-utils [pom] [INFO] dcaegen2-utils-onap-dcae-dcaepolicy-lib [jar] [INFO] dcaegen2-utils-scripts [jar] [INFO] [INFO] --------< org.onap.dcaegen2.utils:onap-dcae-cbs-docker-client >--------- [INFO] Building dcaegen2-utils-python-cbs-docker-client 2.2.1-SNAPSHOT [1/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ onap-dcae-cbs-docker-client --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (clean phase script) @ onap-dcae-cbs-docker-client --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [clean] + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [clean]' => for SNAPSHOT artifact build + MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client MVN_DEPLOYMENT_TYPE is [SNAPSHOT] + MVN_PHASE=clean => Nexus Proxy at nexus.onap.org, https://nexus.onap.org MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] MVN_PHASE is [clean] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031206 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=clean ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PHASE is [clean]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ cut -f3 -d/ +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031206 + export BUILD_NUMBER=20240831T031206 + BUILD_NUMBER=20240831T031206 + shift 2 + case $MVN_PHASE in + echo '==> clean phase script' + case $MVN_PROJECT_MODULEID in + clean_templated_files ==> clean phase script ++ find . -name '*-template' + TEMPLATE_FILES= + clean_tox_files ++ find . -name .tox + TOX_FILES= ++ find . -name venv-tox + TOX_FILES=' ' + rm -rf './venv-*' './*.wgn' ./site ./coverage.xml ./xunit-results.xml [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ onap-dcae-cbs-docker-client --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ onap-dcae-cbs-docker-client --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources script) @ onap-dcae-cbs-docker-client --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [generate-sources] + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [generate-sources]' + MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client + MVN_PHASE=generate-sources ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031211 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] MVN_PHASE is [generate-sources] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=generate-sources ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PHASE is [generate-sources]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031211 + export BUILD_NUMBER=20240831T031211 + BUILD_NUMBER=20240831T031211 + shift 2 + case $MVN_PHASE in ==> generate-sources phase script + echo '==> generate-sources phase script' + case $MVN_PROJECT_MODULEID in + expand_templates + set +x ====> Done template resolving [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ onap-dcae-cbs-docker-client --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ onap-dcae-cbs-docker-client --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ onap-dcae-cbs-docker-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ onap-dcae-cbs-docker-client --- [INFO] No sources to compile [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile script) @ onap-dcae-cbs-docker-client --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [compi+ echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stagle] e [compile]' + MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client + MVN_PHASE=compile ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031215 ++ '[' -z https://nexus.onap.org ']' +++ cut -f3 -d/ +++ echo https://nexus.onap.org +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=compile ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PHASE is [compile]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031215 + export BUILD_NUMBER=20240831T031215 + BUILD_NUMBER=20240831T031215 + shift 2 + case $MVN_PHASE in + echo '==> compile phase script' + case $MVN_PROJECT_MODULEID in => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] => Nexus Proxy at nexus.onap.org, https://nexus.onap.org MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] MVN_PHASE is [compile] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ==> compile phase script [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ onap-dcae-cbs-docker-client --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ onap-dcae-cbs-docker-client --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ onap-dcae-cbs-docker-client --- [INFO] Tests are skipped. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ onap-dcae-cbs-docker-client --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (test script) @ onap-dcae-cbs-docker-client --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [test]' running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [test]+ MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client + MVN_PHASE=test ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT => for SNAPSHOT artifact build ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031215 ++ '[' -z https://nexus.onap.org ']' +++ cut -f3 -d/ +++ cut -f1 -d: +++ echo https://nexus.onap.org ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=test ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] ++ echo 'MVN_PHASE is [test]' MVN_PHASE is [test] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ cut -f1 -d: +++ cut -f3 -d/ +++ echo https://nexus.onap.org/content/sites/raw ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031215 + export BUILD_NUMBER=20240831T031215 + BUILD_NUMBER=20240831T031215 + shift 2 + case $MVN_PHASE in + echo '==> test phase script' + case $MVN_PROJECT_MODULEID in ==> test phase script + '[' -f tox.ini ']' + set -e + run_tox_test + set -e -x ++ pwd + CURDIR=/w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client ++ find . -name tox.ini + TOXINIS=./tox.ini + for TOXINI in "${TOXINIS[@]}" ++ dirname ./tox.ini + DIR=. + cd /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/. + rm -rf ./venv-tox ./.tox + python3 -m venv ./venv-tox + source ./venv-tox/bin/activate ++ deactivate nondestructive ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/venv-tox ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/venv-tox/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' 'x(venv-tox) ' '!=' x ']' ++ PS1='(venv-tox) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + pip3 install pip==9.0.3 Collecting pip==9.0.3 Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl (1.4MB) Installing collected packages: pip Found existing installation: pip 9.0.1 Uninstalling pip-9.0.1: Successfully uninstalled pip-9.0.1 Successfully installed pip-9.0.3 + pip3 install --upgrade argparse Collecting argparse Downloading https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse Successfully installed argparse-1.4.0 You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + pip3 install tox==2.9.1 Collecting tox==2.9.1 Downloading https://files.pythonhosted.org/packages/1d/4e/20c679f8c5948f7c48591fde33d442e716af66a31a88f5791850a75041eb/tox-2.9.1-py2.py3-none-any.whl (73kB) Collecting py>=1.4.17 (from tox==2.9.1) Downloading https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl (98kB) Collecting pluggy<1.0,>=0.3.0 (from tox==2.9.1) Downloading https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl Collecting virtualenv>=1.11.2; python_version != "3.2" (from tox==2.9.1) Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/18/a2/7931d40ecb02b5236a34ac53770f2f6931e3082b7a7dafe915d892d749d6/virtualenv-20.17.1-py3-none-any.whl (8.8MB) Collecting six (from tox==2.9.1) Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl Collecting importlib-metadata>=0.12; python_version < "3.8" (from pluggy<1.0,>=0.3.0->tox==2.9.1) Downloading https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl Collecting filelock<4,>=3.4.1 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/84/ce/8916d10ef537f3f3b046843255f9799504aa41862bfa87844b9bdc5361cd/filelock-3.4.1-py3-none-any.whl Collecting distlib<1,>=0.3.6 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Cache entry deserialization failed, entry ignored Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/8e/41/9307e4f5f9976bc8b7fea0b66367734e8faf3ec84bc0d412d8cfabbb66cd/distlib-0.3.8-py2.py3-none-any.whl (468kB) Collecting platformdirs<3,>=2.4 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/b1/78/dcfd84d3aabd46a9c77260fb47ea5d244806e4daef83aa6fe5d83adb182c/platformdirs-2.4.0-py3-none-any.whl Collecting importlib-resources>=5.4; python_version < "3.7" (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Downloading https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl Collecting zipp>=0.5 (from importlib-metadata>=0.12; python_version < "3.8"->pluggy<1.0,>=0.3.0->tox==2.9.1) Downloading https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl Collecting typing-extensions>=3.6.4; python_version < "3.8" (from importlib-metadata>=0.12; python_version < "3.8"->pluggy<1.0,>=0.3.0->tox==2.9.1) Downloading https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl Installing collected packages: py, zipp, typing-extensions, importlib-metadata, pluggy, filelock, distlib, platformdirs, importlib-resources, virtualenv, six, tox Successfully installed distlib-0.3.8 filelock-3.4.1 importlib-metadata-4.8.3 importlib-resources-5.4.0 platformdirs-2.4.0 pluggy-0.13.1 py-1.11.0 six-1.16.0 tox-2.9.1 typing-extensions-4.1.1 virtualenv-20.17.1 zipp-3.6.0 You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + '[' '' = yes ']' + pip3 freeze You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. distlib==0.3.8 filelock==3.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 pkg-resources==0.0.0 platformdirs==2.4.0 pluggy==0.13.1 py==1.11.0 six==1.16.0 tox==2.9.1 typing-extensions==4.1.1 virtualenv==20.17.1 zipp==3.6.0 + tox GLOB sdist-make: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/setup.py flake8 create: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/flake8 flake8 installdeps: flake8 flake8 installed: flake8==7.1.1,mccabe==0.7.0,onap-dcae-cbs-docker-client==2.2.1,pycodestyle==2.12.1,pyflakes==3.2.0 flake8 runtests: PYTHONHASHSEED='3372744009' flake8 runtests: commands[0] | flake8 setup.py onap_dcae_cbs_docker_client tests py38 create: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/py38 py38 installdeps: pytest, coverage, pytest-cov, pyyaml py38 inst: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/dist/onap_dcae_cbs_docker_client-2.2.1.zip py38 installed: attrs==22.2.0,certifi==2024.8.30,charset-normalizer==2.0.12,coverage==6.2,idna==3.8,importlib-metadata==4.8.3,iniconfig==1.1.1,onap-dcae-cbs-docker-client==2.2.1,packaging==21.3,pluggy==1.0.0,py==1.11.0,pyparsing==3.1.4,pytest==7.0.1,pytest-cov==4.0.0,PyYAML==6.0.1,requests==2.27.1,tomli==1.2.3,typing_extensions==4.1.1,urllib3==1.26.20,zipp==3.6.0 py38 runtests: PYTHONHASHSEED='3372744009' py38 runtests: commands[0] | pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml --cov-report=term --cov-report=html ============================= test session starts ============================== platform linux -- Python 3.6.9, pytest-7.0.1, pluggy-1.0.0 rootdir: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client plugins: cov-4.0.0 collected 12 items tests/test_client.py ............ [100%] =============================== warnings summary =============================== .tox/py38/lib/python3.6/site-packages/coverage/inorout.py:473 /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/py38/lib/python3.6/site-packages/coverage/inorout.py:473: CoverageWarning: --include is ignored because --source is set (include-ignored) self.warn("--include is ignored because --source is set", slug="include-ignored") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/xunit-results.xml - ----------- coverage: platform linux, python 3.6.9-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------------- onap_dcae_cbs_docker_client/__init__.py 9 0 0 0 100% onap_dcae_cbs_docker_client/client.py 127 0 38 0 100% onap_dcae_cbs_docker_client/exceptions.py 10 0 6 0 100% ----------------------------------------------------------------------------- TOTAL 146 0 44 0 100% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ======================== 12 passed, 1 warning in 0.28s ========================= py38 runtests: commands[1] | coverage xml Wrote XML report to coverage.xml py39 create: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/py39 py39 installdeps: pytest, coverage, pytest-cov, pyyaml py39 inst: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/dist/onap_dcae_cbs_docker_client-2.2.1.zip py39 installed: attrs==22.2.0,certifi==2024.8.30,charset-normalizer==2.0.12,coverage==6.2,idna==3.8,importlib-metadata==4.8.3,iniconfig==1.1.1,onap-dcae-cbs-docker-client==2.2.1,packaging==21.3,pluggy==1.0.0,py==1.11.0,pyparsing==3.1.4,pytest==7.0.1,pytest-cov==4.0.0,PyYAML==6.0.1,requests==2.27.1,tomli==1.2.3,typing_extensions==4.1.1,urllib3==1.26.20,zipp==3.6.0 py39 runtests: PYTHONHASHSEED='3372744009' py39 runtests: commands[0] | pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml --cov-report=term --cov-report=html ============================= test session starts ============================== platform linux -- Python 3.6.9, pytest-7.0.1, pluggy-1.0.0 rootdir: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client plugins: cov-4.0.0 collected 12 items tests/test_client.py ............ [100%] =============================== warnings summary =============================== .tox/py39/lib/python3.6/site-packages/coverage/inorout.py:473 /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/.tox/py39/lib/python3.6/site-packages/coverage/inorout.py:473: CoverageWarning: --include is ignored because --source is set (include-ignored) self.warn("--include is ignored because --source is set", slug="include-ignored") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/xunit-results.xml - ----------- coverage: platform linux, python 3.6.9-final-0 ----------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------------------------- onap_dcae_cbs_docker_client/__init__.py 9 0 0 0 100% onap_dcae_cbs_docker_client/client.py 127 0 38 0 100% onap_dcae_cbs_docker_client/exceptions.py 10 0 6 0 100% ----------------------------------------------------------------------------- TOTAL 146 0 44 0 100% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ======================== 12 passed, 1 warning in 0.24s ========================= py39 runtests: commands[1] | coverage xml Wrote XML report to coverage.xml ___________________________________ summary ____________________________________ flake8: commands succeeded py38: commands succeeded py39: commands succeeded congratulations :) + deactivate + '[' -n /home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ']' + PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + export PATH + unset _OLD_VIRTUAL_PATH + '[' -n '' ']' + '[' -n /bin/bash -o -n '' ']' + hash -r + '[' -n '' ']' + unset VIRTUAL_ENV + '[' '!' '' = nondestructive ']' + unset -f deactivate + rm -rf ./venv-tox ./.tox + set +e [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (package script) @ onap-dcae-cbs-docker-client --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stagrunning script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [package] e [package]' + MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client + MVN_PHASE=package ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031254 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f1 -d: +++ cut -f3 -d/ => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=package ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PHASE is [package]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] MVN_PHASE is [package] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ cut -f1 -d: +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031254 + export BUILD_NUMBER=20240831T031254 + BUILD_NUMBER=20240831T031254 + shift 2 + case $MVN_PHASE in + echo '==> package phase script' + case $MVN_PROJECT_MODULEID in ==> package phase script [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-integration-test) @ onap-dcae-cbs-docker-client --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ onap-dcae-cbs-docker-client --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-integration-test) @ onap-dcae-cbs-docker-client --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (integration-tests) @ onap-dcae-cbs-docker-client --- [INFO] Failsafe report directory: /w/workspace/dcaegen2-utils-sonar/onap-dcae-cbs-docker-client/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ onap-dcae-cbs-docker-client --- [INFO] Skipping artifact installation [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (install script) @ onap-dcae-cbs-docker-client --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [insta+ echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-cbs-docker-client] at stage [install]' + MVN_PROJECT_MODULEID=onap-dcae-cbs-docker-client + MVN_PHASE=install ll] ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-cbs-docker-client ++ '[' onap-dcae-cbs-docker-client == __ ']' ++ [[ 2.2.1-SNAPSHOT == *SNAPSHOT ]] => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031255 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=install ++ echo 'MVN_RELEASE_TAG is []' MVN_RELEASE_TAG is [] ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PHASE is [install]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client]' ++ echo 'MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_PROJECT_MODULEID is [onap-dcae-cbs-docker-client] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_PHASE is [install] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-cbs-docker-client] MVN_PROJECT_VERSION is [2.2.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031255 + export BUILD_NUMBER=20240831T031255 + BUILD_NUMBER=20240831T031255 + shift 2 + case $MVN_PHASE in + echo '==> install phase script' ==> install phase script + case $MVN_PROJECT_MODULEID in [INFO] [INFO] -------------------< org.onap.dcaegen2.utils:utils >-------------------- [INFO] Building dcaegen2-utils 1.2.1-SNAPSHOT [2/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ utils --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ utils --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ utils --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ utils --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ utils --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ utils --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-integration-test) @ utils --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ utils --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-integration-test) @ utils --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (integration-tests) @ utils --- [INFO] Failsafe report directory: /w/workspace/dcaegen2-utils-sonar/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ utils --- [INFO] Installing /w/workspace/dcaegen2-utils-sonar/pom.xml to /tmp/r/org/onap/dcaegen2/utils/utils/1.2.1-SNAPSHOT/utils-1.2.1-SNAPSHOT.pom [INFO] [INFO] ----------< org.onap.dcaegen2.utils:onap-dcae-dcaepolicy-lib >---------- [INFO] Building dcaegen2-utils-onap-dcae-dcaepolicy-lib 2.5.1-SNAPSHOT [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ onap-dcae-dcaepolicy-lib --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (clean phase script) @ onap-dcae-dcaepolicy-lib --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [clean]' + MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [clean] + MVN_PHASE=clean ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT => for SNAPSHOT artifact build ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031255 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=clean ++ echo 'MVN_RELEASE_TAG is []' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PHASE is [clean]' MVN_PHASE is [clean] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031255 + export BUILD_NUMBER=20240831T031255 + BUILD_NUMBER=20240831T031255 + shift 2 + case $MVN_PHASE in + echo '==> clean phase script' + case $MVN_PROJECT_MODULEID in + clean_templated_files ==> clean phase script ++ find . -name '*-template' + TEMPLATE_FILES= + clean_tox_files ++ find . -name .tox + TOX_FILES= ++ find . -name venv-tox + TOX_FILES=' ' + rm -rf './venv-*' './*.wgn' ./site ./coverage.xml ./xunit-results.xml [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ onap-dcae-dcaepolicy-lib --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ onap-dcae-dcaepolicy-lib --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources script) @ onap-dcae-dcaepolicy-lib --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [generate-sources]' running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [generate+ MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib -sources] + MVN_PHASE=generate-sources ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031255 ++ '[' -z https://nexus.onap.org ']' +++ cut -f3 -d/ +++ echo https://nexus.onap.org +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=generate-sources MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] MVN_PHASE is [generate-sources] ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PHASE is [generate-sources]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ cut -f3 -d/ +++ cut -f1 -d: +++ echo https://nexus.onap.org/content/sites/raw ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031255 + export BUILD_NUMBER=20240831T031255 + BUILD_NUMBER=20240831T031255 + shift 2 + case $MVN_PHASE in + echo '==> generate-sources phase script' + case $MVN_PROJECT_MODULEID in + expand_templates ==> generate-sources phase script + set +x ====> Done template resolving [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ onap-dcae-dcaepolicy-lib --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ onap-dcae-dcaepolicy-lib --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ onap-dcae-dcaepolicy-lib --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ onap-dcae-dcaepolicy-lib --- [INFO] No sources to compile [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile script) @ onap-dcae-dcaepolicy-lib --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [compile] compile]' + MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib + MVN_PHASE=compile ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031255 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=compile ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PHASE is [compile]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] MVN_PHASE is [compile] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031256 + export BUILD_NUMBER=20240831T031256 + BUILD_NUMBER=20240831T031256 + shift 2 + case $MVN_PHASE in + echo '==> compile phase script' + case $MVN_PROJECT_MODULEID in ==> compile phase script [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ onap-dcae-dcaepolicy-lib --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ onap-dcae-dcaepolicy-lib --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ onap-dcae-dcaepolicy-lib --- [INFO] Tests are skipped. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ onap-dcae-dcaepolicy-lib --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (test script) @ onap-dcae-dcaepolicy-lib --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [test]' running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [test] + MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib + MVN_PHASE=test ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031256 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 MVN_RELEASE_TAG is [] ++ '[' R12 == R1 ']' ++ MVN_PHASE=test MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] MVN_PHASE is [test] ++ echo 'MVN_RELEASE_TAG is []' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] ++ echo 'MVN_PHASE is [test]' MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ cut -f3 -d/ +++ cut -f1 -d: +++ echo https://nexus.onap.org/content/sites/raw ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031256 + export BUILD_NUMBER=20240831T031256 + BUILD_NUMBER=20240831T031256 + shift 2 + case $MVN_PHASE in + echo '==> test phase script' + case $MVN_PROJECT_MODULEID in + '[' -f tox.ini ']' + set -e ==> test phase script + run_tox_test + set -e -x ++ pwd + CURDIR=/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib ++ find . -name tox.ini + TOXINIS=./tox.ini + for TOXINI in "${TOXINIS[@]}" ++ dirname ./tox.ini + DIR=. + cd /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/. + rm -rf ./venv-tox ./.tox + python3 -m venv ./venv-tox + source ./venv-tox/bin/activate ++ deactivate nondestructive ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/venv-tox ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/venv-tox/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' 'x(venv-tox) ' '!=' x ']' ++ PS1='(venv-tox) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + pip3 install pip==9.0.3 Collecting pip==9.0.3 Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 9.0.1 Uninstalling pip-9.0.1: Successfully uninstalled pip-9.0.1 Successfully installed pip-9.0.3 + pip3 install --upgrade argparse Collecting argparse Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse Successfully installed argparse-1.4.0 You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + pip3 install tox==2.9.1 Collecting tox==2.9.1 Using cached https://files.pythonhosted.org/packages/1d/4e/20c679f8c5948f7c48591fde33d442e716af66a31a88f5791850a75041eb/tox-2.9.1-py2.py3-none-any.whl Collecting pluggy<1.0,>=0.3.0 (from tox==2.9.1) Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl Collecting virtualenv>=1.11.2; python_version != "3.2" (from tox==2.9.1) Using cached https://files.pythonhosted.org/packages/18/a2/7931d40ecb02b5236a34ac53770f2f6931e3082b7a7dafe915d892d749d6/virtualenv-20.17.1-py3-none-any.whl Collecting six (from tox==2.9.1) Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl Collecting py>=1.4.17 (from tox==2.9.1) Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl Collecting importlib-metadata>=0.12; python_version < "3.8" (from pluggy<1.0,>=0.3.0->tox==2.9.1) Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl Collecting platformdirs<3,>=2.4 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Using cached https://files.pythonhosted.org/packages/b1/78/dcfd84d3aabd46a9c77260fb47ea5d244806e4daef83aa6fe5d83adb182c/platformdirs-2.4.0-py3-none-any.whl Collecting distlib<1,>=0.3.6 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Using cached https://files.pythonhosted.org/packages/8e/41/9307e4f5f9976bc8b7fea0b66367734e8faf3ec84bc0d412d8cfabbb66cd/distlib-0.3.8-py2.py3-none-any.whl Collecting filelock<4,>=3.4.1 (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Using cached https://files.pythonhosted.org/packages/84/ce/8916d10ef537f3f3b046843255f9799504aa41862bfa87844b9bdc5361cd/filelock-3.4.1-py3-none-any.whl Collecting importlib-resources>=5.4; python_version < "3.7" (from virtualenv>=1.11.2; python_version != "3.2"->tox==2.9.1) Using cached https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl Collecting zipp>=0.5 (from importlib-metadata>=0.12; python_version < "3.8"->pluggy<1.0,>=0.3.0->tox==2.9.1) Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl Collecting typing-extensions>=3.6.4; python_version < "3.8" (from importlib-metadata>=0.12; python_version < "3.8"->pluggy<1.0,>=0.3.0->tox==2.9.1) Cache entry deserialization failed, entry ignored Using cached https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl Installing collected packages: zipp, typing-extensions, importlib-metadata, pluggy, platformdirs, distlib, filelock, importlib-resources, virtualenv, six, py, tox Successfully installed distlib-0.3.8 filelock-3.4.1 importlib-metadata-4.8.3 importlib-resources-5.4.0 platformdirs-2.4.0 pluggy-0.13.1 py-1.11.0 six-1.16.0 tox-2.9.1 typing-extensions-4.1.1 virtualenv-20.17.1 zipp-3.6.0 You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + '[' '' = yes ']' + pip3 freeze You are using pip version 9.0.3, however version 24.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. distlib==0.3.8 filelock==3.4.1 importlib-metadata==4.8.3 importlib-resources==5.4.0 pkg-resources==0.0.0 platformdirs==2.4.0 pluggy==0.13.1 py==1.11.0 six==1.16.0 tox==2.9.1 typing-extensions==4.1.1 virtualenv==20.17.1 zipp==3.6.0 + tox GLOB sdist-make: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/setup.py py27 create: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27 py27 installdeps: -rrequirements.txt, cloudify-plugins-common==3.4, pytest, coverage, pytest-cov py27 inst: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/dist/onap-dcae-dcaepolicy-lib-2.5.1.zip py27 installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,atomicwrites==1.4.1,attrs==21.4.0,backports.functools-lru-cache==1.6.6,bottle==0.12.7,cloudify-plugins-common==3.4,cloudify-rest-client==3.4,configparser==4.0.2,contextlib2==0.6.0.post1,coverage==5.5,funcsigs==1.0.2,importlib-metadata==2.1.3,Jinja2==2.7.2,MarkupSafe==1.1.1,more-itertools==5.0.0,networkx==1.8.1,onap-dcae-dcaepolicy-lib==2.5.1,packaging==20.9,pathlib2==2.3.7.post1,pika==0.9.14,pluggy==0.13.1,proxy-tools==0.1.0,py==1.11.0,pyparsing==2.4.7,pytest==4.6.11,pytest-cov==2.12.1,requests==2.7.0,requests-toolbelt==1.0.0,scandir==1.10.0,six==1.16.0,toml==0.10.2,typing==3.10.0.0,wcwidth==0.2.13,zipp==1.2.0 py27 runtests: PYTHONHASHSEED='310865220' py27 runtests: commands[0] | rm -rf /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/logs py27 runtests: commands[1] | mkdir /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/logs py27 runtests: commands[2] | pytest --junitxml xunit-results.xml --cov onap_dcae_dcaepolicy_lib --cov-report xml ============================= test session starts ============================== platform linux2 -- Python 2.7.17, pytest-4.6.11, py-1.11.0, pluggy-0.13.1 rootdir: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib plugins: cov-2.12.1 collected 27 items tests/test_dcae_policy.py ........................... [100%] - generated xml file: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/xunit-results.xml - ---------- coverage: platform linux2, python 2.7.17-final-0 ---------- Coverage XML written to file coverage.xml ========================== 27 passed in 0.96 seconds =========================== py27 runtests: commands[3] | coverage xml ___________________________________ summary ____________________________________ py27: commands succeeded congratulations :) + deactivate + '[' -n /home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ']' + PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + export PATH + unset _OLD_VIRTUAL_PATH + '[' -n '' ']' + '[' -n /bin/bash -o -n '' ']' + hash -r + '[' -n '' ']' + unset VIRTUAL_ENV + '[' '!' '' = nondestructive ']' + unset -f deactivate + rm -rf ./venv-tox ./.tox + set +e [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (package script) @ onap-dcae-dcaepolicy-lib --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [package] + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [package]' + MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib + MVN_PHASE=package ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] => for SNAPSHOT artifact build ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031326 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' MVN_RELEASE_TAG is [] ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=package ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PHASE is [package]' MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] MVN_PHASE is [package] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031326 + export BUILD_NUMBER=20240831T031326 + BUILD_NUMBER=20240831T031326 + shift 2 + case $MVN_PHASE in + echo '==> package phase script' + case $MVN_PROJECT_MODULEID in ==> package phase script [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-integration-test) @ onap-dcae-dcaepolicy-lib --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ onap-dcae-dcaepolicy-lib --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-integration-test) @ onap-dcae-dcaepolicy-lib --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (integration-tests) @ onap-dcae-dcaepolicy-lib --- [INFO] Failsafe report directory: /w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ onap-dcae-dcaepolicy-lib --- [INFO] Skipping artifact installation [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (install script) @ onap-dcae-dcaepolicy-lib --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [onap-dcae-dcaepolicy-lib] at stage [install] install]' + MVN_PROJECT_MODULEID=onap-dcae-dcaepolicy-lib + MVN_PHASE=install ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.onap-dcae-dcaepolicy-lib ++ '[' onap-dcae-dcaepolicy-lib == __ ']' ++ [[ 2.5.1-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' => for SNAPSHOT artifact build ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ cut -f1 -d: +++ echo https://nexus.onap.org +++ cut -f3 -d/ ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' MVN_RELEASE_TAG is [] ++ MVN_PHASE=install MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib] MVN_PHASE is [install] ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [onap-dcae-dcaepolicy-lib]' ++ echo 'MVN_PHASE is [install]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [onap-dcae-dcaepolicy-lib] MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_PROJECT_VERSION is [2.5.1-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> install phase script' + case $MVN_PROJECT_MODULEID in ==> install phase script [INFO] [INFO] ------------------< org.onap.dcaegen2.utils:scripts >------------------- [INFO] Building dcaegen2-utils-scripts 1.1.0-SNAPSHOT [4/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ scripts --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (clean phase script) @ scripts --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [clean] + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [clean]' + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=clean ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=clean ++ echo 'MVN_RELEASE_TAG is []' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [scripts] MVN_PHASE is [clean] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [scripts] MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_PROJECT_MODULEID is [scripts]' ++ echo 'MVN_PHASE is [clean]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> clean phase script' + case $MVN_PROJECT_MODULEID in + clean_templated_files ==> clean phase script ++ find . -name '*-template' + TEMPLATE_FILES= + clean_tox_files ++ find . -name .tox + TOX_FILES= ++ find . -name venv-tox + TOX_FILES=' ' + rm -rf './venv-*' './*.wgn' ./site ./coverage.xml ./xunit-results.xml [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ scripts --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) @ scripts --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/scripts/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources script) @ scripts --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [generate-sources]' + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=generate-sources running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [generate-sources] ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ '[' R12 == R1 ']' ++ MVN_PHASE=generate-sources ++ echo 'MVN_RELEASE_TAG is []' MVN_RELEASE_TAG is [] ++ echo 'MVN_PROJECT_MODULEID is [scripts]' MVN_PROJECT_MODULEID is [scripts] ++ echo 'MVN_PHASE is [generate-sources]' MVN_PHASE is [generate-sources] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' MVN_PROJECT_ARTIFACTID is [scripts] MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> generate-sources phase script' + case $MVN_PROJECT_MODULEID in + expand_templates ==> generate-sources phase script + set +x ====> Done template resolving [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ scripts --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ scripts --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ scripts --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /w/workspace/dcaegen2-utils-sonar/scripts/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ scripts --- [INFO] No sources to compile [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile script) @ scripts --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [compile]' running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [compile] + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=compile ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=compile MVN_RELEASE_TAG is [] ++ echo 'MVN_RELEASE_TAG is []' MVN_PROJECT_MODULEID is [scripts] ++ echo 'MVN_PROJECT_MODULEID is [scripts]' ++ echo 'MVN_PHASE is [compile]' MVN_PHASE is [compile] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_ARTIFACTID is [scripts] ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_RAWREPO_HOST=nexus.onap.org MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> compile phase script' + case $MVN_PROJECT_MODULEID in ==> compile phase script [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ scripts --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ scripts --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ scripts --- [INFO] Tests are skipped. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ scripts --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (test script) @ scripts --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [test]' running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [test] + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=test ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f1 -d: +++ cut -f3 -d/ ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=test ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [scripts]' MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [scripts] MVN_PHASE is [test] ++ echo 'MVN_PHASE is [test]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [scripts] ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> test phase script' + case $MVN_PROJECT_MODULEID in ==> test phase script + '[' -f tox.ini ']' [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (package script) @ scripts --- + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [package]' + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=package running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [package] ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031327 ++ '[' -z https://nexus.onap.org ']' +++ echo https://nexus.onap.org +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=package ++ echo 'MVN_RELEASE_TAG is []' ++ echo 'MVN_PROJECT_MODULEID is [scripts]' ++ echo 'MVN_PHASE is [package]' ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org +++ echo https://nexus.onap.org/content/sites/raw MVN_RELEASE_TAG is [] MVN_PROJECT_MODULEID is [scripts] MVN_PHASE is [package] MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] MVN_PROJECT_ARTIFACTID is [scripts] MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] MVN_NEXUSPROXY is [https://nexus.onap.org] MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' MVN_RAWREPO_HOST is [nexus.onap.org] ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] MVN_DOCKERREGISTRY_PUBLIC is [] MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_PYPISERVER_SERVERID [onap-pypi] MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031327 + export BUILD_NUMBER=20240831T031327 + BUILD_NUMBER=20240831T031327 + shift 2 + case $MVN_PHASE in + echo '==> package phase script' ==> package phase script + case $MVN_PROJECT_MODULEID in + upload_files_of_extension sh scripts ++ ls -1 ./mvn-phase-lib.sh + FILES=./mvn-phase-lib.sh + for F in $FILES + upload_raw_file ./mvn-phase-lib.sh scripts ++ xpath -q -e '//servers/server[id='\''ecomp-raw'\'']/username/text()' /w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + USER=dcaegen2-utils ++ xpath -q -e '//servers/server[id='\''ecomp-raw'\'']/password/text()' /w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + PASS=IyEYsEjskodlNynlbhymVv6bvBAZCHfbB ++ mktemp + NETRC=/tmp/tmp.pGl54zWqmn + echo 'machine nexus.onap.org login dcaegen2-utils password IyEYsEjskodlNynlbhymVv6bvBAZCHfbB' + REPO=https://nexus.onap.org/content/sites/raw + OUTPUT_FILE=./mvn-phase-lib.sh ++ echo ./mvn-phase-lib.sh ++ rev ++ cut -f1 -d . ++ rev + EXT=sh + '[' sh == yaml ']' + '[' sh == sh ']' + OUTPUT_FILE_TYPE=text/x-shellscript + '[' scripts == scripts ']' + PROJECT_NAME=org.onap.dcaegen2.utils + '[' -z R12 ']' + SEND_TO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12 + '[' '!' -z scripts ']' + SEND_TO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts + echo 'Sending ./mvn-phase-lib.sh to Nexus: https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts' + curl -vkn --netrc-file /tmp/tmp.pGl54zWqmn --upload-file ./mvn-phase-lib.sh -X PUT -H 'Content-Type: text/x-shellscript' https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/./mvn-phase-lib.sh-20240831T031327 Sending ./mvn-phase-lib.sh to Nexus: https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts * Rebuilt URL to: https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/mvn-phase-lib.sh-20240831T031327 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 199.204.45.137... * TCP_NODELAY set * Connected to nexus.onap.org (199.204.45.137) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [108 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [2568 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [333 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [70 bytes data] * TLSv1.2 (OUT), TLS change cipher, Client hello (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] * TLSv1.2 (IN), TLS handshake, Finished (20): { [16 bytes data] * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=nexus.onap.org * start date: Aug 20 22:00:50 2024 GMT * expire date: Nov 18 22:00:49 2024 GMT * issuer: C=US; O=Let's Encrypt; CN=R11 * SSL certificate verify ok. * Server auth using Basic with user 'dcaegen2-utils' } [5 bytes data] > PUT /content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/mvn-phase-lib.sh-20240831T031327 HTTP/1.1 > Host: nexus.onap.org > Authorization: Basic ZGNhZWdlbjItdXRpbHM6SXlFWXNFanNrb2RsTnlubGJoeW1WdjZidkJBWkNIZmJC > User-Agent: curl/7.58.0 > Accept: */* > Content-Type: text/x-shellscript > Content-Length: 19956 > Expect: 100-continue > { [5 bytes data] < HTTP/1.1 100 Continue } [5 bytes data] * We are completely uploaded and fine { [5 bytes data] < HTTP/1.1 201 Created < Server: nginx/1.20.0 < Date: Sat, 31 Aug 2024 03:13:28 GMT < Content-Length: 0 < Connection: keep-alive < Keep-Alive: timeout=5 < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Accept-Ranges: bytes < Referrer-Policy: no-referrer < Permissions-Policy: camera=(), geolocation=(), microphone=() < Content-Security-Policy: default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' www.google-analytics.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' https: data:; connect-src 'self' 'unsafe-inline' www.google-analytics.com stats.g.doubleclick.net; frame-src 'self'; font-src 'self' fonts.gstatic.com < Strict-Transport-Security: max-age=15552000 < 100 19956 0 0 100 19956 0 256k --:--:-- --:--:-- --:--:-- 256k * Connection #0 to host nexus.onap.org left intact + curl -vkn --netrc-file /tmp/tmp.pGl54zWqmn --upload-file ./mvn-phase-lib.sh -X PUT -H 'Content-Type: text/x-shellscript' https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/./mvn-phase-lib.sh * Rebuilt URL to: https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/mvn-phase-lib.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 199.204.45.137... * TCP_NODELAY set * Connected to nexus.onap.org (199.204.45.137) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [108 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [2568 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [333 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [70 bytes data] * TLSv1.2 (OUT), TLS change cipher, Client hello (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] * TLSv1.2 (IN), TLS handshake, Finished (20): { [16 bytes data] * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=nexus.onap.org * start date: Aug 20 22:00:50 2024 GMT * expire date: Nov 18 22:00:49 2024 GMT * issuer: C=US; O=Let's Encrypt; CN=R11 * SSL certificate verify ok. * Server auth using Basic with user 'dcaegen2-utils' } [5 bytes data] > PUT /content/sites/raw/org.onap.dcaegen2.utils/R12/scripts/mvn-phase-lib.sh HTTP/1.1 > Host: nexus.onap.org > Authorization: Basic ZGNhZWdlbjItdXRpbHM6SXlFWXNFanNrb2RsTnlubGJoeW1WdjZidkJBWkNIZmJC > User-Agent: curl/7.58.0 > Accept: */* > Content-Type: text/x-shellscript > Content-Length: 19956 > Expect: 100-continue > { [5 bytes data] < HTTP/1.1 100 Continue } [5 bytes data] * We are completely uploaded and fine { [5 bytes data] < HTTP/1.1 201 Created < Server: nginx/1.20.0 < Date: Sat, 31 Aug 2024 03:13:28 GMT < Content-Length: 0 < Connection: keep-alive < Keep-Alive: timeout=5 < X-Frame-Options: SAMEORIGIN < X-Content-Type-Options: nosniff < Accept-Ranges: bytes < Referrer-Policy: no-referrer < Permissions-Policy: camera=(), geolocation=(), microphone=() < Content-Security-Policy: default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' www.google-analytics.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' https: data:; connect-src 'self' 'unsafe-inline' www.google-analytics.com stats.g.doubleclick.net; frame-src 'self'; font-src 'self' fonts.gstatic.com < Strict-Transport-Security: max-age=15552000 < 100 19956 0 0 100 19956 0 573k --:--:-- --:--:-- --:--:-- 573k * Connection #0 to host nexus.onap.org left intact [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-integration-test) @ scripts --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/w/workspace/dcaegen2-utils-sonar/scripts/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ scripts --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-integration-test) @ scripts --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (integration-tests) @ scripts --- [INFO] Failsafe report directory: /w/workspace/dcaegen2-utils-sonar/scripts/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ scripts --- [INFO] Skipping artifact installation [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (install script) @ scripts --- running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [install] + echo 'running script: [/w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh] for module [scripts] at stage [install]' + MVN_PROJECT_MODULEID=scripts + MVN_PHASE=install ++ dirname /w/workspace/dcaegen2-utils-sonar/mvn-phase-script.sh + PROJECT_ROOT=/w/workspace/dcaegen2-utils-sonar + '[' -z https://nexus.onap.org ']' + export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp + set +e + source /w/workspace/dcaegen2-utils-sonar/scripts/mvn-phase-lib.sh ++ FQDN=org.onap.dcaegen2.utils.scripts ++ '[' scripts == __ ']' ++ [[ 1.1.0-SNAPSHOT == *SNAPSHOT ]] ++ echo '=> for SNAPSHOT artifact build' ++ MVN_DEPLOYMENT_TYPE=SNAPSHOT ++ echo 'MVN_DEPLOYMENT_TYPE is [SNAPSHOT]' => for SNAPSHOT artifact build MVN_DEPLOYMENT_TYPE is [SNAPSHOT] +++ date +%C%y%m%dT%H%M%S ++ TIMESTAMP=20240831T031328 ++ '[' -z https://nexus.onap.org ']' +++ cut -f1 -d: +++ cut -f3 -d/ +++ echo https://nexus.onap.org ++ MVN_NEXUSPROXY_HOST=nexus.onap.org ++ echo '=> Nexus Proxy at nexus.onap.org, https://nexus.onap.org' ++ '[' -z /w/workspace/dcaegen2-utils-sonar ']' => Nexus Proxy at nexus.onap.org, https://nexus.onap.org ++ export SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ SETTINGS_FILE=/w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp ++ RELEASE_TAG=R12 ++ '[' R12 == R1 ']' ++ MVN_PHASE=install ++ echo 'MVN_RELEASE_TAG is []' MVN_RELEASE_TAG is [] ++ echo 'MVN_PROJECT_MODULEID is [scripts]' MVN_PROJECT_MODULEID is [scripts] ++ echo 'MVN_PHASE is [install]' MVN_PHASE is [install] ++ echo 'MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils]' MVN_PROJECT_GROUPID is [org.onap.dcaegen2.utils] ++ echo 'MVN_PROJECT_ARTIFACTID is [scripts]' MVN_PROJECT_ARTIFACTID is [scripts] ++ echo 'MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT]' MVN_PROJECT_VERSION is [1.1.0-SNAPSHOT] ++ echo 'MVN_NEXUSPROXY is [https://nexus.onap.org]' MVN_NEXUSPROXY is [https://nexus.onap.org] ++ echo 'MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw]' MVN_RAWREPO_BASEURL_UPLOAD is [https://nexus.onap.org/content/sites/raw] ++ echo 'MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content]' MVN_RAWREPO_BASEURL_DOWNLOAD is [https://nexus.onap.org/service/local/repositories/raw/content] +++ echo https://nexus.onap.org/content/sites/raw +++ cut -f3 -d/ +++ cut -f1 -d: ++ MVN_RAWREPO_HOST=nexus.onap.org ++ echo 'MVN_RAWREPO_HOST is [nexus.onap.org]' ++ echo 'MVN_RAWREPO_SERVERID is [ecomp-raw]' MVN_RAWREPO_HOST is [nexus.onap.org] MVN_RAWREPO_SERVERID is [ecomp-raw] ++ echo 'MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003]' MVN_DOCKERREGISTRY_SNAPSHOT is [nexus3.onap.org:10003] ++ echo 'MVN_DOCKERREGISTRY_PUBLIC is []' MVN_DOCKERREGISTRY_PUBLIC is [] ++ echo 'MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002]' MVN_DOCKERREGISTRY_RELEASE is [nexus3.onap.org:10002] ++ echo 'MVN_PYPISERVER_SERVERID [onap-pypi]' MVN_PYPISERVER_SERVERID [onap-pypi] ++ echo 'MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi]' MVN_PYPISERVER_BASEURL is [https://nexus3.onap.org/repository/PyPi] + REPO=https://nexus.onap.org/content/sites/raw/org.onap.dcaegen2.utils ++ date +%C%y%m%dT%H%M%S + TIMESTAMP=20240831T031328 + export BUILD_NUMBER=20240831T031328 + BUILD_NUMBER=20240831T031328 + shift 2 + case $MVN_PHASE in + echo '==> install phase script' + case $MVN_PROJECT_MODULEID in ==> install phase script [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] dcaegen2-utils-python-cbs-docker-client 2.2.1-SNAPSHOT SUCCESS [ 50.727 s] [INFO] dcaegen2-utils 1.2.1-SNAPSHOT ...................... SUCCESS [ 0.175 s] [INFO] dcaegen2-utils-onap-dcae-dcaepolicy-lib 2.5.1-SNAPSHOT SUCCESS [ 31.530 s] [INFO] dcaegen2-utils-scripts 1.1.0-SNAPSHOT .............. SUCCESS [ 1.205 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:27 min [INFO] Finished at: 2024-08-31T03:13:28Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk11 '!=' openjdk17 ']' + export SET_JDK_VERSION=openjdk17 + SET_JDK_VERSION=openjdk17 + bash /dev/fd/63 ++ curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + source /tmp/java.env ++ JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/dcaegen2-utils-sonar@tmp/config6018031957446813346tmp --settings /w/workspace/dcaegen2-utils-sonar@tmp/config11791545087866209872tmp -Dsonar.projectKey=onap_dcaegen2-utils -Dsonar.organization=onap -Dsonar.login=**** --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 Unrecognized VM option 'MaxPermSize=256m' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Build step 'Conditional steps (multiple)' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins6724637896990634347.sh ---> sysstat.sh [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins12351763695043857197.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-utils-sonar + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-utils-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-utils-sonar ']' + mkdir -p /w/workspace/dcaegen2-utils-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-utils-sonar/archives/ [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins9413507683594966183.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-utils-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w2d8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-w2d8/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins10458459701569390356.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-utils-sonar@tmp/config3997315104829628926tmp 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. [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins5131347229281078362.sh ---> create-netrc.sh [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins6449189716162575332.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-utils-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w2d8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-w2d8/bin to PATH [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins14053779505755922115.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-utils-sonar] $ /bin/bash /tmp/jenkins5600827216416180743.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-utils-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w2d8 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-w2d8/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [dcaegen2-utils-sonar] $ /bin/bash -l /tmp/jenkins8572782945545416764.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-utils-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w2d8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-w2d8/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-utils-sonar/2158 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-ubuntu1804-docker-8c-8g-35010 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 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 xtopology 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 arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 11G 145G 7% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 833 29065 0 2268 30906 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:35:c7:cd brd ff:ff:ff:ff:ff:ff inet 10.30.107.149/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85991sec preferred_lft 85991sec inet6 fe80::f816:3eff:fe35:c7cd/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:81:42:fa:9d 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.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35010) 08/31/24 _x86_64_ (8 CPU) 03:07:29 LINUX RESTART (8 CPU) 03:08:01 tps rtps wtps bread/s bwrtn/s 03:09:01 103.90 57.56 46.34 3613.80 33577.74 03:10:01 40.88 0.82 40.06 26.13 15861.22 03:11:01 45.78 13.20 32.58 960.24 17187.67 03:12:01 72.52 12.11 60.41 218.36 19852.96 03:13:01 96.62 13.70 82.92 586.30 21370.04 03:14:01 60.50 16.55 43.95 1349.68 17385.25 Average: 70.03 18.99 51.04 1125.78 20872.09 03:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:09:01 30403004 31726552 2536216 7.70 46132 1602020 1428600 4.20 806868 1468580 30876 03:10:01 30305320 31677028 2633900 8.00 52884 1639448 1477928 4.35 866640 1495172 1044 03:11:01 30207580 31744136 2731640 8.29 67476 1781104 1406088 4.14 824028 1619972 110464 03:12:01 29941744 31600800 2997476 9.10 75180 1889804 2014124 5.93 983732 1713900 88604 03:13:01 29303424 31142920 3635796 11.04 90712 2046072 2135256 6.28 1483576 1828868 55284 03:14:01 29833368 31719128 3105852 9.43 96620 2084780 1424344 4.19 940980 1842920 16260 Average: 29999073 31601761 2940147 8.93 71501 1840538 1647723 4.85 984304 1661569 50422 03:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:09:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 03:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:09:01 ens3 403.40 244.64 872.62 70.65 0.00 0.00 0.00 0.00 03:10:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:10:01 ens3 12.30 10.36 81.28 3.02 0.00 0.00 0.00 0.00 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:01 ens3 23.56 14.78 526.85 2.74 0.00 0.00 0.00 0.00 03:12:01 lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:12:01 ens3 44.31 33.83 398.56 9.42 0.00 0.00 0.00 0.00 03:13:01 lo 4.07 4.07 0.47 0.47 0.00 0.00 0.00 0.00 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:01 ens3 171.09 156.79 1202.25 31.67 0.00 0.00 0.00 0.00 03:14:01 lo 1.53 1.53 0.16 0.16 0.00 0.00 0.00 0.00 03:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:14:01 ens3 51.14 43.51 94.48 14.61 0.00 0.00 0.00 0.00 Average: lo 1.32 1.32 0.14 0.14 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 117.63 83.98 529.29 22.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35010) 08/31/24 _x86_64_ (8 CPU) 03:07:29 LINUX RESTART (8 CPU) 03:08:01 CPU %user %nice %system %iowait %steal %idle 03:09:01 all 5.14 0.00 0.63 12.74 0.03 81.47 03:09:01 0 10.20 0.00 0.67 4.84 0.03 84.25 03:09:01 1 4.76 0.00 0.43 0.65 0.02 94.14 03:09:01 2 3.44 0.00 0.58 5.78 0.03 90.16 03:09:01 3 4.79 0.00 0.44 4.84 0.03 89.90 03:09:01 4 2.29 0.00 0.72 0.74 0.02 96.24 03:09:01 5 8.81 0.00 0.89 21.76 0.05 68.50 03:09:01 6 2.94 0.00 0.53 3.44 0.03 93.05 03:09:01 7 3.92 0.00 0.72 59.97 0.05 35.34 03:10:01 all 2.20 0.00 0.15 11.69 0.01 85.95 03:10:01 0 6.37 0.00 0.47 1.34 0.02 91.81 03:10:01 1 0.60 0.00 0.08 0.02 0.02 99.28 03:10:01 2 0.63 0.00 0.07 1.58 0.00 97.71 03:10:01 3 0.10 0.00 0.02 0.00 0.02 99.87 03:10:01 4 0.33 0.00 0.02 0.22 0.02 99.42 03:10:01 5 2.94 0.00 0.17 28.99 0.02 67.89 03:10:01 6 3.19 0.00 0.18 7.08 0.00 89.55 03:10:01 7 3.40 0.00 0.18 54.29 0.02 42.11 03:11:01 all 2.27 0.00 0.31 10.26 0.02 87.14 03:11:01 0 0.05 0.00 0.08 0.43 0.02 99.42 03:11:01 1 0.88 0.00 0.13 2.78 0.00 96.21 03:11:01 2 5.32 0.00 0.68 3.36 0.02 90.62 03:11:01 3 0.35 0.00 0.23 0.77 0.03 98.62 03:11:01 4 0.48 0.00 0.22 0.42 0.00 98.88 03:11:01 5 9.51 0.00 0.82 74.36 0.05 15.26 03:11:01 6 1.03 0.00 0.18 0.13 0.00 98.65 03:11:01 7 0.53 0.00 0.08 0.12 0.02 99.25 03:12:01 all 4.99 0.00 0.35 9.43 0.02 85.20 03:12:01 0 2.07 0.00 0.22 6.54 0.03 91.14 03:12:01 1 1.73 0.00 0.08 0.08 0.02 98.09 03:12:01 2 6.33 0.00 0.28 6.97 0.03 86.39 03:12:01 3 4.41 0.00 0.17 0.03 0.00 95.39 03:12:01 4 1.97 0.00 0.10 0.05 0.02 97.87 03:12:01 5 7.12 0.00 0.50 11.20 0.02 81.15 03:12:01 6 3.53 0.00 0.28 0.42 0.02 95.75 03:12:01 7 12.79 0.00 1.21 50.44 0.05 35.52 03:13:01 all 15.54 0.00 1.20 6.34 0.05 76.87 03:13:01 0 9.84 0.00 1.43 15.95 0.05 72.73 03:13:01 1 13.44 0.00 1.13 2.18 0.03 83.21 03:13:01 2 13.07 0.00 1.49 0.90 0.07 84.47 03:13:01 3 30.62 0.00 1.63 2.56 0.07 65.12 03:13:01 4 14.18 0.00 0.86 12.84 0.07 72.06 03:13:01 5 16.15 0.00 1.30 12.77 0.07 69.72 03:13:01 6 20.60 0.00 1.00 2.26 0.05 76.09 03:13:01 7 6.53 0.00 0.79 1.32 0.03 91.33 03:14:01 all 8.40 0.00 0.78 5.42 0.03 85.37 03:14:01 0 2.20 0.00 0.57 0.80 0.00 96.43 03:14:01 1 4.98 0.00 0.59 1.74 0.03 92.66 03:14:01 2 2.68 0.00 0.62 0.78 0.02 95.90 03:14:01 3 10.19 0.00 0.85 2.17 0.02 86.77 03:14:01 4 3.91 0.00 1.02 33.32 0.05 61.70 03:14:01 5 3.76 0.00 0.62 0.85 0.08 94.69 03:14:01 6 6.74 0.00 0.70 0.30 0.02 92.24 03:14:01 7 32.96 0.00 1.27 3.39 0.05 62.33 Average: all 6.41 0.00 0.57 9.32 0.03 83.67 Average: 0 5.11 0.00 0.57 4.98 0.03 89.31 Average: 1 4.39 0.00 0.41 1.24 0.02 93.95 Average: 2 5.24 0.00 0.62 3.23 0.03 90.88 Average: 3 8.38 0.00 0.55 1.73 0.03 89.31 Average: 4 3.85 0.00 0.49 7.91 0.03 87.73 Average: 5 8.04 0.00 0.71 24.99 0.05 66.21 Average: 6 6.33 0.00 0.48 2.27 0.02 90.90 Average: 7 9.98 0.00 0.71 28.26 0.04 61.02