Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos8-docker-8c-8g-11861 (centos8-docker-8c-8g) in workspace /w/workspace/ccsdk-oran-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/ccsdk/oran > git init /w/workspace/ccsdk-oran-sonar # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/ccsdk/oran > git --version # timeout=10 > git --version # 'git version 2.39.1' using GIT_SSH to set credentials Gerrit user [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ccsdk-oran-sonar@tmp/jenkins-gitclient-ssh7242133265131877078.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git://cloud.onap.org/mirror/ccsdk/oran +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/ccsdk/oran # 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 1aa028a9a78f6cf1aa243a8bcab1310a40d8826d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa028a9a78f6cf1aa243a8bcab1310a40d8826d # timeout=10 Commit message: "Merge "Updating API doc files"" > git rev-list --no-walk 1e37e1962d459a532767d082bd6cb48464e5b4e5 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins16824062099009153623.sh ---> python-tools-install.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1z5t 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-1z5t/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-1z5t/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.59 botocore==1.34.59 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.6.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.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.2 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.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==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 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.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.4.0 python-novaclient==18.5.0 python-openstackclient==6.5.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 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.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.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] [ccsdk-oran-sonar] $ /bin/sh -xe /tmp/jenkins5932751413778960470.sh + echo 'Using SonarCloud' Using SonarCloud [ccsdk-oran-sonar] $ /bin/sh -xe /tmp/jenkins13594157791740399907.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn38 on prd-centos8-docker-8c-8g-11861 [ccsdk-oran-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn38/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=ccsdk/oran -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn38/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=ccsdk/oran -Dsha1=origin/master "-DMAVEN_OPTS=-Xmx1024m -Ddocker.skip=true" -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn38 "-DMAVEN_PARAMS=-f a1-policy-management" -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar --version Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn38 Java version: 11.0.18-ea, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.18.0.9-0.3.ea.el8.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-448.el8.x86_64", arch: "amd64", family: "unix" [ccsdk-oran-sonar] $ /bin/sh -xe /tmp/jenkins13563692533624829719.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [ccsdk-oran-sonar] $ /bin/sh /tmp/jenkins11029946633157168805.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected openjdk version "17.0.6-ea" 2023-01-17 LTS OpenJDK Runtime Environment (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS) OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_ccsdk-oran [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/ccsdk-oran-sonar@tmp/config14945462519820619710tmp copy managed file [ccsdk-oran-settings] to file:/w/workspace/ccsdk-oran-sonar@tmp/config11550330554090357909tmp [ccsdk-oran-sonar] $ /bin/bash -l /tmp/jenkins7163743639118329312.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/mvn38/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/ccsdk-oran-sonar@tmp/config14945462519820619710tmp --settings /w/workspace/ccsdk-oran-sonar@tmp/config11550330554090357909tmp --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 -f a1-policy-management Picked up _JAVA_OPTIONS: Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn38 Java version: 17.0.6-ea, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-448.el8.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ----------< org.onap.ccsdk.oran:a1-policy-management-service >---------- [INFO] Building ccsdk-oran :: a1-policy-management-service 1.7.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ a1-policy-management-service --- [INFO] [INFO] --- groovy-maven-plugin:2.1.1:execute (default) @ a1-policy-management-service --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (pre-unit-test) @ a1-policy-management-service --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/w/workspace/ccsdk-oran-sonar/a1-policy-management/target/code-coverage/jacoco-ut.exec [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default-prepare-agent) @ a1-policy-management-service --- [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/ccsdk-oran-sonar/a1-policy-management/target/jacoco.exec [INFO] [INFO] --- properties-maven-plugin:1.0.0:set-system-properties (default) @ a1-policy-management-service --- [INFO] Set 2 system properties [INFO] [INFO] --- build-helper-maven-plugin:1.12:add-source (add-source) @ a1-policy-management-service --- [INFO] Source directory: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/annotations added. [INFO] [INFO] --- openapi-generator-maven-plugin:6.6.0:generate (generate-policy-api) @ a1-policy-management-service --- [INFO] Generating with dryRun=false [INFO] Output directory (/w/workspace/ccsdk-oran-sonar/a1-policy-management/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.onap.ccsdk.oran.a1policymanagementservice.controllers.v2) [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). [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (text/plain;charset=UTF-8) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Void (reserved word) cannot be used as model name. Renamed to ModelVoid [INFO] Processing operation getPolicyInstances [INFO] Processing operation performAccessControl [INFO] Processing operation threaddump [INFO] Processing operation getStatus [INFO] Processing operation loggers [INFO] Processing operation health-path [INFO] Processing operation getRic [INFO] Processing operation shutdown [INFO] Processing operation getPolicyTypes [INFO] Processing operation getPolicy [INFO] Processing operation deletePolicy [INFO] Processing operation metrics-requiredMetricName [INFO] Processing operation getConfiguration [INFO] Processing operation putConfiguration [INFO] Processing operation links [INFO] Processing operation loggers-name [INFO] Processing operation loggers-name_2 [INFO] Processing operation keepAliveService [INFO] Processing operation metrics [INFO] Processing operation getRics [INFO] Processing operation getServices [INFO] Processing operation putService [INFO] Processing operation info [INFO] Processing operation getStatusV1 [INFO] Processing operation getPolicyTypeDefinition [INFO] Processing operation logfile [INFO] Processing operation health [INFO] Processing operation getPolicyIds [INFO] Processing operation putPolicy [INFO] Processing operation deleteService [INFO] Processing operation heapdump [INFO] Processing operation getPolicyStatus [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] Model void not generated since it's a free-form object [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/AuthorizationResult.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/ErrorInformation.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/Input.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/Link.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyAuthorization.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyIdList.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyInfo.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyInfoList.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyStatusInfo.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyTypeDefinition.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/PolicyTypeIdList.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/RicInfo.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/RicInfoList.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/ServiceCallbackInfoV2.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/ServiceRegistrationInfo.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/ServiceStatus.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/ServiceStatusList.java [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/models/v2/StatusInfo.java [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (text/plain;charset=UTF-8) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (text/plain;charset=UTF-8) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/A1PolicyManagementApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/ActuatorApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/AuthorizationApiApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/ConfigurationApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/HealthCheckApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/NearRtRicRepositoryApi.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/ccsdk-oran-sonar/a1-policy-management/target/generated-sources/openapi/src/gen/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/api/v2/ServiceRegistryAndSupervisionApi.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] Skipping generation of supporting files. ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ a1-policy-management-service --- [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ a1-policy-management-service --- [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ a1-policy-management-service --- [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.0:compile (default-compile) @ a1-policy-management-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 84 source files to /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/classes [INFO] /w/workspace/ccsdk-oran-sonar/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java: /w/workspace/ccsdk-oran-sonar/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java uses or overrides a deprecated API. [INFO] /w/workspace/ccsdk-oran-sonar/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ a1-policy-management-service --- [INFO] Copying 6 resources from src/test/resources to target/test-classes [INFO] [INFO] --- maven-compiler-plugin:3.10.0:testCompile (default-testCompile) @ a1-policy-management-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/test-classes [INFO] /w/workspace/ccsdk-oran-sonar/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConcurrencyTestRunnable.java: Some input files use or override a deprecated API. [INFO] /w/workspace/ccsdk-oran-sonar/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ConcurrencyTestRunnable.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M8:test (default-test) @ a1-policy-management-service --- [INFO] Surefire report directory: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.A1ClientFactoryTest 00:33:30.783 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work 00:33:30.833 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work 00:33:30.980 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work 00:33:31.001 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.A1ClientFactory -- Could not get protocol version from Near-RT RIC: Name 00:33:31.006 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work 00:33:31.058 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work 00:33:31.063 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- No configuration for web client defined, HTTPS will not work [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.127 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.A1ClientFactoryTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.CcsdkA1AdapterClientTest 00:33:31.288 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.CcsdkA1AdapterClient -- Not supported protocoltype: STD_V1_1 [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.248 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.CcsdkA1AdapterClientTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.OscA1ClientTest 00:33:31.332 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.OscA1Client -- Unexpected response for policy type: {"create_schema": "type":"type1"}}, exception: org.json.JSONException: Expected a ',' or '}' at 25 [character 26 line 1] 00:33:31.342 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.OscA1Client -- Unexpected response for policy type: {"type":"type1"}, exception: org.json.JSONException: JSONObject["create_schema"] not found. [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.OscA1ClientTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientV2Test 00:33:31.402 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientVersion2 -- Unexpected response for policy type: {"policySchema": "type":"type1"}}, exception: org.json.JSONException: Expected a ',' or '}' at 24 [character 25 line 1] 00:33:31.409 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientVersion2 -- Unexpected response for policy type: {"type":"type1"}, exception: org.json.JSONException: JSONObject["policySchema"] not found. [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.StdA1ClientV2Test [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.631 s - in org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.tasks.RefreshConfigTaskTest 00:33:33.207 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.210 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.211 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.349 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.tasks.RefreshConfigTask -- Configuration refresh task is terminated: cancel 00:33:33.368 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.368 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.368 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.394 [parallel-2] ERROR org.onap.ccsdk.oran.a1policymanagementservice.configuration.ApplicationConfigParser -- RIC configuration error ric3_noBaseURL, baseUrl is empty 00:33:33.427 [parallel-2] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.436 [parallel-2] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.447 [reactor-http-epoll-4] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.451 [reactor-http-epoll-3] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTask -- Synchronization failure for ric: ric1, reason: finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8083 00:33:33.467 [reactor-http-epoll-4] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.474 [reactor-http-epoll-4] WARN org.onap.ccsdk.oran.a1policymanagementservice.clients.A1ClientFactory -- Could not get protocol version from Near-RT RIC: ric2 00:33:33.474 [reactor-http-epoll-4] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTask -- Synchronization failure for ric: ric2, reason: Cannot invoke "org.onap.ccsdk.oran.a1policymanagementservice.configuration.ControllerConfig.getBaseUrl()" because the return value of "org.onap.ccsdk.oran.a1policymanagementservice.configuration.RicConfig.getControllerConfig()" is null 00:33:33.474 [reactor-http-epoll-4] ERROR org.onap.ccsdk.oran.a1policymanagementservice.tasks.RefreshConfigTask -- Configuration refresh task is terminated: cancel [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 s - in org.onap.ccsdk.oran.a1policymanagementservice.tasks.RefreshConfigTaskTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTaskTest 00:33:33.489 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.490 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.490 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.499 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.627 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.628 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.628 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.632 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found 00:33:33.699 [reactor-http-epoll-1] WARN org.onap.ccsdk.oran.a1policymanagementservice.controllers.ServiceCallbacks -- Service: service1, callback: callbackUrl failed: org.springframework.web.reactive.function.client.WebClientRequestException: Failed to resolve 'callbackUrl' [A(1)] after 2 queries 00:33:33.807 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.807 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.807 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.815 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTask -- Synchronization failure for ric: ric1, reason: x 00:33:33.921 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:33.921 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:33.921 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:33.925 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTask -- Synchronization failure for ric: ric1, reason: 404 00:33:34.030 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.030 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.030 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:34.036 [main] ERROR org.onap.ccsdk.oran.a1policymanagementservice.clients.AsyncRestClientFactory -- Could not init SSL context, reason: java.security.KeyStoreException: not found [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.652 s - in org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSynchronizationTaskTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSupervisionTest 00:33:34.162 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.162 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.189 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.189 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.195 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.195 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.198 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.199 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.200 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSupervision -- RicSupervision, ric: ric_1, exception: Failed 00:33:34.201 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.201 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.203 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.203 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.207 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.207 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.210 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.210 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.213 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policytypes 00:33:34.213 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:34.214 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSupervision -- RicSupervision, ric: ric_1, exception: Failed [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s - in org.onap.ccsdk.oran.a1policymanagementservice.tasks.RicSupervisionTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.tasks.ServiceSupervisionTest 00:33:34.218 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:34.218 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:36.226 [main] INFO org.onap.ccsdk.oran.a1policymanagementservice.tasks.ServiceSupervision -- Service is expired: Service name 00:33:36.232 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:36.232 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:36.234 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:36.234 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:36.236 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: services 00:33:36.236 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.datastore.NullStore -- No storage defined for: policies 00:33:38.244 [main] WARN org.onap.ccsdk.oran.a1policymanagementservice.tasks.ServiceSupervision -- Could not delete policy: policy from ric: name. Cause: Failed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.029 s - in org.onap.ccsdk.oran.a1policymanagementservice.tasks.ServiceSupervisionTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest 00:33:38.250 [main] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock cnt: 1, exclusive: true, queue: 0 00:33:38.360 [main] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock 1 cnt: 1, exclusive: true, queue: 0 00:33:38.465 [Thread-2] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock 2 cnt: 2, exclusive: false, queue: 2 00:33:38.466 [Thread-2] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock 3 cnt: 2, exclusive: false, queue: 2 00:33:38.566 [Thread-2] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock 4 cnt: 1, exclusive: true, queue: 1 00:33:38.668 [Thread-2] INFO org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest -- Lock 5 cnt: 1, exclusive: false, queue: 0 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 s - in org.onap.ccsdk.oran.a1policymanagementservice.repository.LockTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.ConfigurationControllerTest 00:33:39.018 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration org.onap.ccsdk.oran.a1policymanagementservice.Application for test class org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.ConfigurationControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.0) 2024-03-09 00:33:39.556 [INFO ] [main] o.o.c.o.a.c.v.ConfigurationControllerTest - Starting ConfigurationControllerTest using Java 17.0.6-ea with PID 6454 (started by jenkins in /w/workspace/ccsdk-oran-sonar/a1-policy-management) 2024-03-09 00:33:39.558 [INFO ] [main] o.o.c.o.a.c.v.ConfigurationControllerTest - The following 1 profile is active: "prod" 2024-03-09 00:33:41.889 [INFO ] [main] o.o.c.o.a.c.v.ConfigurationControllerTest - Started ConfigurationControllerTest in 2.74 seconds (process running for 12.921) 2024-03-09 00:33:42.718 [ERROR] [https-jsse-nio-auto-1-exec-8] o.o.c.o.a.c.ApplicationConfigParser - RIC configuration error ric3_noBaseURL, baseUrl is empty 2024-03-09 00:33:42.719 [INFO ] [https-jsse-nio-auto-1-exec-8] o.o.c.o.a.c.v.ConfigurationController - Configuration changed through REST call. 2024-03-09 00:33:42.945 [ERROR] [parallel-8] o.o.c.o.a.c.ApplicationConfigParser - RIC configuration error ric3_noBaseURL, baseUrl is empty 2024-03-09 00:33:42.977 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: ric1, reason: finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8083 2024-03-09 00:33:42.987 [WARN ] [reactor-http-epoll-2] o.o.c.o.a.c.A1ClientFactory - Could not get protocol version from Near-RT RIC: ric2 2024-03-09 00:33:42.987 [WARN ] [reactor-http-epoll-2] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: ric2, reason: Cannot invoke "org.onap.ccsdk.oran.a1policymanagementservice.configuration.ControllerConfig.getBaseUrl()" because the return value of "org.onap.ccsdk.oran.a1policymanagementservice.configuration.RicConfig.getControllerConfig()" is null [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.34 s - in org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.ConfigurationControllerTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.ApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.0) 2024-03-09 00:33:43.171 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - Starting ApplicationTest using Java 17.0.6-ea with PID 6454 (started by jenkins in /w/workspace/ccsdk-oran-sonar/a1-policy-management) 2024-03-09 00:33:43.171 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - The following 1 profile is active: "prod" 2024-03-09 00:33:43.675 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - Started ApplicationTest in 0.541 seconds (process running for 14.707) 2024-03-09 00:33:43.842 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:33:43.982 [INFO ] [https-jsse-nio-auto-2-exec-2] o.o.c.o.a.c.v.RappSimulatorController - R-App callback body: {"ric_id":"ric1","event_type":"AVAILABLE"} 2024-03-09 00:33:44.278 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:33:44.281 [WARN ] [main] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.486 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:33:44.560 [INFO ] [https-jsse-nio-auto-2-exec-4] o.o.c.o.a.c.v.RappSimulatorController - R-App callback body: {"ric_id":"NonRespondingRic","event_type":"AVAILABLE"} 2024-03-09 00:33:44.741 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - Concurrency test starting 2024-03-09 00:33:44.743 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:33:44.764 [WARN ] [TestThread_0] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:33:44.773 [WARN ] [Thread-21] o.o.c.o.a.t.RicSupervision - RicSupervision, ric: NonRespondingRic, exception: 502 Bad Gateway 2024-03-09 00:33:44.786 [WARN ] [Thread-26] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.804 [WARN ] [Thread-31] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.836 [WARN ] [Thread-36] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.856 [WARN ] [Thread-41] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.887 [WARN ] [Thread-48] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.902 [WARN ] [Thread-52] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.922 [WARN ] [Thread-59] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.929 [WARN ] [Thread-62] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:44.948 [WARN ] [Thread-67] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.781 [WARN ] [Thread-3913] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.835 [WARN ] [Thread-3948] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.861 [WARN ] [Thread-3973] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.878 [WARN ] [Thread-3990] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.920 [WARN ] [Thread-4012] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:52.963 [WARN ] [Thread-4057] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:53.075 [WARN ] [Thread-4150] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:53.242 [WARN ] [Thread-4262] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:53.376 [WARN ] [Thread-4335] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:56.734 [WARN ] [Thread-7951] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:56.783 [WARN ] [Thread-7988] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:56.808 [WARN ] [Thread-8018] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:56.891 [WARN ] [Thread-8098] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:56.994 [WARN ] [Thread-8229] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:57.007 [WARN ] [Thread-8242] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:57.122 [WARN ] [Thread-8356] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:33:57.231 [WARN ] [Thread-8466] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.312 [WARN ] [Thread-11991] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.328 [WARN ] [Thread-12027] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.377 [WARN ] [Thread-12051] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.467 [WARN ] [Thread-12169] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.634 [WARN ] [Thread-12346] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.656 [WARN ] [Thread-12380] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.782 [WARN ] [Thread-12499] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.797 [WARN ] [Thread-12520] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:00.822 [WARN ] [Thread-12556] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.418 [WARN ] [Thread-16048] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.520 [WARN ] [Thread-16133] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.528 [WARN ] [Thread-16154] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.649 [WARN ] [Thread-16292] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.677 [WARN ] [Thread-16338] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.759 [WARN ] [Thread-16474] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.823 [WARN ] [Thread-16522] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.954 [WARN ] [Thread-16679] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:03.999 [WARN ] [Thread-16751] o.o.c.o.a.t.RicSynchronizationTask - Synchronization failure for ric: NonRespondingRic, reason: 502 Bad Gateway 2024-03-09 00:34:06.633 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - Concurrency test took PT21.891995804S 2024-03-09 00:34:06.715 [WARN ] [reactor-http-epoll-7] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:06.830 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:07.157 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.c.a.AuthorizationCheck - Error returned from auth server: Failed to resolve 'junk' [A(1)] after 2 queries 2024-03-09 00:34:07.230 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.c.a.AuthorizationCheck - Error returned from auth server: Failed to resolve 'junk' [A(1)] after 2 queries 2024-03-09 00:34:07.301 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.c.a.AuthorizationCheck - Error returned from auth server: Failed to resolve 'junk' [A(1)] after 2 queries 2024-03-09 00:34:07.339 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.c.a.AuthorizationCheck - Error returned from auth server: Failed to resolve 'junk' [A(1)] after 2 queries 2024-03-09 00:34:07.489 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - {"policy_ids":["id2","id1"]} 2024-03-09 00:34:07.709 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - {"policies":[{"ric_id":"ric","policy_id":"id1","service_id":"service1","policy_data":{"servingCellNrcgi":"1"},"status_notification_uri":"/policy-status?id=XXX","policytype_id":"type1","transient":false}]} 2024-03-09 00:34:07.754 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - {"policies":[{"ric_id":"ric","policy_id":"id2","service_id":"service2","policy_data":{"servingCellNrcgi":"1"},"status_notification_uri":"/policy-status?id=XXX","policytype_id":"type1","transient":false},{"ric_id":"ric","policy_id":"id1","service_id":"service1","policy_data":{"servingCellNrcgi":"1"},"status_notification_uri":"/policy-status?id=XXX","policytype_id":"type1","transient":false}]} 2024-03-09 00:34:07.791 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - {"policies":[{"ric_id":"ric","policy_id":"id2","service_id":"service2","policy_data":{"servingCellNrcgi":"1"},"status_notification_uri":"/policy-status?id=XXX","policytype_id":"type1","transient":false}]} 2024-03-09 00:34:07.960 [WARN ] [reactor-http-epoll-3] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:09.111 [WARN ] [reactor-http-epoll-4] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:09.344 [INFO ] [main] o.o.c.o.a.c.v.ApplicationTest - {"service_list":[{"callback_url":"https://localhost:41579/r-app/near-rt-ric-status","service_id":"ac.dc","keep_alive_interval_seconds":0,"time_since_last_activity_seconds":0}]} 2024-03-09 00:34:09.731 [WARN ] [reactor-http-epoll-3] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:10.068 [WARN ] [reactor-http-epoll-3] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:10.142 [WARN ] [reactor-http-epoll-7] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:10.317 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:10.323 [INFO ] [https-jsse-nio-auto-2-exec-6] o.o.c.o.a.c.v.RappSimulatorController - R-App callback body: {"ric_id":"ric1","event_type":"AVAILABLE"} 2024-03-09 00:34:10.328 [WARN ] [reactor-http-epoll-1] o.o.c.o.a.c.ServiceCallbacks - Service: junkService, callback: https://junk failed: org.springframework.web.reactive.function.client.WebClientRequestException: Failed to resolve 'junk' [A(1)] after 2 queries 2024-03-09 00:34:10.622 [WARN ] [reactor-http-epoll-7] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:12.619 [INFO ] [parallel-2] o.o.c.o.a.t.ServiceSupervision - Service is expired: service1 2024-03-09 00:34:12.662 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:12.666 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:13.210 [DEBUG] [reactor-http-epoll-2] o.o.c.o.a.c.AsyncRestClient - 115 resp: 204 NO_CONTENT 2024-03-09 00:34:13.211 [DEBUG] [main] o.o.c.o.a.c.AsyncRestClient - 115 GET uri = 'https://localhost:41579/actuator/loggers/org.onap.ccsdk.oran.a1policymanagementservice'' 2024-03-09 00:34:13.221 [DEBUG] [reactor-http-epoll-2] o.o.c.o.a.c.AsyncRestClient - 115 resp: 200 OK 2024-03-09 00:34:13.222 [DEBUG] [main] o.o.c.o.a.c.AsyncRestClient - 115 POST uri = 'https://localhost:41579/actuator/loggers/org.springframework.boot.actuate'' 2024-03-09 00:34:13.227 [DEBUG] [reactor-http-epoll-2] o.o.c.o.a.c.AsyncRestClient - 115 resp: 204 NO_CONTENT 2024-03-09 00:34:13.227 [DEBUG] [main] o.o.c.o.a.c.AsyncRestClient - 115 POST uri = 'https://localhost:41579/actuator/shutdown'' 2024-03-09 00:34:13.231 [DEBUG] [https-jsse-nio-auto-2-exec-7] o.s.b.a.e.w.r.WebFluxEndpointHandlerMapping - [42d99838] Mapped to Actuator web endpoint 'shutdown' 2024-03-09 00:34:13.237 [DEBUG] [reactor-http-epoll-2] o.o.c.o.a.c.AsyncRestClient - 115 resp: 200 OK 2024-03-09 00:34:14.262 [DEBUG] [main] o.o.c.o.a.c.AsyncRestClient - 116 GET uri = 'https://localhost:41579/a1-policy/v2/rics'' 2024-03-09 00:34:14.270 [DEBUG] [main] o.o.c.o.a.d.FileStore - Listing files in: /tmp/pmstest/database/policies 2024-03-09 00:34:14.270 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policies, prefix: 2024-03-09 00:34:14.270 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policies/ric, prefix: 2024-03-09 00:34:14.270 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policies/ric1, prefix: 2024-03-09 00:34:14.270 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policies/ric.1, prefix: 2024-03-09 00:34:14.270 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policies/ricXXX, prefix: 2024-03-09 00:34:14.271 [DEBUG] [main] o.o.c.o.a.d.FileStore - Listing files in: /tmp/pmstest/database/policytypes 2024-03-09 00:34:14.271 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/policytypes, prefix: 2024-03-09 00:34:14.271 [DEBUG] [main] o.o.c.o.a.d.FileStore - Listing files in: /tmp/pmstest/database/services 2024-03-09 00:34:14.271 [TRACE] [main] o.o.c.o.a.d.FileStore - Ignoring file/directory /tmp/pmstest/database/services, prefix: [INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.154 s - in org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.ApplicationTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.configuration.ApplicationConfigTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.ccsdk.oran.a1policymanagementservice.configuration.ApplicationConfigTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.configuration.ApplicationConfigParserTest 2024-03-09 00:34:14.286 [DEBUG] [main] o.o.c.o.a.c.ApplicationConfigParser - Reading application schema file from: /application_configuration_schema.json with: java.io.BufferedInputStream@68cd34a 2024-03-09 00:34:14.293 [ERROR] [main] o.o.c.o.a.c.ApplicationConfigParser - RIC configuration error ric3_noBaseURL, baseUrl is empty 2024-03-09 00:34:14.295 [DEBUG] [main] o.o.c.o.a.c.ApplicationConfigParser - Reading application schema file from: application_configuration_schema.json with: null [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.onap.ccsdk.oran.a1policymanagementservice.configuration.ApplicationConfigParserTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.configuration.ConfigurationFileTest 2024-03-09 00:34:14.298 [ERROR] [main] o.o.c.o.a.c.ConfigurationFile - Local configuration file not read: /tmp/junit15848402379139959790/config.json, Not a JSON Object: null [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.onap.ccsdk.oran.a1policymanagementservice.configuration.ConfigurationFileTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.configuration.MetersTest 2024-03-09 00:34:14.318 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policytypes 2024-03-09 00:34:14.318 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:14.318 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE 2024-03-09 00:34:14.323 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE 2024-03-09 00:34:14.327 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policytypes 2024-03-09 00:34:14.327 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:14.327 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE 2024-03-09 00:34:14.328 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE 2024-03-09 00:34:14.329 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policytypes 2024-03-09 00:34:14.329 [WARN ] [main] o.o.c.o.a.d.NullStore - No storage defined for: policies 2024-03-09 00:34:14.329 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE 2024-03-09 00:34:14.329 [DEBUG] [main] o.o.c.o.a.r.Ric - Ric ric_1 state set to AVAILABLE [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.onap.ccsdk.oran.a1policymanagementservice.configuration.MetersTest [INFO] Running org.onap.ccsdk.oran.a1policymanagementservice.aspect.LogAspectTest 2024-03-09 00:34:14.359 [TRACE] [main] o.o.c.o.a.a.LogAspect - Execution time of LogAspectTest.null: 0 ms 2024-03-09 00:34:14.362 [TRACE] [main] o.o.c.o.a.a.LogAspect - Entering method: signature 2024-03-09 00:34:14.364 [TRACE] [main] o.o.c.o.a.a.LogAspect - Exiting method: signature [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.onap.ccsdk.oran.a1policymanagementservice.aspect.LogAspectTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 130, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:report (post-unit-test) @ a1-policy-management-service --- [INFO] Loading execution data file /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'ccsdk-oran :: a1-policy-management-service' with 117 classes [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:report (default-report) @ a1-policy-management-service --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- swagger-codegen-maven-plugin:3.0.46:generate (generate-openapi-json) @ a1-policy-management-service --- [WARNING] The artifact com.atlassian.commonmark:commonmark:jar:0.17.0 has been relocated to org.commonmark:commonmark:jar:0.17.0 [INFO] No .swagger-codegen-ignore file found. [WARNING] can't open handlebars/openapi/README.md for input [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/api/.swagger-codegen-ignore [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/api/.swagger-codegen/VERSION [INFO] [INFO] --- openapi-generator-maven-plugin:6.6.0:generate (generate-openapi-html) @ a1-policy-management-service --- [INFO] Generating with dryRun=false [INFO] No .openapi-generator-ignore file found. [INFO] OpenAPI Generator: html2 (documentation) [INFO] Generator 'html2' is considered stable. [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] Model void not generated since it's a free-form object [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (text/plain;charset=UTF-8) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (text/plain;charset=UTF-8) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/vnd.spring-boot.actuator.v3+json) [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] '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/ccsdk-oran-sonar/a1-policy-management/api/pms-api/index.html [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/api/pms-api/.openapi-generator-ignore [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/api/pms-api/.openapi-generator/VERSION [INFO] writing file /w/workspace/ccsdk-oran-sonar/a1-policy-management/api/pms-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] --- maven-jar-plugin:3.3.0:jar (default-jar) @ a1-policy-management-service --- [INFO] Building jar: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/a1-policy-management-service-1.7.0-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.1.0:repackage (repackage) @ a1-policy-management-service --- [INFO] Replacing main artifact /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/a1-policy-management-service-1.7.0-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/a1-policy-management-service-1.7.0-SNAPSHOT.jar.original [INFO] [INFO] --- maven-resources-plugin:3.3.1:copy-resources (copy-resource-openapi) @ a1-policy-management-service --- [INFO] Copying 2 resources from api to ../docs/offeredapis/swagger [INFO] [INFO] --- maven-resources-plugin:3.3.1:copy-resources (copy-resource-openapi-html) @ a1-policy-management-service --- [INFO] Copying 1 resource from api/pms-api to ../docs/offeredapis/openapitoolgen/offeredapis/pms-api [INFO] [INFO] --- docker-maven-plugin:0.30.0:build (generate-policy-management-service-image) @ a1-policy-management-service --- [INFO] [INFO] --- maven-site-plugin:3.6:attach-descriptor (attach-descriptor) @ a1-policy-management-service --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (pre-integration-test) @ a1-policy-management-service --- [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/w/workspace/ccsdk-oran-sonar/a1-policy-management/target/code-coverage/jacoco-it.exec [INFO] [INFO] --- maven-failsafe-plugin:3.0.0:integration-test (default) @ a1-policy-management-service --- [INFO] [INFO] --- maven-failsafe-plugin:3.0.0:integration-test (integration-tests) @ a1-policy-management-service --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:report (post-integration-test) @ a1-policy-management-service --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:check (default-check) @ a1-policy-management-service --- [INFO] Skipping JaCoCo execution due to missing execution data file:/w/workspace/ccsdk-oran-sonar/a1-policy-management/target/jacoco.exec [INFO] [INFO] --- maven-failsafe-plugin:3.0.0:verify (default) @ a1-policy-management-service --- [INFO] Failsafe report directory: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/failsafe-reports [INFO] [INFO] --- maven-failsafe-plugin:3.0.0:verify (integration-tests) @ a1-policy-management-service --- [INFO] Failsafe report directory: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ a1-policy-management-service --- [INFO] Installing /w/workspace/ccsdk-oran-sonar/a1-policy-management/pom.xml to /tmp/r/org/onap/ccsdk/oran/a1-policy-management-service/1.7.0-SNAPSHOT/a1-policy-management-service-1.7.0-SNAPSHOT.pom [INFO] Installing /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/a1-policy-management-service-1.7.0-SNAPSHOT.jar to /tmp/r/org/onap/ccsdk/oran/a1-policy-management-service/1.7.0-SNAPSHOT/a1-policy-management-service-1.7.0-SNAPSHOT.jar [INFO] [INFO] --- docker-maven-plugin:0.30.0:build (push-policy-management-service-image) @ a1-policy-management-service --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 min [INFO] Finished at: 2024-03-09T00:34:23Z [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/mvn38/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/ccsdk-oran-sonar@tmp/config14945462519820619710tmp --settings /w/workspace/ccsdk-oran-sonar@tmp/config11550330554090357909tmp -Dsonar.projectKey=onap_ccsdk-oran -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 -f a1-policy-management Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn38 Java version: 17.0.6-ea, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-448.el8.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ----------< org.onap.ccsdk.oran:a1-policy-management-service >---------- [INFO] Building ccsdk-oran :: a1-policy-management-service 1.7.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.9.1.2184:sonar (default-cli) @ a1-policy-management-service --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 8.0.0.53287 [INFO] Default locale: "en_US", source code encoding: "UTF-8" [INFO] Load global settings [INFO] Load global settings (done) | time=551ms [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=548ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=657ms [INFO] Found an active CI vendor: 'Jenkins' [INFO] Load project settings for component key: 'onap_ccsdk-oran' [INFO] Load project settings for component key: 'onap_ccsdk-oran' (done) | time=627ms [INFO] Process project properties [INFO] Project key: onap_ccsdk-oran [INFO] Base dir: /w/workspace/ccsdk-oran-sonar/a1-policy-management [INFO] Working dir: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/sonar [INFO] Load project branches [INFO] Load project branches (done) | time=634ms [INFO] Check ALM binding of project 'onap_ccsdk-oran' [INFO] Detected project binding: NOT_BOUND [INFO] Check ALM binding of project 'onap_ccsdk-oran' (done) | time=1484ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=508ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=3ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=581ms [INFO] Load active rules [INFO] Load active rules (done) | time=21160ms [INFO] Organization key: onap [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 86 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=225ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=555ms [INFO] Indexing files... [INFO] Project configuration: [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] 86 files indexed [INFO] Quality profile for java: ONAP way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module ccsdk-oran :: a1-policy-management-service [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=411ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (302 KB) | time=1400ms [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 59 Main java source files with batch size 53 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 59 files. [WARNING] Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] Using ECJ batch to parse 26 Test java source files with batch size 53 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 26 files. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=6543ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=2ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/ccsdk-oran-sonar/a1-policy-management/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=88ms [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=147ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] Coverage report doesn't exist for pattern: '/w/workspace/ccsdk-oran-sonar/a1-policy-management/target/site/jacoco-it/jacoco.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=59ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 86 source files to be analyzed [INFO] 86/86 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=1444ms [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=59ms [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=2ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms [INFO] Sensor javabugs [dbd] [INFO] Reading IR files from: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/sonar/ir/java [INFO] No IR files have been included for analysis. [INFO] Sensor javabugs [dbd] (done) | time=1ms [INFO] Sensor pythonbugs [dbd] [INFO] Reading IR files from: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/sonar/ir/python [INFO] No IR files have been included for analysis. [INFO] Sensor pythonbugs [dbd] (done) | time=0ms [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/ccsdk-oran-sonar/a1-policy-management/target/sonar/ucfg2/java [INFO] Read 400 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.069 [INFO] Load UCFGs: Starting [INFO] Reading UCFGs from: /w/workspace/ccsdk-oran-sonar/a1-policy-management/target/sonar/ucfg2/java [INFO] Load UCFGs: Time spent was 00:00:00.236 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.306 [INFO] Analyzing 670 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.000 [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.037 [INFO] Run SCC (Tarjan) on 3801 nodes: Starting [INFO] Run SCC (Tarjan) on 3801 nodes: Time spent was 00:00:00.007 [INFO] Tarjan found 3767 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.010 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.056 [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.027 [INFO] Run SCC (Tarjan) on 3800 nodes: Starting [INFO] Run SCC (Tarjan) on 3800 nodes: Time spent was 00:00:00.004 [INFO] Tarjan found 3766 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.006 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.038 [INFO] Create runtime call graph: Time spent was 00:00:00.104 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:01.637 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.956 [INFO] No entry points found. [INFO] java security sensor: Time spent was 00:00:03.008 [INFO] java security sensor: Begin: 2024-03-09T00:35:13.057645104Z, End: 2024-03-09T00:35:16.065855888Z, Duration: 00:00:03.008 Load type hierarchy and UCFGs: Begin: 2024-03-09T00:35:13.058894602Z, End: 2024-03-09T00:35:13.365603491Z, Duration: 00:00:00.306 Load type hierarchy: Begin: 2024-03-09T00:35:13.058963704Z, End: 2024-03-09T00:35:13.128226566Z, Duration: 00:00:00.069 Load UCFGs: Begin: 2024-03-09T00:35:13.128525963Z, End: 2024-03-09T00:35:13.365255353Z, Duration: 00:00:00.236 Check cache: Begin: 2024-03-09T00:35:13.365713364Z, End: 2024-03-09T00:35:13.366283117Z, Duration: 00:00:00.000 Load cache: Begin: 2024-03-09T00:35:13.365747285Z, End: 2024-03-09T00:35:13.365798646Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-03-09T00:35:13.366361659Z, End: 2024-03-09T00:35:13.470881972Z, Duration: 00:00:00.104 Variable Type Analysis #1: Begin: 2024-03-09T00:35:13.367452125Z, End: 2024-03-09T00:35:13.424076592Z, Duration: 00:00:00.056 Create runtime type propagation graph: Begin: 2024-03-09T00:35:13.368313884Z, End: 2024-03-09T00:35:13.405557761Z, Duration: 00:00:00.037 Run SCC (Tarjan) on 3801 nodes: Begin: 2024-03-09T00:35:13.406197785Z, End: 2024-03-09T00:35:13.413699930Z, Duration: 00:00:00.007 Propagate runtime types to strongly connected components: Begin: 2024-03-09T00:35:13.413890425Z, End: 2024-03-09T00:35:13.423976220Z, Duration: 00:00:00.010 Variable Type Analysis #2: Begin: 2024-03-09T00:35:13.430525972Z, End: 2024-03-09T00:35:13.469514200Z, Duration: 00:00:00.038 Create runtime type propagation graph: Begin: 2024-03-09T00:35:13.430577973Z, End: 2024-03-09T00:35:13.458207036Z, Duration: 00:00:00.027 Run SCC (Tarjan) on 3800 nodes: Begin: 2024-03-09T00:35:13.458360690Z, End: 2024-03-09T00:35:13.462512657Z, Duration: 00:00:00.004 Propagate runtime types to strongly connected components: Begin: 2024-03-09T00:35:13.462629170Z, End: 2024-03-09T00:35:13.469423437Z, Duration: 00:00:00.006 Load config: Begin: 2024-03-09T00:35:13.470984454Z, End: 2024-03-09T00:35:15.108271090Z, Duration: 00:00:01.637 Compute entry points: Begin: 2024-03-09T00:35:15.108602318Z, End: 2024-03-09T00:35:16.065445328Z, Duration: 00:00:00.956 [INFO] java security sensor peak memory: 428 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=3019ms [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/ccsdk-oran-sonar/a1-policy-management/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.000 [INFO] Sensor CSharpSecuritySensor [security] (done) | time=1ms [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/ccsdk-oran-sonar/a1-policy-management/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=1ms [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/ccsdk-oran-sonar/a1-policy-management/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.000 [INFO] Sensor PythonSecuritySensor [security] (done) | time=0ms [INFO] Sensor JsSecuritySensor [security] [INFO] Enabled taint analysis rules: S5147, S6096, S5883, S2076, S5696, S6350, S2631, S5144, S5146, S5334, S5131, S3649, S6287, S6105, S2083 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/ccsdk-oran-sonar/a1-policy-management/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=0ms [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=90ms [INFO] SCM Publisher SCM provider for this project is: git [INFO] SCM Publisher 1 source file to be analyzed [INFO] SCM Publisher 1/1 source file have been analyzed (done) | time=196ms [INFO] CPD Executor 8 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 51 files [INFO] CPD Executor CPD calculation finished (done) | time=22ms [INFO] Analysis report generated in 124ms, dir size=1 MB [INFO] Analysis report compressed in 116ms, zip size=432 KB [INFO] Analysis report uploaded in 916ms [INFO] ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=onap_ccsdk-oran [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=AY4gorMH_biCiNQ3VlEH [INFO] Sensor cache published successfully [INFO] Analysis total time: 43.660 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 54.268 s [INFO] Finished at: 2024-03-09T00:35:18Z [INFO] ------------------------------------------------------------------------ [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins714040587886040801.sh [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Not] preventing perform for step [BuilderChain] [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in /w/workspace/ccsdk-oran-sonar that match the pattern **/findbugs.xml [FINDBUGS] No files found. Configuration error? The recommended git tool is: NONE using credential onap-jenkins-ssh Using GitBlamer to create author and commit information for all warnings. GIT_COMMIT=1aa028a9a78f6cf1aa243a8bcab1310a40d8826d, workspace=/w/workspace/ccsdk-oran-sonar [FINDBUGS] Computing warning deltas based on reference build #1210 [PostBuildScript] - [INFO] Executing post build scripts. [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins687515342682945999.sh ---> sysstat.sh [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins15866129165826860666.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/ccsdk-oran-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/ccsdk-oran-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ccsdk-oran-sonar ']' + mkdir -p /w/workspace/ccsdk-oran-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ccsdk-oran-sonar/archives/ [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins18221534900075609229.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ccsdk-oran-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1z5t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1z5t/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins13161782576126638374.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ccsdk-oran-sonar@tmp/config5795542860525911932tmp 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. [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins15635293337883615466.sh ---> create-netrc.sh [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins18266389637020377877.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ccsdk-oran-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1z5t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1z5t/bin to PATH [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins3536524853237149592.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ccsdk-oran-sonar] $ /bin/bash /tmp/jenkins9170145459011995571.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ccsdk-oran-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1z5t 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-1z5t/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [ccsdk-oran-sonar] $ /bin/bash -l /tmp/jenkins4975976091018118871.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ccsdk-oran-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1z5t from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1z5t/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/ccsdk-oran-sonar/1211 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos8-docker-8c-8g-11861.novalocal 4.18.0-448.el8.x86_64 #1 SMP Wed Jan 18 15:02:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 17M 16G 1% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda1 160G 11G 150G 7% / tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 31890 986 28126 19 2776 30459 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:2a:5f:93 brd ff:ff:ff:ff:ff:ff altname enp0s3 altname ens3 inet 10.30.107.36/23 brd 10.30.107.255 scope global dynamic noprefixroute eth0 valid_lft 86122sec preferred_lft 86122sec inet6 fe80::f816:3eff:fe2a:5f93/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b8:6e:ff:4d brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.18.0-448.el8.x86_64 (centos-stream-8-docker-63ec32c8-5733-60f9-7d79-7a12e2b2c472.nova) 03/09/2024 _x86_64_ (8 CPU) 00:31:22 LINUX RESTART (8 CPU) 12:32:01 AM tps rtps wtps bread/s bwrtn/s 12:33:01 AM 111.80 9.15 102.65 2517.85 8284.39 12:34:01 AM 210.53 16.59 193.94 2745.62 11274.36 12:35:01 AM 73.18 3.82 69.36 1732.89 9710.06 12:36:01 AM 144.97 1.05 143.92 82.51 4002.03 Average: 135.12 7.65 127.47 1769.68 8317.71 12:32:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:33:01 AM 29506112 31286612 3149600 9.64 2688 2101104 1972704 5.85 168156 2541196 131132 12:34:01 AM 27742040 29755860 4913672 15.05 2688 2328456 2752732 8.17 227560 4206668 5668 12:35:01 AM 28591540 30947108 4064172 12.45 2688 2668644 1637412 4.86 314404 3271304 25484 12:36:01 AM 28816016 31204680 3839696 11.76 2688 2700620 1468932 4.36 526560 2835564 60 Average: 28663927 30798565 3991785 12.22 2688 2449706 1957945 5.81 309170 3213683 40586 12:32:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:33:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:33:01 AM eth0 78.74 51.39 1049.08 23.75 0.00 0.00 0.00 0.00 12:33:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:34:01 AM lo 722.31 722.31 272.17 272.17 0.00 0.00 0.00 0.00 12:34:01 AM eth0 225.34 190.95 2235.60 29.77 0.00 0.00 0.00 0.00 12:34:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:35:01 AM lo 421.44 421.44 155.92 155.92 0.00 0.00 0.00 0.00 12:35:01 AM eth0 285.69 177.92 3226.85 19.85 0.00 0.00 0.00 0.00 12:35:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:36:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:36:01 AM eth0 105.60 85.84 233.12 33.83 0.00 0.00 0.00 0.00 12:36:01 AM docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 285.95 285.95 107.02 107.02 0.00 0.00 0.00 0.00 Average: eth0 173.85 126.53 1686.19 26.80 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.18.0-448.el8.x86_64 (centos-stream-8-docker-63ec32c8-5733-60f9-7d79-7a12e2b2c472.nova) 03/09/2024 _x86_64_ (8 CPU) 00:31:22 LINUX RESTART (8 CPU) 12:32:01 AM CPU %user %nice %system %iowait %steal %idle 12:33:01 AM all 9.94 0.00 0.97 0.76 0.04 88.29 12:33:01 AM 0 8.31 0.00 0.93 0.22 0.05 90.49 12:33:01 AM 1 4.88 0.00 0.69 0.75 0.05 93.63 12:33:01 AM 2 6.27 0.00 1.02 1.45 0.03 91.22 12:33:01 AM 3 5.02 0.00 0.33 0.32 0.07 94.26 12:33:01 AM 4 10.38 0.00 1.18 1.28 0.03 87.12 12:33:01 AM 5 27.42 0.00 1.84 0.70 0.03 70.01 12:33:01 AM 6 7.35 0.00 0.50 0.20 0.03 91.91 12:33:01 AM 7 9.90 0.00 1.27 1.12 0.03 87.68 12:34:01 AM all 38.13 0.00 2.68 0.96 0.09 58.14 12:34:01 AM 0 48.57 0.00 1.91 0.50 0.10 48.91 12:34:01 AM 1 31.06 0.00 2.30 0.13 0.07 66.44 12:34:01 AM 2 31.16 0.00 1.52 1.84 0.10 65.37 12:34:01 AM 3 34.35 0.00 2.89 1.14 0.08 61.52 12:34:01 AM 4 26.79 0.00 3.23 0.37 0.08 69.53 12:34:01 AM 5 42.91 0.00 3.69 1.09 0.10 52.20 12:34:01 AM 6 43.20 0.00 3.18 0.66 0.08 52.88 12:34:01 AM 7 47.02 0.00 2.69 1.92 0.08 48.29 12:35:01 AM all 13.61 0.00 1.51 0.51 0.05 84.31 12:35:01 AM 0 18.72 0.00 1.30 0.03 0.05 79.90 12:35:01 AM 1 10.50 0.00 1.51 0.70 0.07 87.21 12:35:01 AM 2 8.42 0.00 1.82 2.41 0.05 87.29 12:35:01 AM 3 17.02 0.00 1.29 0.02 0.05 81.63 12:35:01 AM 4 12.70 0.00 1.71 0.30 0.05 85.24 12:35:01 AM 5 16.15 0.00 1.42 0.20 0.05 82.18 12:35:01 AM 6 12.51 0.00 1.36 0.00 0.05 86.09 12:35:01 AM 7 12.86 0.00 1.67 0.42 0.07 84.98 12:36:01 AM all 18.19 0.00 0.93 0.35 0.06 80.47 12:36:01 AM 0 31.49 0.00 1.37 0.15 0.08 66.91 12:36:01 AM 1 10.40 0.00 1.51 1.62 0.05 86.42 12:36:01 AM 2 6.39 0.00 0.85 0.07 0.05 92.64 12:36:01 AM 3 29.86 0.00 1.00 0.45 0.08 68.60 12:36:01 AM 4 20.44 0.00 0.65 0.15 0.05 78.70 12:36:01 AM 5 9.72 0.00 0.68 0.20 0.05 89.34 12:36:01 AM 6 17.90 0.00 0.62 0.10 0.07 81.31 12:36:01 AM 7 19.31 0.00 0.73 0.05 0.03 79.87 Average: all 19.95 0.00 1.52 0.64 0.06 77.83 Average: 0 26.75 0.00 1.38 0.23 0.07 71.57 Average: 1 14.20 0.00 1.50 0.80 0.06 83.44 Average: 2 13.05 0.00 1.30 1.44 0.06 84.15 Average: 3 21.56 0.00 1.38 0.48 0.07 76.51 Average: 4 17.56 0.00 1.69 0.53 0.05 80.17 Average: 5 24.03 0.00 1.91 0.55 0.06 73.45 Average: 6 20.20 0.00 1.41 0.24 0.06 78.09 Average: 7 22.23 0.00 1.59 0.87 0.05 75.25