Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-14114 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/msb-swagger-sdk-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/msb/swagger-sdk > git init /w/workspace/msb-swagger-sdk-sonar # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/msb/swagger-sdk > 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/msb/swagger-sdk +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/msb/swagger-sdk # 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 9bc4dc212b6b0c6fae8f09dd3b164e88064ea26c (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc4dc212b6b0c6fae8f09dd3b164e88064ea26c # timeout=10 Commit message: "Issue-ID: DOC-823" > git rev-list --no-walk 9bc4dc212b6b0c6fae8f09dd3b164e88064ea26c # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins15917609944711560640.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-eGso 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-eGso/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-eGso/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.117 botocore==1.34.117 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.1.1 filelock==3.14.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.5.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.5 tqdm==4.66.4 typing_extensions==4.12.1 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 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] [msb-swagger-sdk-sonar] $ /bin/sh -xe /tmp/jenkins14583045823553344694.sh + echo Using SonarCloud Using SonarCloud [msb-swagger-sdk-sonar] $ /bin/sh -xe /tmp/jenkins7524258672455276066.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-builder-4c-4g-14114 [msb-swagger-sdk-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=msb/swagger-sdk -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=msb/swagger-sdk -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-194-generic", arch: "amd64", family: "unix" [msb-swagger-sdk-sonar] $ /bin/sh -xe /tmp/jenkins15706692023695151480.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. [msb-swagger-sdk-sonar] $ /bin/sh /tmp/jenkins3026734311653823096.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_msb-swagger-sdk [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/msb-swagger-sdk-sonar@tmp/config5784280314868321304tmp copy managed file [msb-swagger-sdk-settings] to file:/w/workspace/msb-swagger-sdk-sonar@tmp/config12488678396844311010tmp [msb-swagger-sdk-sonar] $ /bin/bash -l /tmp/jenkins8792681347542608732.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/msb-swagger-sdk-sonar@tmp/config5784280314868321304tmp --settings /w/workspace/msb-swagger-sdk-sonar@tmp/config12488678396844311010tmp --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-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ----------------< org.onap.msb.swagger-sdk:swagger-sdk >---------------- [INFO] Building msb-swagger-sdk 1.5.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ swagger-sdk --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ swagger-sdk --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ swagger-sdk --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-unit-test) @ swagger-sdk --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/w/workspace/msb-swagger-sdk-sonar/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-license) @ swagger-sdk --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-java-style) @ swagger-sdk --- [INFO] Starting audit... [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:21: Wrong lexicographical order for 'java.io.IOException' import. Should be before 'org.apache.commons.io.IOUtils'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:22: Wrong lexicographical order for 'javax.ws.rs.GET' import. Should be before 'org.apache.commons.io.IOUtils'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:23: Wrong lexicographical order for 'javax.ws.rs.Path' import. Should be before 'org.apache.commons.io.IOUtils'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:24: Wrong lexicographical order for 'javax.ws.rs.Produces' import. Should be before 'org.apache.commons.io.IOUtils'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:25: Wrong lexicographical order for 'javax.ws.rs.core.MediaType' import. Should be before 'org.apache.commons.io.IOUtils'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java:31: Javadoc comment at column 0 has parse error. Details: no viable alternative at input ' *' while parsing JAVADOC_TAG [AtclauseOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:25: Wrong lexicographical order for 'java.io.File' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:26: Wrong lexicographical order for 'java.io.FileInputStream' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:27: Wrong lexicographical order for 'java.io.FileNotFoundException' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:28: Wrong lexicographical order for 'java.io.IOException' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:29: Wrong lexicographical order for 'java.io.InputStream' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:30: Wrong lexicographical order for 'java.util.Iterator' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/util/AdapterInfoUtil.java:31: Wrong lexicographical order for 'java.util.Properties' import. Should be before 'org.slf4j.LoggerFactory'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:23: Wrong lexicographical order for 'io.swagger.jaxrs.config.BeanConfig' import. Should be before 'org.junit.Test'. [CustomImportOrder] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:27: 'method def modifier' has incorrect indentation level 5, expected level should be 4. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:29: 'try' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:30: 'try' child has incorrect indentation level 9, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:30: Line is longer than 120 characters (found 130). [LineLength] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:31: 'try' child has incorrect indentation level 9, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:31: Line is longer than 120 characters (found 129). [LineLength] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:32: 'try rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:33: 'catch' child has incorrect indentation level 13, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/bean/SwaggerBeanTest.java:34: 'catch rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:25: 'method def modifier' has incorrect indentation level 5, expected level should be 4. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:27: 'try' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:28: 'try' child has incorrect indentation level 9, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:29: 'try rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:30: 'catch' child has incorrect indentation level 13, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/service/rest/SwaggerRoaTest.java:31: 'catch rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:25: 'method def modifier' has incorrect indentation level 5, expected level should be 4. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:27: 'try' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:28: 'try' child has incorrect indentation level 9, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:29: 'try rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:30: 'catch' child has incorrect indentation level 13, expected level should be 12. [Indentation] [WARN] /w/workspace/msb-swagger-sdk-sonar/src/test/java/org/onap/swagger/util/SwaggerTest.java:31: 'catch rcurly' has incorrect indentation level 9, expected level should be 8. [Indentation] Audit done. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ swagger-sdk --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swagger-sdk --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /w/workspace/msb-swagger-sdk-sonar/target/classes [INFO] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java: Some input files use or override a deprecated API. [INFO] /w/workspace/msb-swagger-sdk-sonar/src/main/java/org/onap/swagger/service/rest/SwaggerRoa.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ swagger-sdk --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ swagger-sdk --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /w/workspace/msb-swagger-sdk-sonar/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ swagger-sdk --- [INFO] Surefire report directory: /w/workspace/msb-swagger-sdk-sonar/target/surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.onap.swagger.bean.SwaggerBeanTest log4j:WARN No appenders could be found for logger (org.onap.swagger.util.AdapterInfoUtil). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 s - in org.onap.swagger.bean.SwaggerBeanTest [INFO] Running org.onap.swagger.service.rest.SwaggerRoaTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.swagger.service.rest.SwaggerRoaTest [INFO] Running org.onap.swagger.util.SwaggerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.onap.swagger.util.SwaggerTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (post-unit-test) @ swagger-sdk --- [INFO] Loading execution data file /w/workspace/msb-swagger-sdk-sonar/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'msb-swagger-sdk' with 3 classes [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ swagger-sdk --- [INFO] Building jar: /w/workspace/msb-swagger-sdk-sonar/target/swagger-sdk-1.5.0-SNAPSHOT.jar [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-integration-test) @ swagger-sdk --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/w/workspace/msb-swagger-sdk-sonar/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ swagger-sdk --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (post-integration-test) @ swagger-sdk --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ swagger-sdk --- [INFO] Failsafe report directory: /w/workspace/msb-swagger-sdk-sonar/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ swagger-sdk --- [INFO] Installing /w/workspace/msb-swagger-sdk-sonar/target/swagger-sdk-1.5.0-SNAPSHOT.jar to /tmp/r/org/onap/msb/swagger-sdk/swagger-sdk/1.5.0-SNAPSHOT/swagger-sdk-1.5.0-SNAPSHOT.jar [INFO] Installing /w/workspace/msb-swagger-sdk-sonar/pom.xml to /tmp/r/org/onap/msb/swagger-sdk/swagger-sdk/1.5.0-SNAPSHOT/swagger-sdk-1.5.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.874 s [INFO] Finished at: 2024-06-01T18:41:20Z [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/msb-swagger-sdk-sonar@tmp/config5784280314868321304tmp --settings /w/workspace/msb-swagger-sdk-sonar@tmp/config12488678396844311010tmp -Dsonar.projectKey=onap_msb-swagger-sdk -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. [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins16531260140223773371.sh ---> sysstat.sh [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins11457506725157927701.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/msb-swagger-sdk-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/msb-swagger-sdk-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/msb-swagger-sdk-sonar ']' + mkdir -p /w/workspace/msb-swagger-sdk-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/msb-swagger-sdk-sonar/archives/ [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins8528025881828388310.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/msb-swagger-sdk-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eGso from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-eGso/bin to PATH INFO: Running in OpenStack, capturing instance metadata [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins2770727505150846535.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/msb-swagger-sdk-sonar@tmp/config2531437973383467247tmp 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. [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins5773308063528482607.sh ---> create-netrc.sh [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins7148920518335418986.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/msb-swagger-sdk-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eGso from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-eGso/bin to PATH [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins15578088485121073515.sh ---> sudo-logs.sh Archiving 'sudo' log.. [msb-swagger-sdk-sonar] $ /bin/bash /tmp/jenkins2144921936114510952.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/msb-swagger-sdk-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eGso 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-eGso/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [msb-swagger-sdk-sonar] $ /bin/bash -l /tmp/jenkins449465676488437515.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/msb-swagger-sdk-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eGso from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-eGso/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/msb-swagger-sdk-sonar/2137 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-builder-4c-4g-14114 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 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): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 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: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 672K 1.6G 1% /run /dev/vda1 78G 8.2G 70G 11% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 561 13458 0 2020 15172 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:3a:a1:fa brd ff:ff:ff:ff:ff:ff inet 10.30.107.14/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85942sec preferred_lft 85942sec inet6 fe80::f816:3eff:fe3a:a1fa/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-14114) 06/01/24 _x86_64_ (4 CPU) 18:34:25 LINUX RESTART (4 CPU) 18:35:01 tps rtps wtps bread/s bwrtn/s 18:36:01 30.33 0.03 30.29 2.40 39514.48 18:37:01 1.58 0.00 1.58 0.00 18.66 18:38:01 0.77 0.00 0.77 0.00 9.60 18:39:01 1.67 0.00 1.67 0.00 20.13 18:40:01 4.20 3.07 1.13 119.58 208.10 18:41:01 225.40 32.91 192.48 1674.12 7568.34 Average: 43.99 6.00 37.98 299.33 7889.23 18:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:36:01 14465680 15694860 1959288 11.93 32084 1416204 687484 3.93 484620 1299500 148 18:37:01 14466192 15695472 1958776 11.93 32148 1416208 687484 3.93 484628 1299496 8 18:38:01 14466024 15695348 1958944 11.93 32172 1416212 687484 3.93 484680 1299500 152 18:39:01 14465520 15694908 1959448 11.93 32244 1416216 687484 3.93 485448 1299504 8 18:40:01 14420036 15658976 2004932 12.21 32344 1425672 687484 3.93 523244 1306660 20 18:41:01 13920880 15526344 2504088 15.25 64556 1741132 813908 4.66 714672 1573124 191000 Average: 14367389 15660985 2057579 12.53 37591 1471941 708555 4.06 529549 1346297 31889 18:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:36:01 ens3 0.42 0.27 0.14 0.09 0.00 0.00 0.00 0.00 18:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:37:01 ens3 0.33 0.17 0.07 0.19 0.00 0.00 0.00 0.00 18:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:38:01 ens3 0.70 0.08 0.12 0.16 0.00 0.00 0.00 0.00 18:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:39:01 ens3 1.40 1.12 0.68 1.54 0.00 0.00 0.00 0.00 18:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:40:01 ens3 88.89 47.29 125.65 17.46 0.00 0.00 0.00 0.00 18:41:01 lo 1.80 1.80 0.19 0.19 0.00 0.00 0.00 0.00 18:41:01 ens3 111.53 73.20 1043.12 28.50 0.00 0.00 0.00 0.00 Average: lo 0.37 0.37 0.04 0.04 0.00 0.00 0.00 0.00 Average: ens3 33.87 20.35 194.94 7.99 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-14114) 06/01/24 _x86_64_ (4 CPU) 18:34:25 LINUX RESTART (4 CPU) 18:35:01 CPU %user %nice %system %iowait %steal %idle 18:36:01 all 0.13 0.00 0.05 3.50 0.01 96.31 18:36:01 0 0.07 0.00 0.05 0.13 0.02 99.73 18:36:01 1 0.08 0.00 0.07 13.89 0.02 85.94 18:36:01 2 0.28 0.00 0.05 0.00 0.00 99.67 18:36:01 3 0.08 0.00 0.03 0.00 0.02 99.87 18:37:01 all 0.06 0.00 0.01 0.01 0.01 99.91 18:37:01 0 0.13 0.00 0.00 0.03 0.00 99.83 18:37:01 1 0.05 0.00 0.02 0.00 0.02 99.92 18:37:01 2 0.02 0.00 0.02 0.02 0.00 99.95 18:37:01 3 0.03 0.00 0.02 0.00 0.00 99.95 18:38:01 all 0.05 0.00 0.01 0.00 0.01 99.92 18:38:01 0 0.03 0.00 0.02 0.02 0.02 99.92 18:38:01 1 0.15 0.00 0.02 0.00 0.02 99.82 18:38:01 2 0.00 0.00 0.02 0.00 0.00 99.98 18:38:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:39:01 all 0.12 0.00 0.02 0.01 0.01 99.84 18:39:01 0 0.08 0.00 0.02 0.02 0.00 99.88 18:39:01 1 0.15 0.00 0.03 0.03 0.02 99.77 18:39:01 2 0.12 0.00 0.02 0.00 0.02 99.85 18:39:01 3 0.13 0.00 0.00 0.00 0.02 99.85 18:40:01 all 1.36 0.00 0.08 0.03 0.01 98.52 18:40:01 0 1.43 0.00 0.10 0.02 0.02 98.43 18:40:01 1 1.73 0.00 0.00 0.00 0.02 98.25 18:40:01 2 1.33 0.00 0.12 0.03 0.00 98.52 18:40:01 3 0.95 0.00 0.10 0.07 0.00 98.88 18:41:01 all 21.36 0.00 1.62 2.53 0.06 74.44 18:41:01 0 28.10 0.00 2.09 5.01 0.07 64.74 18:41:01 1 17.25 0.00 1.96 4.38 0.03 76.38 18:41:01 2 5.46 0.00 0.62 0.23 0.07 93.61 18:41:01 3 34.56 0.00 1.82 0.47 0.07 63.09 Average: all 3.84 0.00 0.30 1.01 0.02 94.83 Average: 0 4.98 0.00 0.38 0.87 0.02 93.75 Average: 1 3.23 0.00 0.35 3.05 0.02 93.36 Average: 2 1.20 0.00 0.14 0.05 0.01 98.60 Average: 3 5.96 0.00 0.33 0.09 0.02 93.61