Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-4c-4g-2395 (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-BcpX9Hsjs0pA/agent.2087 SSH_AGENT_PID=2089 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release@tmp/private_key_11913008457667253862.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/jenkins10949282074327084420.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-HGFV 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-HGFV/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-HGFV/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.117 botocore==1.34.117 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.1.1 filelock==3.14.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.5.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.5 tqdm==4.66.4 typing_extensions==4.12.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [nonrtric-plt-ranpm-influxlogger-maven-clm-h-release] $ /bin/sh -xe /tmp/jenkins14052992095639484472.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-2395 [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/jenkins13751278079212143080.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/jenkins15731882414665082449.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/config33769381452846023tmp copy managed file [nonrtric-plt-ranpm] to file:/w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release@tmp/config15666549014325186253tmp [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/jenkins10489099863618239354.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:38:35.188 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ApplicationTest]: using SpringBootContextLoader 13:38:35.195 [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:38:35.213 [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:38:35.251 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [ApplicationTest]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, WebTestClientContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer] 13:38:35.381 [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:38:35.391 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.oran.pmlog.Application for test class org.oran.pmlog.ApplicationTest 13:38:35.589 [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:38:35.592 [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:38:35.596 [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:38:35.598 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [ApplicationTest], class annotated with @DirtiesContext [false] with mode [null] 13:38:35.686 [main] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test class org.oran.pmlog.ApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.0.3) 2024-06-01 13:38:36.359 [INFO ] o.o.p.ApplicationTest - Starting ApplicationTest using Java 17.0.7 with PID 2907 (started by jenkins in /w/workspace/nonrtric-plt-ranpm-influxlogger-maven-clm-h-release/influxlogger) 2024-06-01 13:38:36.372 [INFO ] o.o.p.ApplicationTest - The following 1 profile is active: "prod" 2024-06-01 13:38:39.946 [WARN ] o.o.p.ConsumerRegstrationTask - Creation of subscription/info job failed finishConnect(..) failed: Connection refused: localhost/127.0.0.1:8436 2024-06-01 13:38:40.147 [ERROR] o.o.p.InfluxStore - Could not connect to influx DB, reason: Failed to connect to localhost/127.0.0.1:8086 2024-06-01 13:38:43.566 [INFO ] o.o.p.ApplicationTest - Started ApplicationTest in 7.848 seconds (process running for 9.701) 2024-06-01 13:38:45.051 [INFO ] o.o.p.ConsumerRegstrationTask - Registration of subscription/info job succeeded 2024-06-01 13:38:45.195 [INFO ] o.o.p.InfluxStore - Processed file from: O-DU-1122 2024-06-01 13:38:45.196 [INFO ] o.o.p.InfluxStore - InfluxStore stopped [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.273 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