Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-1757 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-rappcatalogue-sonar The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/rappcatalogue > git init /w/workspace/nonrtric-plt-rappcatalogue-sonar # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/rappcatalogue > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/rappcatalogue +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/rappcatalogue # 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 1d437001a7590e8c56cab36524e969ca446872c8 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d437001a7590e8c56cab36524e969ca446872c8 # timeout=10 Commit message: "Merge "RApp Catalogue-Enhanced Release notes & Roll version after i-release 1.1.0 -> 1.2.0"" > git rev-list --no-walk 195560030b6243f1f0ba3996b1a3be2c46ff5363 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins6784323701524669076.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-om4t 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-om4t/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-om4t/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.7 botocore==1.34.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [nonrtric-plt-rappcatalogue-sonar] $ /bin/sh -xe /tmp/jenkins811335888234501609.sh + echo Using SonarCloud Using SonarCloud [nonrtric-plt-rappcatalogue-sonar] $ /bin/sh -xe /tmp/jenkins17829705014122173542.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 on prd-ubuntu1804-docker-4c-4g-1757 [nonrtric-plt-rappcatalogue-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=nonrtric/plt/rappcatalogue -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/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=nonrtric/plt/rappcatalogue -Dsha1=origin/master -DMAVEN_OPTS= -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DMAVEN_PARAMS=-Ddocker.skip=true -DSONAR_MAVEN_GOAL=sonar:sonar --version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 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" [nonrtric-plt-rappcatalogue-sonar] $ /bin/sh -xe /tmp/jenkins9442953474390532837.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [nonrtric-plt-rappcatalogue-sonar] $ /bin/sh /tmp/jenkins8445799364181677796.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 [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=o-ran-sc SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=nonrtric_plt_rappcatalogue [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3543601982966456444tmp copy managed file [nonrtric-plt-rappcatalogue-settings] to file:/w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3804718828906957599tmp [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash -l /tmp/jenkins12173964170020959516.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3543601982966456444tmp --settings /w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3804718828906957599tmp --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 -Ddocker.skip=true Picked up _JAVA_OPTIONS: Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-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.o-ran-sc.nonrtric.plt:rappcatalogue >--------------- [INFO] Building rappcatalogue 1.3.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ rappcatalogue --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default-prepare-agent) @ rappcatalogue --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/w/workspace/nonrtric-plt-rappcatalogue-sonar/target/jacoco.exec [INFO] [INFO] --- openapi-generator-maven-plugin:6.0.0:generate (generate-openapi-java) @ rappcatalogue --- [INFO] Generating with dryRun=false [INFO] Output directory (/w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated. [INFO] OpenAPI Generator: spring (server) [INFO] Generator 'spring' is considered stable. [INFO] ---------------------------------- [INFO] Set base package to invoker package (org.oransc.rappcatalogue) [INFO] Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac) [INFO] NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI). [INFO] Processing operation getServices [INFO] Processing operation getIndividualService [INFO] Processing operation putIndividualService [INFO] Processing operation deleteIndividualService [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/model/ErrorInformation.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/model/InputService.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/model/Service.java [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/api/ServicesApiController.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/api/ServicesApi.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/api/ServicesApiDelegate.java [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/pom.xml [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/README.md [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/OpenApiGeneratorApplication.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/test/java/org/oransc/rappcatalogue/OpenApiGeneratorApplicationTests.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/RFC3339DateFormat.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/resources/application.properties [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/openapitools/configuration/HomeController.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/resources/openapi.yaml [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/openapitools/configuration/SpringDocConfiguration.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java/org/oransc/rappcatalogue/api/ApiUtil.java [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/.openapi-generator-ignore [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/.openapi-generator/VERSION [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/.openapi-generator/FILES ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ [INFO] [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ rappcatalogue --- [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-rappcatalogue-sonar/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-rappcatalogue-sonar/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ rappcatalogue --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 17 source files to /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/classes [INFO] [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ rappcatalogue --- [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-rappcatalogue-sonar/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ rappcatalogue --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ rappcatalogue --- [INFO] Surefire report directory: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.oransc.rappcatalogue.api.ServicesApiDelegateImplTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.165 s - in org.oransc.rappcatalogue.api.ServicesApiDelegateImplTest [INFO] Running org.oransc.rappcatalogue.api.GeneralRappCatalogueControllerAdvisorTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s - in org.oransc.rappcatalogue.api.GeneralRappCatalogueControllerAdvisorTest [INFO] Running org.oransc.rappcatalogue.HttpsRequestTest 12:44:09.464 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [HttpsRequestTest]: using SpringBootContextLoader 12:44:09.469 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.oransc.rappcatalogue.HttpsRequestTest]: no resource found for suffixes {-context.xml, Context.groovy}. 12:44:09.470 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [org.oransc.rappcatalogue.HttpsRequestTest]: HttpsRequestTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 12:44:09.502 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [HttpsRequestTest]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer] 12:44:09.612 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/w/workspace/nonrtric-plt-rappcatalogue-sonar/target/classes/org/oransc/rappcatalogue/OpenApiGeneratorApplication.class] 12:44:09.614 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.oransc.rappcatalogue.OpenApiGeneratorApplication for test class org.oransc.rappcatalogue.HttpsRequestTest 12:44:09.746 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource] 12:44:09.758 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute] 12:44:09.772 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [HttpsRequestTest]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener] 12:44:09.773 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [HttpsRequestTest], class annotated with @DirtiesContext [false] with mode [null] 12:44:09.780 [main] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test class org.oransc.rappcatalogue.HttpsRequestTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.0.4) 2023-12-23T12:44:10.253Z INFO 2856 --- [ main] o.oransc.rappcatalogue.HttpsRequestTest : Starting HttpsRequestTest using Java 17.0.4 with PID 2856 (started by jenkins in /w/workspace/nonrtric-plt-rappcatalogue-sonar) 2023-12-23T12:44:10.254Z INFO 2856 --- [ main] o.oransc.rappcatalogue.HttpsRequestTest : The following 1 profile is active: "prod" 2023-12-23T12:44:11.553Z INFO 2856 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2023-12-23T12:44:11.576Z INFO 2856 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-12-23T12:44:11.577Z INFO 2856 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.5] 2023-12-23T12:44:11.689Z INFO 2856 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2023-12-23T12:44:11.691Z INFO 2856 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1399 ms 2023-12-23T12:44:13.726Z INFO 2856 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 44993 (https) with context path '' 2023-12-23T12:44:13.744Z INFO 2856 --- [ main] o.oransc.rappcatalogue.HttpsRequestTest : Started HttpsRequestTest in 3.935 seconds (process running for 6.582) 2023-12-23T12:44:14.135Z INFO 2856 --- [o-auto-1-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-12-23T12:44:14.136Z INFO 2856 --- [o-auto-1-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2023-12-23T12:44:14.138Z INFO 2856 --- [o-auto-1-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.925 s - in org.oransc.rappcatalogue.HttpsRequestTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- openapi-generator-maven-plugin:6.0.0:generate (generate-openapi-yaml) @ rappcatalogue --- [INFO] Generating with dryRun=false [INFO] No .openapi-generator-ignore file found. [INFO] OpenAPI Generator: openapi-yaml (documentation) [INFO] Generator 'openapi-yaml' is considered stable. [INFO] Output file [outputFile=rac-api.yaml] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/api/README.md [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/api/rac-api.yaml [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/api/.openapi-generator-ignore [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/api/.openapi-generator/VERSION [INFO] writing file /w/workspace/nonrtric-plt-rappcatalogue-sonar/api/.openapi-generator/FILES ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:report (default-report) @ rappcatalogue --- [INFO] Loading execution data file /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/jacoco.exec [INFO] Analyzed bundle 'rappcatalogue' with 19 classes [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ rappcatalogue --- [INFO] Building jar: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/rappcatalogue-1.3.0-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.0.4:repackage (repackage) @ rappcatalogue --- [INFO] Replacing main artifact with repackaged archive [INFO] [INFO] --- docker-maven-plugin:0.42.0:build (generate-rappcatalogue-image) @ rappcatalogue --- [INFO] [INFO] --- maven-install-plugin:3.0.1:install (default-install) @ rappcatalogue --- [INFO] Installing /w/workspace/nonrtric-plt-rappcatalogue-sonar/pom.xml to /tmp/r/org/o-ran-sc/nonrtric/plt/rappcatalogue/1.3.0-SNAPSHOT/rappcatalogue-1.3.0-SNAPSHOT.pom [INFO] Installing /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/rappcatalogue-1.3.0-SNAPSHOT.jar to /tmp/r/org/o-ran-sc/nonrtric/plt/rappcatalogue/1.3.0-SNAPSHOT/rappcatalogue-1.3.0-SNAPSHOT.jar [INFO] [INFO] --- docker-maven-plugin:0.42.0:build (push-rappcatalogue-image) @ rappcatalogue --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.675 s [INFO] Finished at: 2023-12-23T12:44:22Z [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 ']' + '[' openjdk17 '!=' openjdk17 ']' + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn sonar:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3543601982966456444tmp --settings /w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config3804718828906957599tmp -Dsonar.projectKey=nonrtric_plt_rappcatalogue -Dsonar.organization=o-ran-sc -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 -Ddocker.skip=true Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-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.o-ran-sc.nonrtric.plt:rappcatalogue >--------------- [INFO] Building rappcatalogue 1.3.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.9.1.2184:sonar (default-cli) @ rappcatalogue --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 8.0.0.51767 [INFO] Default locale: "en", source code encoding: "UTF-8" [INFO] Load global settings [INFO] Load global settings (done) | time=296ms [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu [INFO] User cache: /home/jenkins/.sonar/cache [INFO] Loading required plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=222ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=1317ms [INFO] Found an active CI vendor: 'Jenkins' [INFO] Load project settings for component key: 'nonrtric_plt_rappcatalogue' [INFO] Load project settings for component key: 'nonrtric_plt_rappcatalogue' (done) | time=502ms [INFO] Process project properties [INFO] Project key: nonrtric_plt_rappcatalogue [INFO] Base dir: /w/workspace/nonrtric-plt-rappcatalogue-sonar [INFO] Working dir: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar [INFO] Load project branches [INFO] Load project branches (done) | time=499ms [INFO] Check ALM binding of project 'nonrtric_plt_rappcatalogue' [INFO] Detected project binding: NOT_BOUND [INFO] Check ALM binding of project 'nonrtric_plt_rappcatalogue' (done) | time=479ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=180ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=3ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=260ms [INFO] Load active rules [INFO] Load active rules (done) | time=11818ms [INFO] Organization key: o-ran-sc [WARNING] The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. [INFO] Preprocessing files... [INFO] 2 languages detected in 10 preprocessed files [INFO] 0 files ignored because of inclusion/exclusion patterns [INFO] 0 files ignored because of scm ignore settings [INFO] Loading plugins for detected languages [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=514ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=523ms [INFO] Indexing files... [INFO] Project configuration: [INFO] Excluded sources: **/build-wrapper-dump.json [INFO] 10 files indexed [INFO] Quality profile for java: ORAN way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module rappcatalogue [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=188ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (26 KB) | time=1612ms [INFO] Sensor JavaSensor [java] [INFO] Configured Java source version (sonar.java.source): 17, preview features enabled (sonar.java.enablePreview): false [INFO] Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] Using ECJ batch to parse 6 Main java source files with batch size 51 KB. [INFO] Starting batch processing. [INFO] The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 6 files. [INFO] Using ECJ batch to parse 3 Test java source files with batch size 51 KB. [INFO] Starting batch processing. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 3 files. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=1851ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/nonrtric-plt-rappcatalogue-sonar/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=71ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=159ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=30ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 10 source files to be analyzed [INFO] 10/10 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=464ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=3ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=76ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=7ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=2ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=2ms [INFO] Sensor javabugs [dbd] [INFO] Reading IR files from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ir/java [INFO] No IR files have been included for analysis. [INFO] Sensor javabugs [dbd] (done) | time=5ms [INFO] Sensor pythonbugs [dbd] [INFO] Reading IR files from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ir/python [INFO] No IR files have been included for analysis. [INFO] Sensor pythonbugs [dbd] (done) | time=3ms [INFO] Sensor JavaSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ucfg2/java [INFO] Read 75 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.043 [INFO] Load UCFGs: Starting [INFO] Reading UCFGs from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ucfg2/java [INFO] Load UCFGs: Time spent was 00:00:00.056 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.102 [INFO] Analyzing 19 UCFGs to detect vulnerabilities. [INFO] Check cache: Starting [INFO] Load cache: Starting [INFO] Load cache: Time spent was 00:00:00.000 [INFO] Check cache: Time spent was 00:00:00.001 [INFO] Create runtime call graph: Starting [INFO] Variable Type Analysis #1: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.005 [INFO] Run SCC (Tarjan) on 88 nodes: Starting [INFO] Run SCC (Tarjan) on 88 nodes: Time spent was 00:00:00.001 [INFO] Tarjan found 88 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.002 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.014 [INFO] Variable Type Analysis #2: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.002 [INFO] Run SCC (Tarjan) on 88 nodes: Starting [INFO] Run SCC (Tarjan) on 88 nodes: Time spent was 00:00:00.000 [INFO] Tarjan found 88 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.001 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.009 [INFO] Create runtime call graph: Time spent was 00:00:00.026 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:01.249 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.545 [INFO] No entry points found. [INFO] java security sensor: Time spent was 00:00:01.935 [INFO] java security sensor: Begin: 2023-12-23T12:44:53.563345737Z, End: 2023-12-23T12:44:55.498967695Z, Duration: 00:00:01.935 Load type hierarchy and UCFGs: Begin: 2023-12-23T12:44:53.566427117Z, End: 2023-12-23T12:44:53.669119437Z, Duration: 00:00:00.102 Load type hierarchy: Begin: 2023-12-23T12:44:53.567057911Z, End: 2023-12-23T12:44:53.610560896Z, Duration: 00:00:00.043 Load UCFGs: Begin: 2023-12-23T12:44:53.611471691Z, End: 2023-12-23T12:44:53.668062016Z, Duration: 00:00:00.056 Check cache: Begin: 2023-12-23T12:44:53.670837484Z, End: 2023-12-23T12:44:53.672500279Z, Duration: 00:00:00.001 Load cache: Begin: 2023-12-23T12:44:53.671226409Z, End: 2023-12-23T12:44:53.671626495Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2023-12-23T12:44:53.673274098Z, End: 2023-12-23T12:44:53.699894466Z, Duration: 00:00:00.026 Variable Type Analysis #1: Begin: 2023-12-23T12:44:53.674353261Z, End: 2023-12-23T12:44:53.688529073Z, Duration: 00:00:00.014 Create runtime type propagation graph: Begin: 2023-12-23T12:44:53.675601759Z, End: 2023-12-23T12:44:53.680680518Z, Duration: 00:00:00.005 Run SCC (Tarjan) on 88 nodes: Begin: 2023-12-23T12:44:53.681969507Z, End: 2023-12-23T12:44:53.683442215Z, Duration: 00:00:00.001 Propagate runtime types to strongly connected components: Begin: 2023-12-23T12:44:53.684949964Z, End: 2023-12-23T12:44:53.687355707Z, Duration: 00:00:00.002 Variable Type Analysis #2: Begin: 2023-12-23T12:44:53.689485679Z, End: 2023-12-23T12:44:53.698528512Z, Duration: 00:00:00.009 Create runtime type propagation graph: Begin: 2023-12-23T12:44:53.690034941Z, End: 2023-12-23T12:44:53.692683014Z, Duration: 00:00:00.002 Run SCC (Tarjan) on 88 nodes: Begin: 2023-12-23T12:44:53.693713895Z, End: 2023-12-23T12:44:53.694566088Z, Duration: 00:00:00.000 Propagate runtime types to strongly connected components: Begin: 2023-12-23T12:44:53.696055336Z, End: 2023-12-23T12:44:53.697355677Z, Duration: 00:00:00.001 Load config: Begin: 2023-12-23T12:44:53.700755619Z, End: 2023-12-23T12:44:54.950514902Z, Duration: 00:00:01.249 Compute entry points: Begin: 2023-12-23T12:44:54.951604604Z, End: 2023-12-23T12:44:55.497286812Z, Duration: 00:00:00.545 [INFO] java security sensor peak memory: 433 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=1961ms [INFO] Sensor CSharpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/ucfg2/cs [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] csharp security sensor: Time spent was 00:00:00.001 [INFO] Sensor CSharpSecuritySensor [security] (done) | time=2ms [INFO] Sensor PhpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ucfg2/php [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] php security sensor: Time spent was 00:00:00.000 [INFO] Sensor PhpSecuritySensor [security] (done) | time=6ms [INFO] Sensor PythonSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ucfg2/python [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] python security sensor: Time spent was 00:00:00.001 [INFO] Sensor PythonSecuritySensor [security] (done) | time=2ms [INFO] Sensor JsSecuritySensor [security] [INFO] Enabled taint analysis rules: S5144, S6105, S5696, S2631, S5883, S6287, S6350, S5147, S5131, S3649, S2076, S2083, S6096, S5334, S5146 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/sonar/ucfg2/js [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] js security sensor: Time spent was 00:00:00.000 [INFO] Sensor JsSecuritySensor [security] (done) | time=1ms [INFO] ------------- Run sensors on project [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=0ms [INFO] Sensor Java CPD Block Indexer [INFO] Sensor Java CPD Block Indexer (done) | time=21ms [INFO] CPD Executor 3 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 3 files [INFO] CPD Executor CPD calculation finished (done) | time=6ms [INFO] Analysis report generated in 189ms, dir size=313 KB [INFO] Analysis report compressed in 22ms, zip size=78 KB [INFO] Analysis report uploaded in 511ms [INFO] ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=nonrtric_plt_rappcatalogue [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at https://sonarcloud.io/api/ce/task?id=AYyWtQmyz00S9SXW56-W [INFO] Sensor cache published successfully [INFO] Analysis total time: 25.603 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.384 s [INFO] Finished at: 2023-12-23T12:44:57Z [INFO] ------------------------------------------------------------------------ [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins5558888218560952303.sh [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Not] preventing perform for step [BuilderChain] [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] Version: 3.3.5 [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files for pattern **/**.exec: 1 [JaCoCo plugin] Saving matched execfiles: /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/jacoco.exec [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes: [JaCoCo plugin] - /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/classes 19 files [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java: [JaCoCo plugin] Source Inclusions: **/*.java [JaCoCo plugin] Source Exclusions: null [JaCoCo plugin] - /w/workspace/nonrtric-plt-rappcatalogue-sonar/src/main/java 6 files [JaCoCo plugin] - /w/workspace/nonrtric-plt-rappcatalogue-sonar/target/generated-sources/openapi/src/main/java 11 files [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [] [JaCoCo plugin] exclusions: [**/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/**] [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=40, maxMethod=50, minLine=0, maxLine=0, minBranch=10, maxBranch=10, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0] [JaCoCo plugin] Publishing the results.. [JaCoCo plugin] Loading packages.. [JaCoCo plugin] Done. [JaCoCo plugin] Overall coverage: class: 78.94737, method: 52.083332, line: 45.344128, branch: 20.0, instruction: 38.4689, complexity: 41.984734 [PostBuildScript] - [INFO] Executing post build scripts. [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins8207154019742599451.sh ---> sysstat.sh [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins16123752684148074376.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/nonrtric-plt-rappcatalogue-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/nonrtric-plt-rappcatalogue-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/nonrtric-plt-rappcatalogue-sonar ']' + mkdir -p /w/workspace/nonrtric-plt-rappcatalogue-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-rappcatalogue-sonar/archives/ [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins10905938218255820146.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-rappcatalogue-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-om4t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-om4t/bin to PATH INFO: Running in OpenStack, capturing instance metadata [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins9073576431206908988.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-rappcatalogue-sonar@tmp/config11898578737863834475tmp 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. [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins4879955572079807990.sh ---> create-netrc.sh [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins575570567820586555.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-rappcatalogue-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-om4t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-om4t/bin to PATH [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins13298860724347405443.sh ---> sudo-logs.sh Archiving 'sudo' log.. [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash /tmp/jenkins18077935013545244722.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-rappcatalogue-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-om4t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-om4t/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [nonrtric-plt-rappcatalogue-sonar] $ /bin/bash -l /tmp/jenkins5692777661653401404.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-rappcatalogue-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-om4t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-om4t/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-rappcatalogue-sonar/68 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-4c-4g-1757 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: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-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 2.0G 0 2.0G 0% /dev tmpfs 395M 688K 394M 1% /run /dev/vda1 20G 9.5G 9.8G 50% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3944 482 944 0 2517 3193 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 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d8:ef:f9 brd ff:ff:ff:ff:ff:ff inet 10.32.7.184/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86157sec preferred_lft 86157sec inet6 fe80::f816:3eff:fed8:eff9/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:75:45:ce:9a 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-194-generic (prd-ubuntu1804-docker-4c-4g-1757) 12/23/23 _x86_64_ (4 CPU) 12:41:44 LINUX RESTART (4 CPU) 12:42:01 tps rtps wtps bread/s bwrtn/s 12:43:01 150.29 78.40 71.89 6148.04 41202.88 12:44:01 109.81 28.66 81.16 1620.53 13738.09 12:45:01 54.11 14.96 39.14 855.19 9492.68 Average: 104.74 40.67 64.06 2874.52 21477.46 12:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:43:01 1539804 3259552 2498852 61.87 48652 1826108 915036 17.99 689640 1628028 202784 12:44:01 1132364 3121624 2906292 71.96 64600 2066804 1028296 20.21 813456 1884656 67452 12:45:01 1024560 3307136 3014096 74.63 67756 2351092 842008 16.55 759916 2035732 61764 Average: 1232243 3229437 2806413 69.49 60336 2081335 928447 18.25 754337 1849472 110667 12:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:43:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 12:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:43:01 ens3 394.02 255.91 1386.99 61.37 0.00 0.00 0.00 0.00 12:44:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 12:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:44:01 ens3 336.55 351.43 1958.95 57.09 0.00 0.00 0.00 0.00 12:45:01 lo 1.55 1.55 0.22 0.22 0.00 0.00 0.00 0.00 12:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:01 ens3 774.40 582.12 3275.68 126.53 0.00 0.00 0.00 0.00 Average: lo 1.56 1.56 0.18 0.18 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 501.65 396.48 2207.19 81.66 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-docker-4c-4g-1757) 12/23/23 _x86_64_ (4 CPU) 12:41:44 LINUX RESTART (4 CPU) 12:42:01 CPU %user %nice %system %iowait %steal %idle 12:43:01 all 18.65 0.00 2.47 4.79 0.06 74.03 12:43:01 0 19.01 0.00 1.87 1.44 0.03 77.65 12:43:01 1 30.41 0.00 4.31 10.93 0.07 54.28 12:43:01 2 13.11 0.00 2.23 5.01 0.05 79.60 12:43:01 3 12.02 0.00 1.46 1.78 0.07 84.67 12:44:01 all 27.53 0.00 1.71 1.88 0.07 68.81 12:44:01 0 44.05 0.00 2.33 1.06 0.08 52.48 12:44:01 1 16.86 0.00 1.12 4.15 0.05 77.82 12:44:01 2 32.59 0.00 1.74 0.92 0.08 64.67 12:44:01 3 16.61 0.00 1.65 1.36 0.07 80.31 12:45:01 all 38.55 0.00 1.93 0.80 0.08 58.65 12:45:01 0 35.89 0.00 1.44 0.83 0.08 61.76 12:45:01 1 39.24 0.00 1.59 0.72 0.08 58.37 12:45:01 2 40.27 0.00 1.84 0.82 0.07 57.00 12:45:01 3 38.82 0.00 2.86 0.82 0.10 57.39 Average: all 28.26 0.00 2.04 2.49 0.07 67.15 Average: 0 32.99 0.00 1.88 1.11 0.07 63.96 Average: 1 28.83 0.00 2.34 5.26 0.07 63.50 Average: 2 28.67 0.00 1.94 2.25 0.07 67.08 Average: 3 22.50 0.00 1.99 1.32 0.08 74.11