Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-6851 (ubuntu1804-docker-4c-4g) in workspace /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-JGaiIIbK7ghP/agent.2049 SSH_AGENT_PID=2051 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release@tmp/private_key_8145212007568722691.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) 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-maven-clm-h-release # 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/h-release^{commit} # timeout=10 Checking out Revision 54b2d6ba95c1b43224e6e8baa4378762bd62133c (refs/remotes/origin/h-release) > git config core.sparsecheckout # timeout=10 > git checkout -f 54b2d6ba95c1b43224e6e8baa4378762bd62133c # timeout=10 Commit message: "Update readthedocs config" > git rev-list --no-walk 54b2d6ba95c1b43224e6e8baa4378762bd62133c # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [nonrtric-plt-ranpm-influxlogger-maven-clm-h-release] $ /bin/bash /tmp/jenkins5756141921987529445.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-KFgZ 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-KFgZ/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-KFgZ/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.34 botocore==1.35.34 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 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 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 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==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.1.0 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==4.0.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.3.6 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 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.1.2 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.2 urllib3==1.26.20 virtualenv==20.26.6 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 [nonrtric-plt-ranpm-influxlogger-maven-clm-h-release] $ /bin/sh -xe /tmp/jenkins10951729634682877480.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-6851 [nonrtric-plt-ranpm-influxlogger-maven-clm-h-release] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=h-release -Dsha1=origin/h-release -DMAVEN_OPTS= -DPROJECT=nonrtric/plt/ranpm -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_REFSPEC=refs/heads/h-release -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DSTREAM=h-release "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DNEXUS_IQ_STAGE=build "-DMAVEN_PARAMS=-f influxlogger -Dbuild.number=${BUILD_NUMBER}" -DGERRIT_PROJECT=nonrtric/plt/ranpm --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-maven-clm-h-release] $ /bin/sh -xe /tmp/jenkins17088738679843728081.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-maven-clm-h-release] $ /bin/sh /tmp/jenkins12535884346071179948.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. provisioning config files... copy managed file [global-settings] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release@tmp/config5564516246414598078tmp copy managed file [nonrtric-plt-ranpm] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release@tmp/config13537604125069090719tmp [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install [EnvInject] - Variables injected successfully. [nonrtric-plt-ranpm-influxlogger-maven-clm-h-release] $ /bin/bash -l /tmp/jenkins7693471571933549900.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 ---> sonatype-clm.sh 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] Scanning for projects... [INFO] [INFO] ------------------< org.o-ran-sc.nonrtric.plt:pmlog >------------------- [INFO] Building pmlog 1.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ pmlog --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default-prepare-agent) @ pmlog --- [INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/jacoco.exec [INFO] [INFO] --- build-helper-maven-plugin:3.3.0:add-source (add-source) @ pmlog --- [INFO] Source directory: /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/generated-sources/annotations added. [INFO] [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ pmlog --- [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/src/main/resources [INFO] skip non existing resourceDirectory /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/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-maven-clm-h-release/influxlogger/target/classes [INFO] [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ pmlog --- [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ pmlog --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ pmlog --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.oran.pmlog.ApplicationTest 13:37:52.161 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ApplicationTest]: using SpringBootContextLoader 13:37:52.171 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.oran.pmlog.ApplicationTest]: no resource found for suffixes {-context.xml, Context.groovy}. 13:37:52.199 [main] DEBUG org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Ignoring class [org.oran.pmlog.ApplicationTest$TestApplicationConfig]; it must be static, non-private, non-final, and annotated with @Configuration to be considered a default configuration class. 13:37:52.232 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [ApplicationTest]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, WebTestClientContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer] 13:37:52.353 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/classes/org/oran/pmlog/Application.class] 13:37:52.362 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.oran.pmlog.Application for test class org.oran.pmlog.ApplicationTest 13:37:52.512 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource] 13:37:52.514 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute] 13:37:52.517 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [ApplicationTest]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener] 13:37:52.519 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [ApplicationTest], class annotated with @DirtiesContext [false] with mode [null] 13:37:52.583 [main] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test class org.oran.pmlog.ApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.0.3) 2024-10-05 13:37:53.163 [INFO ] o.o.p.ApplicationTest - Starting ApplicationTest using Java 17.0.7 with PID 2853 (started by jenkins in /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger) 2024-10-05 13:37:53.165 [INFO ] o.o.p.ApplicationTest - The following 1 profile is active: "prod" 2024-10-05 13:37:56.304 [WARN ] o.o.p.ConsumerRegstrationTask - Creation of subscription/info job failed finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8436 2024-10-05 13:37:56.546 [ERROR] o.o.p.InfluxStore - Could not connect to influx DB, reason: Failed to connect to localhost/127.0.0.1:8086 2024-10-05 13:37:59.206 [INFO ] o.o.p.ApplicationTest - Started ApplicationTest in 6.594 seconds (process running for 8.121) 2024-10-05 13:38:01.406 [INFO ] o.o.p.ConsumerRegstrationTask - Registration of subscription/info job succeeded 2024-10-05 13:38:01.474 [INFO ] o.o.p.InfluxStore - Processed file from: O-DU-1122 2024-10-05 13:38:01.474 [INFO ] o.o.p.InfluxStore - InfluxStore stopped [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.559 s - in org.oran.pmlog.ApplicationTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, 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-maven-clm-h-release/influxlogger/api/.swagger-codegen-ignore [INFO] writing file /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/api/.swagger-codegen/VERSION [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:report (default-report) @ pmlog --- [INFO] Loading execution data file /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/jacoco.exec [INFO] Analyzed bundle 'pmlog' with 45 classes [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ pmlog --- [INFO] Building jar: /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger/target/pmlog-1.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.0.3:repackage (repackage) @ pmlog --- [INFO] Replacing main artifact with repackaged archive [INFO] [INFO] --- docker-maven-plugin:0.30.0:build (generate-nonrtric-plt-pmlog-image) @ pmlog --- [ERROR] DOCKER> Unable to pull 'openjdk:17-jdk' from registry 'nexus3.o-ran-sc.org' : {"message":"error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: \"\\n\\n\\n
\\n