Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-3902 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm > git init /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/nonrtric/plt/ranpm # 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 a0cc224eb1784bd9fc7626531d02cd4d9c39cd38 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a0cc224eb1784bd9fc7626531d02cd4d9c39cd38 # timeout=10 Commit message: "CI: Add SonarCloud scan GHA workflow" > git rev-list --no-walk a0cc224eb1784bd9fc7626531d02cd4d9c39cd38 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins7155156638859166647.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ob3d 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-Ob3d/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-Ob3d/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.10 botocore==1.35.10 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.0 idna==3.8 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.2.2 prettytable==3.11.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.0.0 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.20 virtualenv==20.26.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/sh -xe /tmp/jenkins11885122207690178077.sh + echo Using SonarCloud Using SonarCloud [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/sh -xe /tmp/jenkins6476035647616515097.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 on prd-ubuntu1804-docker-4c-4g-3902 [nonrtric-plt-ranpm-influxlogger-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=nonrtric/plt/ranpm -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=nonrtric/plt/ranpm -Dsha1=origin/master -DMAVEN_OPTS= -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 "-DMAVEN_PARAMS=-f influxlogger -Ddocker.skip=true" -DSONAR_MAVEN_GOAL=sonar:sonar --version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 11.0.19, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-213-generic", arch: "amd64", family: "unix" [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/sh -xe /tmp/jenkins6311465620042648188.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/sh /tmp/jenkins3649025691148412307.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=o-ran-sc SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=nonrtric-plt-ranpm-influxlogger [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config3818614949234049346tmp copy managed file [nonrtric-plt-ranpm] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config16172540293564596691tmp [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash -l /tmp/jenkins10056649262392264997.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config3818614949234049346tmp --settings /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config16172540293564596691tmp --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 influxlogger -Ddocker.skip=true Picked up _JAVA_OPTIONS: Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.7, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-213-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.o-ran-sc.nonrtric.plt:pmlog >------------------- [INFO] Building NONRTRIC RAN PM Logger 1.2.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ pmlog --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (default-prepare-agent) @ pmlog --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/jacoco.exec [INFO] [INFO] --- build-helper-maven-plugin:3.4.0:add-source (add-source) @ pmlog --- [INFO] Source directory: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/generated-sources/annotations added. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ pmlog --- [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ pmlog --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 17 source files to /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/classes [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ pmlog --- [INFO] Copying 5 resources from src/test/resources to target/test-classes [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ pmlog --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/test-classes [INFO] /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/src/test/java/org/oran/pmlog/configuration/ApplicationConfigTest.java: Some input files use or override a deprecated API. [INFO] /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/src/test/java/org/oran/pmlog/configuration/ApplicationConfigTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ pmlog --- [INFO] Surefire report directory: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/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.oran.pmlog.oauth2.SecurityContextTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 22:10:55.420 [main] WARN org.oran.pmlog.oauth2.SecurityContext -- No configuration for auth token 22:10:55.428 [main] WARN org.oran.pmlog.oauth2.SecurityContext -- No configuration for auth token 22:10:55.428 [main] WARN org.oran.pmlog.oauth2.SecurityContext -- Could not read auth token file: foo.txt, reason: foo.txt [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.085 s -- in org.oran.pmlog.oauth2.SecurityContextTest [INFO] Running org.oran.pmlog.oauth2.OAuthKafkaAuthenticateLoginCallbackHandlerTest 22:10:55.887 [main] ERROR org.oran.pmlog.oauth2.OAuthKafkaAuthenticateLoginCallbackHandler -- Unsupported callback: Mock for Callback, hashCode: 1252165500 22:10:56.127 [main] ERROR org.oran.pmlog.oauth2.OAuthKafkaAuthenticateLoginCallbackHandler -- Could not handle login callback: Callback had a token already [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 s -- in org.oran.pmlog.oauth2.OAuthKafkaAuthenticateLoginCallbackHandlerTest [INFO] Running org.oran.pmlog.oauth2.OAuthBearerTokenJwtTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s -- in org.oran.pmlog.oauth2.OAuthBearerTokenJwtTest [INFO] Running org.oran.pmlog.DataFromKafkaTopicTest 22:10:56.344 [main] ERROR org.oran.pmlog.DataFromKafkaTopic -- Could not unzip received info, reason: null, typeId: [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s -- in org.oran.pmlog.DataFromKafkaTopicTest [INFO] Running org.oran.pmlog.configuration.ConsumerJobInfoTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 s -- in org.oran.pmlog.configuration.ConsumerJobInfoTest [INFO] Running org.oran.pmlog.configuration.ApplicationConfigTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in org.oran.pmlog.configuration.ApplicationConfigTest [INFO] Running org.oran.pmlog.ApplicationTest 22:10:56.916 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration org.oran.pmlog.Application for test class org.oran.pmlog.ApplicationTest 22:10:57.182 [main] INFO org.springframework.boot.devtools.restart.RestartApplicationListener -- Restart disabled due to context in which it is running . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.0) 2024-08-31 22:10:57.784 [INFO ] o.o.p.ApplicationTest - Starting ApplicationTest using Java 17.0.7 with PID 2896 (started by jenkins in /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger) 2024-08-31 22:10:57.786 [INFO ] o.o.p.ApplicationTest - The following 1 profile is active: "prod" 2024-08-31 22:11:01.532 [WARN ] o.o.p.ConsumerRegstrationTask - Creation of subscription/info job failed finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8436 2024-08-31 22:11:01.764 [ERROR] o.o.p.InfluxStore - Could not connect to influx DB, reason: Failed to connect to localhost/127.0.0.1:8086 2024-08-31 22:11:04.349 [INFO ] o.o.p.ApplicationTest - Started ApplicationTest in 7.184 seconds (process running for 10.934) 2024-08-31 22:11:05.271 [INFO ] o.o.p.InfluxStore - Processed file from: O-DU-1122 2024-08-31 22:11:05.272 [INFO ] o.o.p.InfluxStore - InfluxStore stopped [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.719 s -- in org.oran.pmlog.ApplicationTest [INFO] Running org.oran.pmlog.BeanFactoryTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.0) 2024-08-31 22:11:05.347 [INFO ] o.o.p.BeanFactoryTest - Starting BeanFactoryTest using Java 17.0.7 with PID 2896 (started by jenkins in /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger) 2024-08-31 22:11:05.348 [INFO ] o.o.p.BeanFactoryTest - The following 1 profile is active: "prod" 2024-08-31 22:11:05.627 [ERROR] o.o.p.c.AsyncRestClientFactory - Could not init SSL context, reason: java.io.FileNotFoundException: /opt/app/pmlog-service/etc/cert/keystore.jks (No such file or directory) 2024-08-31 22:11:05.634 [WARN ] o.o.p.ConsumerRegstrationTask - Creation of subscription/info job failed finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8434 2024-08-31 22:11:05.652 [ERROR] o.o.p.InfluxStore - Could not connect to influx DB, reason: Failed to connect to localhost/127.0.0.1:8086 2024-08-31 22:11:06.375 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. 2024-08-31 22:11:06.376 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected 2024-08-31 22:11:06.474 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. 2024-08-31 22:11:06.474 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected 2024-08-31 22:11:06.637 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. 2024-08-31 22:11:06.637 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected 2024-08-31 22:11:06.650 [INFO ] o.o.p.ConsumerRegstrationTask - Registration of subscription/info job succeeded 2024-08-31 22:11:06.879 [INFO ] o.o.p.BeanFactoryTest - Started BeanFactoryTest in 1.569 seconds (process running for 13.464) 2024-08-31 22:11:06.888 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. 2024-08-31 22:11:06.889 [WARN ] o.a.k.c.NetworkClient - [Consumer clientId=kafkaClientId_kafkaGroupId, groupId=kafkaGroupId] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.604 s -- in org.oran.pmlog.BeanFactoryTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- swagger-codegen-maven-plugin:3.0.11:generate (default) @ pmlog --- [INFO] No .swagger-codegen-ignore file found. [WARNING] can't open handlebars/openapi/README.md for input [INFO] writing file /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/api/.swagger-codegen-ignore [INFO] writing file /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/api/.swagger-codegen/VERSION [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (default-report) @ pmlog --- [INFO] Loading execution data file /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/jacoco.exec [INFO] Analyzed bundle 'NONRTRIC RAN PM Logger' with 45 classes [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ pmlog --- [INFO] Building jar: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/pmlog-1.2.0-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.2.0:repackage (repackage) @ pmlog --- [INFO] Replacing main artifact /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/pmlog-1.2.0-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/pmlog-1.2.0-SNAPSHOT.jar.original [INFO] [INFO] --- docker-maven-plugin:0.30.0:build (generate-nonrtric-plt-pmlog-image) @ pmlog --- [INFO] [INFO] --- maven-failsafe-plugin:3.1.2:integration-test (default) @ pmlog --- [INFO] [INFO] --- maven-failsafe-plugin:3.1.2:verify (default) @ pmlog --- [INFO] Failsafe report directory: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ pmlog --- [INFO] Installing /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/pom.xml to /tmp/r/org/o-ran-sc/nonrtric/plt/pmlog/1.2.0-SNAPSHOT/pmlog-1.2.0-SNAPSHOT.pom [INFO] Installing /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/pmlog-1.2.0-SNAPSHOT.jar to /tmp/r/org/o-ran-sc/nonrtric/plt/pmlog/1.2.0-SNAPSHOT/pmlog-1.2.0-SNAPSHOT.jar [INFO] [INFO] --- docker-maven-plugin:0.30.0:build (push-nonrtric-plt-pmlog-image) @ pmlog --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:56 min [INFO] Finished at: 2024-08-31T22:11:19Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk17 '!=' openjdk17 ']' + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn sonar:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config3818614949234049346tmp --settings /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config16172540293564596691tmp -Dsonar.projectKey=nonrtric-plt-ranpm-influxlogger -Dsonar.organization=o-ran-sc -Dsonar.login=**** --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -f influxlogger -Ddocker.skip=true Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.7, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-213-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.o-ran-sc.nonrtric.plt:pmlog >------------------- [INFO] Building NONRTRIC RAN PM Logger 1.2.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.7.0.1746:sonar (default-cli) @ pmlog --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 11.1.1.164 [INFO] Default locale: "en", source code encoding: "UTF-8" [INFO] Load global settings [INFO] Load global settings (done) | time=591ms [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu [INFO] Loading required plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=527ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=642ms [INFO] Found an active CI vendor: 'Jenkins' [INFO] Load project settings for component key: 'nonrtric-plt-ranpm-influxlogger' [INFO] Load project settings for component key: 'nonrtric-plt-ranpm-influxlogger' (done) | time=479ms [INFO] Process project properties [INFO] Project key: nonrtric-plt-ranpm-influxlogger [INFO] Base dir: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger [INFO] Working dir: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/sonar [INFO] Load project branches [INFO] Load project branches (done) | time=499ms [INFO] Check ALM binding of project 'nonrtric-plt-ranpm-influxlogger' [INFO] Detected project binding: NOT_BOUND [INFO] Check ALM binding of project 'nonrtric-plt-ranpm-influxlogger' (done) | time=473ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=475ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=2ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=552ms [INFO] Load active rules [INFO] Load active rules (done) | time=10239ms [INFO] Organization key: o-ran-sc [WARNING] The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. [INFO] Preprocessing files... [INFO] 2 languages detected in 28 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=810ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=213ms [INFO] Indexing files... [INFO] Project configuration: [INFO] Excluded sources: **/build-wrapper-dump.json [INFO] 28 files indexed [INFO] Quality profile for java: ORAN way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module NONRTRIC RAN PM Logger [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=176ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (27 KB) | time=2218ms [INFO] Sensor JavaSensor [java] [INFO] Configured Java source version (sonar.java.source): 6, 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 17 Main java source files with batch size 51 KB. [INFO] Starting batch processing. [INFO] The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/configuration/ApplicationConfig.java' [ERROR] Parse error at line 204 column 55: References to interface static methods are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/InfluxStore.java' [ERROR] Parse error at line 96 column 42: Method references are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/clients/AsyncRestClientFactory.java' [ERROR] Parse error at line 127 column 28: Lambda expressions are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/oauth2/SecurityContext.java' [ERROR] Parse error at line 58 column 42: References to interface static methods are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/DataFromKafkaTopic.java' [ERROR] Parse error at line 66 column 13: Resource specification not allowed here for source level below 1.7 [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/ConsumerRegstrationTask.java' [ERROR] Parse error at line 71 column 27: Method references are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/KafkaTopicListener.java' [ERROR] Parse error at line 63 column 29: References to interface static methods are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/main/java/org/oran/pmlog/clients/AsyncRestClient.java' [ERROR] Parse error at line 85 column 21: Method references are allowed only at source level 1.8 or above [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 17 files. [WARNING] Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] Using ECJ batch to parse 10 Test java source files with batch size 51 KB. [INFO] Starting batch processing. [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/ApplicationTest.java' [ERROR] Parse error at line 157 column 13: Resource specification not allowed here for source level below 1.7 [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/oauth2/OAuthKafkaAuthenticateLoginCallbackHandlerTest.java' [ERROR] Parse error at line 50 column 53: Lambda expressions are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/Integration.java' [ERROR] Parse error at line 122 column 29: References to interface static methods are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/oauth2/OAuthBearerTokenJwtTest.java' [ERROR] Parse error at line 35 column 45: Lambda expressions are allowed only at source level 1.8 or above [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/configuration/ApplicationConfigTest.java' [ERROR] Parse error at line 105 column 17: Multi-catch parameters are not allowed for source level below 1.7 [ERROR] Unable to parse source file : 'src/test/java/org/oran/pmlog/oauth2/SecurityContextTest.java' [ERROR] Parse error at line 28 column 26: References to interface static methods are allowed only at source level 1.8 or above [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 10 files. [WARNING] Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=2269ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=68ms [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=131ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=35ms [INFO] Sensor Java Config Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor Java Config Sensor [iac] (done) | time=13ms [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=70ms [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=3ms [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/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/sonar/ir/java [INFO] No IR files have been included for analysis. [INFO] Sensor javabugs [dbd] (done) | time=3ms [INFO] Sensor pythonbugs [dbd] [INFO] Reading IR files from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/sonar/ir/python [INFO] No IR files have been included for analysis. [INFO] Sensor pythonbugs [dbd] (done) | time=0ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] Available processors: 4 [INFO] Using 4 threads for analysis. [INFO] Using git CLI to retrieve untracked files [INFO] Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git [INFO] 28 source files to be analyzed [INFO] 28/28 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=823ms [INFO] Sensor JavaSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/sonar/ucfg2/java [INFO] Read 87 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.035 [INFO] Load UCFGs: Starting [INFO] Reading UCFGs from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/sonar/ucfg2/java [INFO] Load UCFGs: Time spent was 00:00:00.052 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.088 [INFO] Analyzing 31 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.004 [INFO] Run SCC (Tarjan) on 93 nodes: Starting [INFO] Run SCC (Tarjan) on 93 nodes: Time spent was 00:00:00.000 [INFO] Tarjan found 93 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.001 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.008 [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.001 [INFO] Run SCC (Tarjan) on 93 nodes: Starting [INFO] Run SCC (Tarjan) on 93 nodes: Time spent was 00:00:00.000 [INFO] Tarjan found 93 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.000 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.003 [INFO] Create runtime call graph: Time spent was 00:00:00.014 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:00.994 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.525 [INFO] No entry points found. [INFO] java security sensor: Time spent was 00:00:01.635 [INFO] java security sensor: Begin: 2024-08-31T22:11:47.304463628Z, End: 2024-08-31T22:11:48.939918743Z, Duration: 00:00:01.635 Load type hierarchy and UCFGs: Begin: 2024-08-31T22:11:47.307325126Z, End: 2024-08-31T22:11:47.395692819Z, Duration: 00:00:00.088 Load type hierarchy: Begin: 2024-08-31T22:11:47.307542287Z, End: 2024-08-31T22:11:47.342741168Z, Duration: 00:00:00.035 Load UCFGs: Begin: 2024-08-31T22:11:47.343079330Z, End: 2024-08-31T22:11:47.395477527Z, Duration: 00:00:00.052 Check cache: Begin: 2024-08-31T22:11:47.395920290Z, End: 2024-08-31T22:11:47.396335573Z, Duration: 00:00:00.000 Load cache: Begin: 2024-08-31T22:11:47.395972381Z, End: 2024-08-31T22:11:47.396033581Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-08-31T22:11:47.396471834Z, End: 2024-08-31T22:11:47.411397917Z, Duration: 00:00:00.014 Variable Type Analysis #1: Begin: 2024-08-31T22:11:47.397044207Z, End: 2024-08-31T22:11:47.405389629Z, Duration: 00:00:00.008 Create runtime type propagation graph: Begin: 2024-08-31T22:11:47.397837212Z, End: 2024-08-31T22:11:47.402296480Z, Duration: 00:00:00.004 Run SCC (Tarjan) on 93 nodes: Begin: 2024-08-31T22:11:47.402629232Z, End: 2024-08-31T22:11:47.403490798Z, Duration: 00:00:00.000 Propagate runtime types to strongly connected components: Begin: 2024-08-31T22:11:47.403740629Z, End: 2024-08-31T22:11:47.405218128Z, Duration: 00:00:00.001 Variable Type Analysis #2: Begin: 2024-08-31T22:11:47.407449202Z, End: 2024-08-31T22:11:47.410700723Z, Duration: 00:00:00.003 Create runtime type propagation graph: Begin: 2024-08-31T22:11:47.407517153Z, End: 2024-08-31T22:11:47.409516515Z, Duration: 00:00:00.001 Run SCC (Tarjan) on 93 nodes: Begin: 2024-08-31T22:11:47.409674566Z, End: 2024-08-31T22:11:47.409968278Z, Duration: 00:00:00.000 Propagate runtime types to strongly connected components: Begin: 2024-08-31T22:11:47.410171369Z, End: 2024-08-31T22:11:47.410551322Z, Duration: 00:00:00.000 Load config: Begin: 2024-08-31T22:11:47.411537868Z, End: 2024-08-31T22:11:48.406434946Z, Duration: 00:00:00.994 Compute entry points: Begin: 2024-08-31T22:11:48.406929619Z, End: 2024-08-31T22:11:48.932577247Z, Duration: 00:00:00.525 [INFO] java security sensor peak memory: 380 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=1642ms [INFO] Sensor CSharpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/ucfg2/cs [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] csharp security sensor: Time spent was 00:00:00.001 [INFO] csharp security sensor: Begin: 2024-08-31T22:11:48.943732726Z, End: 2024-08-31T22:11:48.945381247Z, Duration: 00:00:00.001 Load type hierarchy and UCFGs: Begin: 2024-08-31T22:11:48.944044808Z, End: 2024-08-31T22:11:48.944914424Z, Duration: 00:00:00.000 Load type hierarchy: Begin: 2024-08-31T22:11:48.944132999Z, End: 2024-08-31T22:11:48.944564382Z, Duration: 00:00:00.000 Load UCFGs: Begin: 2024-08-31T22:11:48.944712062Z, End: 2024-08-31T22:11:48.944766913Z, Duration: 00:00:00.000 [INFO] csharp security sensor peak memory: 380 MB [INFO] Sensor CSharpSecuritySensor [security] (done) | time=3ms [INFO] Sensor PhpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/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.001 [INFO] php security sensor: Begin: 2024-08-31T22:11:48.946964886Z, End: 2024-08-31T22:11:48.948508936Z, Duration: 00:00:00.001 Load type hierarchy and UCFGs: Begin: 2024-08-31T22:11:48.947196238Z, End: 2024-08-31T22:11:48.947982213Z, Duration: 00:00:00.000 Load type hierarchy: Begin: 2024-08-31T22:11:48.947258148Z, End: 2024-08-31T22:11:48.947645681Z, Duration: 00:00:00.000 Load UCFGs: Begin: 2024-08-31T22:11:48.947809782Z, End: 2024-08-31T22:11:48.947865232Z, Duration: 00:00:00.000 [INFO] php security sensor peak memory: 380 MB [INFO] Sensor PhpSecuritySensor [security] (done) | time=3ms [INFO] Sensor PythonSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/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.001 [INFO] No UCFGs have been included for analysis. [INFO] python security sensor: Time spent was 00:00:00.001 [INFO] python security sensor: Begin: 2024-08-31T22:11:48.950093846Z, End: 2024-08-31T22:11:48.951793266Z, Duration: 00:00:00.001 Load type hierarchy and UCFGs: Begin: 2024-08-31T22:11:48.950438978Z, End: 2024-08-31T22:11:48.951455834Z, Duration: 00:00:00.001 Load type hierarchy: Begin: 2024-08-31T22:11:48.950517418Z, End: 2024-08-31T22:11:48.951012501Z, Duration: 00:00:00.000 Load UCFGs: Begin: 2024-08-31T22:11:48.951180263Z, End: 2024-08-31T22:11:48.951249653Z, Duration: 00:00:00.000 [INFO] python security sensor peak memory: 380 MB [INFO] Sensor PythonSecuritySensor [security] (done) | time=4ms [INFO] Sensor JsSecuritySensor [security] [INFO] Enabled taint analysis rules: S5147, S2083, S2076, S3649, S5144, S6105, S5146, S6096, S2631, S5131, S5883, S5334, S5696, S6287, S6350 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/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.001 [INFO] js security sensor: Begin: 2024-08-31T22:11:48.953472457Z, End: 2024-08-31T22:11:48.954888926Z, Duration: 00:00:00.001 Load type hierarchy and UCFGs: Begin: 2024-08-31T22:11:48.953833839Z, End: 2024-08-31T22:11:48.954479783Z, Duration: 00:00:00.000 Load type hierarchy: Begin: 2024-08-31T22:11:48.953901689Z, End: 2024-08-31T22:11:48.954168461Z, Duration: 00:00:00.000 Load UCFGs: Begin: 2024-08-31T22:11:48.954328482Z, End: 2024-08-31T22:11:48.954378912Z, Duration: 00:00:00.000 [INFO] js security sensor peak memory: 380 MB [INFO] Sensor JsSecuritySensor [security] (done) | time=2ms [INFO] ------------- Run sensors on project [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=1ms [INFO] Sensor Java CPD Block Indexer [INFO] Sensor Java CPD Block Indexer (done) | time=38ms [INFO] CPD Executor 2 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 15 files [INFO] CPD Executor CPD calculation finished (done) | time=11ms [INFO] Analysis report generated in 104ms, dir size=431 KB [INFO] Analysis report compressed in 45ms, zip size=129 KB [INFO] Analysis report uploaded in 926ms [INFO] ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=nonrtric-plt-ranpm-influxlogger [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=AZGqfpyMVDZKHUTp4V8P [INFO] Sensor cache published successfully [INFO] Analysis total time: 25.042 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.359 s [INFO] Finished at: 2024-08-31T22:11:51Z [INFO] ------------------------------------------------------------------------ [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins10814043174224708950.sh [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Not] preventing perform for step [BuilderChain] [JaCoCo plugin] Collecting JaCoCo coverage data... [JaCoCo plugin] Version: 3.3.6 [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured [JaCoCo plugin] Number of found exec files for pattern **/**.exec: 1 [JaCoCo plugin] Saving matched execfiles: /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/jacoco.exec [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes: [JaCoCo plugin] - /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/target/classes 46 files [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java: [JaCoCo plugin] Source Inclusions: **/*.java [JaCoCo plugin] Source Exclusions: null [JaCoCo plugin] - /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/datafilecollector/src/main/java 31 files [JaCoCo plugin] - /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/influxlogger/src/main/java 17 files [JaCoCo plugin] - /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/pmproducer/src/main/java 35 files [JaCoCo plugin] Loading inclusions files.. [JaCoCo plugin] inclusions: [] [JaCoCo plugin] exclusions: [**/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/**] [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=40, maxMethod=50, minLine=0, maxLine=0, minBranch=10, maxBranch=10, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0] [JaCoCo plugin] Publishing the results.. [JaCoCo plugin] Loading packages.. [JaCoCo plugin] Done. [JaCoCo plugin] Overall coverage: class: 82.22222, method: 60.322582, line: 76.53722, branch: 63.636364, instruction: 64.12973, complexity: 56.914894 [PostBuildScript] - [INFO] Executing post build scripts. [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins10331696968368421451.sh ---> sysstat.sh [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins452975970399983186.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar ']' + mkdir -p /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/archives/ [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins387980601115109995.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ob3d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ob3d/bin to PATH INFO: Running in OpenStack, capturing instance metadata [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins12588337286233757302.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-sonar@tmp/config12130117650209103154tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins5959962977303168813.sh ---> create-netrc.sh [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins672772836699174456.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ob3d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ob3d/bin to PATH [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins4290155798596386122.sh ---> sudo-logs.sh Archiving 'sudo' log.. [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash /tmp/jenkins17478360039223930128.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ob3d 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-Ob3d/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-4 INFO: Archiving Costs [nonrtric-plt-ranpm-influxlogger-sonar] $ /bin/bash -l /tmp/jenkins877284399750526766.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/nonrtric-plt-ranpm-influxlogger-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ob3d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ob3d/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/nonrtric-plt-ranpm-influxlogger-sonar/65 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-4c-4g-3902 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 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): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 696K 394M 1% /run /dev/vda1 20G 9.4G 9.9G 49% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3943 464 885 0 2594 3211 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:2b:c3:82 brd ff:ff:ff:ff:ff:ff inet 10.32.6.38/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86049sec preferred_lft 86049sec inet6 fe80::f816:3eff:fe2b:c382/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:7d:ce:d8:6c brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-3902) 08/31/24 _x86_64_ (4 CPU) 22:06:38 LINUX RESTART (4 CPU) 22:07:01 tps rtps wtps bread/s bwrtn/s 22:08:01 195.37 83.09 112.28 6507.58 43136.16 22:09:01 95.08 29.20 65.89 1625.73 9839.03 22:10:01 9.90 0.02 9.88 2.40 434.46 22:11:01 34.49 9.73 24.76 777.74 3792.47 22:12:01 42.54 8.77 33.78 663.09 11221.86 Average: 75.47 26.16 49.32 1915.27 13684.47 22:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:08:01 1658600 3367692 2380052 58.93 56128 1807928 897076 17.63 557664 1641704 134584 22:09:01 1283236 3162920 2755416 68.23 64172 1962356 1103412 21.69 775652 1782600 4056 22:10:01 1271912 3158868 2766740 68.51 65976 1967000 1108260 21.79 781216 1786384 1236 22:11:01 512516 2536276 3526136 87.31 69136 2096636 1723908 33.89 1461664 1853948 7296 22:12:01 877112 3254720 3161540 78.28 72772 2441060 985728 19.38 872660 2069724 27156 Average: 1120675 3096095 2917977 72.25 65637 2054996 1163677 22.87 889771 1826872 34866 22:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:08:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 22:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:08:01 ens3 440.36 288.60 1527.41 71.19 0.00 0.00 0.00 0.00 22:09:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 22:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:09:01 ens3 145.49 124.00 451.52 23.34 0.00 0.00 0.00 0.00 22:10:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 22:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:01 ens3 60.16 86.67 66.70 13.80 0.00 0.00 0.00 0.00 22:11:01 lo 0.50 0.50 0.04 0.04 0.00 0.00 0.00 0.00 22:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:11:01 ens3 255.45 302.15 1737.11 43.37 0.00 0.00 0.00 0.00 22:12:01 lo 1.70 1.70 0.41 0.41 0.00 0.00 0.00 0.00 22:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:01 ens3 540.96 424.86 2796.72 90.14 0.00 0.00 0.00 0.00 Average: lo 1.13 1.13 0.16 0.16 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 288.48 245.26 1315.91 48.37 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-docker-4c-4g-3902) 08/31/24 _x86_64_ (4 CPU) 22:06:38 LINUX RESTART (4 CPU) 22:07:01 CPU %user %nice %system %iowait %steal %idle 22:08:01 all 19.87 0.00 2.47 6.00 0.07 71.60 22:08:01 0 34.63 0.00 3.03 14.69 0.07 47.58 22:08:01 1 21.31 0.00 1.99 2.94 0.07 73.69 22:08:01 2 8.32 0.00 2.72 3.04 0.10 85.82 22:08:01 3 15.28 0.00 2.10 3.32 0.03 79.26 22:09:01 all 13.79 0.00 0.77 1.93 0.06 83.45 22:09:01 0 8.04 0.00 0.43 3.47 0.05 88.00 22:09:01 1 12.44 0.00 0.68 2.20 0.07 84.61 22:09:01 2 8.53 0.00 0.87 1.02 0.07 89.51 22:09:01 3 26.11 0.00 1.13 1.03 0.05 71.68 22:10:01 all 4.22 0.00 0.27 0.05 0.03 95.43 22:10:01 0 7.34 0.00 0.08 0.13 0.03 92.41 22:10:01 1 2.62 0.00 0.15 0.00 0.03 97.19 22:10:01 2 6.82 0.00 0.79 0.07 0.07 92.25 22:10:01 3 0.08 0.00 0.03 0.00 0.02 99.87 22:11:01 all 23.56 0.00 0.87 0.30 0.06 75.21 22:11:01 0 22.76 0.00 0.67 0.52 0.05 76.01 22:11:01 1 26.26 0.00 0.47 0.13 0.08 73.06 22:11:01 2 23.85 0.00 1.26 0.30 0.07 74.52 22:11:01 3 21.37 0.00 1.09 0.23 0.03 77.27 22:12:01 all 33.39 0.00 1.47 0.42 0.06 64.66 22:12:01 0 33.32 0.00 1.30 1.17 0.07 64.15 22:12:01 1 28.62 0.00 1.42 0.13 0.07 69.75 22:12:01 2 42.16 0.00 1.76 0.07 0.07 55.95 22:12:01 3 29.49 0.00 1.40 0.28 0.07 68.76 Average: all 18.97 0.00 1.17 1.74 0.06 78.07 Average: 0 21.21 0.00 1.10 3.99 0.05 73.65 Average: 1 18.25 0.00 0.94 1.08 0.06 79.66 Average: 2 17.95 0.00 1.48 0.90 0.07 79.59 Average: 3 18.46 0.00 1.15 0.97 0.04 79.38