23:20:00 Started by timer 23:20:00 Running as SYSTEM 23:20:00 [EnvInject] - Loading node environment variables. 23:20:00 Building remotely on prd-ubuntu1804-docker-8c-8g-18761 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/oom-platform-cert-service-maven-clm-master 23:20:00 [ssh-agent] Looking for ssh-agent implementation... 23:20:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:00 $ ssh-agent 23:20:00 SSH_AUTH_SOCK=/tmp/ssh-hHB7sDfpFEfz/agent.2091 23:20:00 SSH_AGENT_PID=2093 23:20:00 [ssh-agent] Started. 23:20:00 Running ssh-add (command line suppressed) 23:20:00 Identity added: /w/workspace/oom-platform-cert-service-maven-clm-master@tmp/private_key_9938308841906691054.key (/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/private_key_9938308841906691054.key) 23:20:00 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 23:20:00 The recommended git tool is: NONE 23:20:02 using credential onap-jenkins-ssh 23:20:02 Wiping out workspace first. 23:20:02 Cloning the remote Git repository 23:20:02 Cloning repository git://cloud.onap.org/mirror/oom/platform/cert-service 23:20:02 > git init /w/workspace/oom-platform-cert-service-maven-clm-master # timeout=10 23:20:02 Fetching upstream changes from git://cloud.onap.org/mirror/oom/platform/cert-service 23:20:02 > git --version # timeout=10 23:20:02 > git --version # 'git version 2.17.1' 23:20:02 using GIT_SSH to set credentials Gerrit user 23:20:02 Verifying host key using manually-configured host key entries 23:20:02 > git fetch --tags --progress -- git://cloud.onap.org/mirror/oom/platform/cert-service +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:02 > git config remote.origin.url git://cloud.onap.org/mirror/oom/platform/cert-service # timeout=10 23:20:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:03 Avoid second fetch 23:20:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 23:20:03 Checking out Revision 239e162ccb853328211c4be671cce32359406b7a (refs/remotes/origin/master) 23:20:03 > git config core.sparsecheckout # timeout=10 23:20:03 > git checkout -f 239e162ccb853328211c4be671cce32359406b7a # timeout=10 23:20:03 Commit message: "Set Python and Ubuntu versions in .readthedocs.yaml" 23:20:03 > git rev-list --no-walk 239e162ccb853328211c4be671cce32359406b7a # timeout=10 23:20:06 provisioning config files... 23:20:06 copy managed file [npmrc] to file:/home/jenkins/.npmrc 23:20:06 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 23:20:06 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins9382824401627404475.sh 23:20:06 ---> python-tools-install.sh 23:20:06 Setup pyenv: 23:20:06 * system (set by /opt/pyenv/version) 23:20:06 * 3.8.13 (set by /opt/pyenv/version) 23:20:06 * 3.9.13 (set by /opt/pyenv/version) 23:20:06 * 3.10.6 (set by /opt/pyenv/version) 23:20:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bRe2 23:20:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 23:20:14 lf-activate-venv(): INFO: Installing: lftools 23:20:42 lf-activate-venv(): INFO: Adding /tmp/venv-bRe2/bin to PATH 23:20:42 Generating Requirements File 23:21:00 Python 3.10.6 23:21:00 pip 24.1 from /tmp/venv-bRe2/lib/python3.10/site-packages/pip (python 3.10) 23:21:01 appdirs==1.4.4 23:21:01 argcomplete==3.4.0 23:21:01 aspy.yaml==1.3.0 23:21:01 attrs==23.2.0 23:21:01 autopage==0.5.2 23:21:01 beautifulsoup4==4.12.3 23:21:01 boto3==1.34.131 23:21:01 botocore==1.34.131 23:21:01 bs4==0.0.2 23:21:01 cachetools==5.3.3 23:21:01 certifi==2024.6.2 23:21:01 cffi==1.16.0 23:21:01 cfgv==3.4.0 23:21:01 chardet==5.2.0 23:21:01 charset-normalizer==3.3.2 23:21:01 click==8.1.7 23:21:01 cliff==4.7.0 23:21:01 cmd2==2.4.3 23:21:01 cryptography==3.3.2 23:21:01 debtcollector==3.0.0 23:21:01 decorator==5.1.1 23:21:01 defusedxml==0.7.1 23:21:01 Deprecated==1.2.14 23:21:01 distlib==0.3.8 23:21:01 dnspython==2.6.1 23:21:01 docker==4.2.2 23:21:01 dogpile.cache==1.3.3 23:21:01 email_validator==2.2.0 23:21:01 filelock==3.15.4 23:21:01 future==1.0.0 23:21:01 gitdb==4.0.11 23:21:01 GitPython==3.1.43 23:21:01 google-auth==2.30.0 23:21:01 httplib2==0.22.0 23:21:01 identify==2.5.36 23:21:01 idna==3.7 23:21:01 importlib-resources==1.5.0 23:21:01 iso8601==2.1.0 23:21:01 Jinja2==3.1.4 23:21:01 jmespath==1.0.1 23:21:01 jsonpatch==1.33 23:21:01 jsonpointer==3.0.0 23:21:01 jsonschema==4.22.0 23:21:01 jsonschema-specifications==2023.12.1 23:21:01 keystoneauth1==5.6.0 23:21:01 kubernetes==30.1.0 23:21:01 lftools==0.37.10 23:21:01 lxml==5.2.2 23:21:01 MarkupSafe==2.1.5 23:21:01 msgpack==1.0.8 23:21:01 multi_key_dict==2.0.3 23:21:01 munch==4.0.0 23:21:01 netaddr==1.3.0 23:21:01 netifaces==0.11.0 23:21:01 niet==1.4.2 23:21:01 nodeenv==1.9.1 23:21:01 oauth2client==4.1.3 23:21:01 oauthlib==3.2.2 23:21:01 openstacksdk==3.1.0 23:21:01 os-client-config==2.1.0 23:21:01 os-service-types==1.7.0 23:21:01 osc-lib==3.0.1 23:21:01 oslo.config==9.4.0 23:21:01 oslo.context==5.5.0 23:21:01 oslo.i18n==6.3.0 23:21:01 oslo.log==6.0.0 23:21:01 oslo.serialization==5.4.0 23:21:01 oslo.utils==7.1.0 23:21:01 packaging==24.1 23:21:01 pbr==6.0.0 23:21:01 platformdirs==4.2.2 23:21:01 prettytable==3.10.0 23:21:01 pyasn1==0.6.0 23:21:01 pyasn1_modules==0.4.0 23:21:01 pycparser==2.22 23:21:01 pygerrit2==2.0.15 23:21:01 PyGithub==2.3.0 23:21:01 PyJWT==2.8.0 23:21:01 PyNaCl==1.5.0 23:21:01 pyparsing==2.4.7 23:21:01 pyperclip==1.9.0 23:21:01 pyrsistent==0.20.0 23:21:01 python-cinderclient==9.5.0 23:21:01 python-dateutil==2.9.0.post0 23:21:01 python-heatclient==3.5.0 23:21:01 python-jenkins==1.8.2 23:21:01 python-keystoneclient==5.4.0 23:21:01 python-magnumclient==4.5.0 23:21:01 python-novaclient==18.6.0 23:21:01 python-openstackclient==6.6.0 23:21:01 python-swiftclient==4.6.0 23:21:01 PyYAML==6.0.1 23:21:01 referencing==0.35.1 23:21:01 requests==2.32.3 23:21:01 requests-oauthlib==2.0.0 23:21:01 requestsexceptions==1.4.0 23:21:01 rfc3986==2.0.0 23:21:01 rpds-py==0.18.1 23:21:01 rsa==4.9 23:21:01 ruamel.yaml==0.18.6 23:21:01 ruamel.yaml.clib==0.2.8 23:21:01 s3transfer==0.10.1 23:21:01 simplejson==3.19.2 23:21:01 six==1.16.0 23:21:01 smmap==5.0.1 23:21:01 soupsieve==2.5 23:21:01 stevedore==5.2.0 23:21:01 tabulate==0.9.0 23:21:01 toml==0.10.2 23:21:01 tomlkit==0.12.5 23:21:01 tqdm==4.66.4 23:21:01 typing_extensions==4.12.2 23:21:01 tzdata==2024.1 23:21:01 urllib3==1.26.19 23:21:01 virtualenv==20.26.3 23:21:01 wcwidth==0.2.13 23:21:01 websocket-client==1.8.0 23:21:01 wrapt==1.16.0 23:21:01 xdg==6.0.0 23:21:01 xmltodict==0.13.0 23:21:01 yq==3.4.3 23:21:01 [oom-platform-cert-service-maven-clm-master] $ /bin/sh -xe /tmp/jenkins1853626474198820351.sh 23:21:01 + echo quiet=on 23:21:01 Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 on prd-ubuntu1804-docker-8c-8g-18761 23:21:01 [oom-platform-cert-service-maven-clm-master] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -Dsha1=origin/master -DMAVEN_OPTS= -DPROJECT=oom/platform/cert-service -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt 23:21:01 " -DNEXUS_IQ_STAGE=build -DMAVEN_PARAMS= -DGERRIT_PROJECT=oom/platform/cert-service --version 23:21:02 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) 23:21:02 Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 23:21:02 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 23:21:02 Default locale: en, platform encoding: UTF-8 23:21:02 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" 23:21:02 [oom-platform-cert-service-maven-clm-master] $ /bin/sh -xe /tmp/jenkins9688224122701049740.sh 23:21:02 + rm /home/jenkins/.wgetrc 23:21:02 [EnvInject] - Injecting environment variables from a build step. 23:21:02 [EnvInject] - Injecting as environment variables the properties content 23:21:02 SET_JDK_VERSION=openjdk11 23:21:02 GIT_URL="git://cloud.onap.org/mirror" 23:21:02 23:21:02 [EnvInject] - Variables injected successfully. 23:21:02 [oom-platform-cert-service-maven-clm-master] $ /bin/sh /tmp/jenkins15702360857797327662.sh 23:21:02 ---> update-java-alternatives.sh 23:21:02 ---> Updating Java version 23:21:02 ---> Ubuntu/Debian system detected 23:21:02 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 23:21:02 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 23:21:02 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 23:21:02 openjdk version "11.0.16" 2022-07-19 23:21:02 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) 23:21:02 OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) 23:21:02 JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 23:21:02 [EnvInject] - Injecting environment variables from a build step. 23:21:02 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 23:21:02 [EnvInject] - Variables injected successfully. 23:21:02 provisioning config files... 23:21:02 copy managed file [global-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config11388411988505740632tmp 23:21:02 copy managed file [oom-platform-cert-service-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config4731729728455923609tmp 23:21:02 [EnvInject] - Injecting environment variables from a build step. 23:21:02 [EnvInject] - Injecting as environment variables the properties content 23:21:02 MAVEN_GOALS=clean install 23:21:02 23:21:02 [EnvInject] - Variables injected successfully. 23:21:02 [oom-platform-cert-service-maven-clm-master] $ /bin/bash -l /tmp/jenkins7668873257670433470.sh 23:21:02 ---> common-variables.sh 23:21:02 --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 23:21:02 ---> sonatype-clm.sh 23:21:02 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) 23:21:02 Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 23:21:02 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 23:21:02 Default locale: en, platform encoding: UTF-8 23:21:02 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" 23:21:03 [INFO] Scanning for projects... 23:21:06 [INFO] ------------------------------------------------------------------------ 23:21:06 [INFO] Reactor Build Order: 23:21:06 [INFO] 23:21:06 [INFO] oom-certservice [pom] 23:21:06 [INFO] oom-certservice-api [jar] 23:21:06 [INFO] oom-certservice-post-processor [jar] 23:21:06 [INFO] oom-certservice-k8s-external-provider [mvn-golang] 23:21:08 [INFO] 23:21:08 [INFO] ---------< org.onap.oom.platform.cert-service:oom-certservice >--------- 23:21:08 [INFO] Building oom-certservice 2.6.0-SNAPSHOT [1/4] 23:21:08 [INFO] --------------------------------[ pom ]--------------------------------- 23:21:08 [INFO] 23:21:08 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oom-certservice --- 23:21:08 [INFO] 23:21:08 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ oom-certservice --- 23:21:09 [INFO] 23:21:09 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ oom-certservice --- 23:21:09 [INFO] 23:21:09 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-unit-test) @ oom-certservice --- 23:21:10 [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/w/workspace/oom-platform-cert-service-maven-clm-master/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** 23:21:10 [INFO] 23:21:10 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-license) @ oom-certservice --- 23:21:12 [INFO] Starting audit... 23:21:12 Audit done. 23:21:12 [INFO] 23:21:12 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-java-style) @ oom-certservice --- 23:21:12 [INFO] Starting audit... 23:21:12 Audit done. 23:21:12 [INFO] 23:21:12 [INFO] --- jacoco-maven-plugin:0.8.5:report (post-unit-test) @ oom-certservice --- 23:21:12 [INFO] Skipping JaCoCo execution due to missing execution data file. 23:21:12 [INFO] 23:21:12 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-integration-test) @ oom-certservice --- 23:21:12 [INFO] failsafeArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/w/workspace/oom-platform-cert-service-maven-clm-master/target/code-coverage/jacoco-it.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** 23:21:12 [INFO] 23:21:12 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ oom-certservice --- 23:21:13 [INFO] No tests to run. 23:21:13 [INFO] 23:21:13 [INFO] --- jacoco-maven-plugin:0.8.5:report (post-integration-test) @ oom-certservice --- 23:21:13 [INFO] Skipping JaCoCo execution due to missing execution data file. 23:21:13 [INFO] 23:21:13 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ oom-certservice --- 23:21:13 [INFO] 23:21:13 [INFO] --- maven-install-plugin:2.4:install (default-install) @ oom-certservice --- 23:21:13 [INFO] Installing /w/workspace/oom-platform-cert-service-maven-clm-master/pom.xml to /tmp/r/org/onap/oom/platform/cert-service/oom-certservice/2.6.0-SNAPSHOT/oom-certservice-2.6.0-SNAPSHOT.pom 23:21:13 [INFO] 23:21:13 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ oom-certservice --- 23:21:15 [INFO] org.onap.oom.platform.cert-service:oom-certservice:pom:2.6.0-SNAPSHOT 23:21:15 [INFO] 23:21:15 [INFO] --- clm-maven-plugin:2.47.14-01:index (default-cli) @ oom-certservice --- 23:21:15 [INFO] Saved module information to /w/workspace/oom-platform-cert-service-maven-clm-master/target/sonatype-clm/module.xml 23:21:15 [INFO] 23:21:15 [INFO] -------< org.onap.oom.platform.cert-service:oom-certservice-api >------- 23:21:15 [INFO] Building oom-certservice-api 2.6.0-SNAPSHOT [2/4] 23:21:15 [INFO] --------------------------------[ jar ]--------------------------------- 23:21:19 [INFO] 23:21:19 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oom-certservice-api --- 23:21:19 [INFO] 23:21:19 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ oom-certservice-api --- 23:21:19 [INFO] 23:21:19 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ oom-certservice-api --- 23:21:19 [INFO] 23:21:19 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-unit-test) @ oom-certservice-api --- 23:21:19 [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/** 23:21:19 [INFO] 23:21:19 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-license) @ oom-certservice-api --- 23:21:19 [INFO] Starting audit... 23:21:19 Audit done. 23:21:19 [INFO] 23:21:19 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-java-style) @ oom-certservice-api --- 23:21:20 [INFO] Starting audit... 23:21:20 Audit done. 23:21:20 [INFO] 23:21:20 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oom-certservice-api --- 23:21:20 [INFO] Using 'UTF-8' encoding to copy filtered resources. 23:21:20 [INFO] Copying 2 resources 23:21:20 [INFO] 23:21:20 [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ oom-certservice-api --- 23:21:20 [INFO] Changes detected - recompiling the module! 23:21:20 [INFO] Compiling 66 source files to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/classes 23:21:22 [INFO] /w/workspace/oom-platform-cert-service-maven-clm-master/certService/src/main/java/org/onap/oom/certservice/cmpv2client/validation/CmpCertificationValidator.java: Some input files use or override a deprecated API. 23:21:22 [INFO] /w/workspace/oom-platform-cert-service-maven-clm-master/certService/src/main/java/org/onap/oom/certservice/cmpv2client/validation/CmpCertificationValidator.java: Recompile with -Xlint:deprecation for details. 23:21:22 [INFO] 23:21:22 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oom-certservice-api --- 23:21:22 [INFO] Using 'UTF-8' encoding to copy filtered resources. 23:21:22 [INFO] Copying 12 resources 23:21:22 [INFO] 23:21:22 [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ oom-certservice-api --- 23:21:22 [INFO] Changes detected - recompiling the module! 23:21:22 [INFO] Compiling 36 source files to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/test-classes 23:21:23 [INFO] 23:21:23 [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ oom-certservice-api --- 23:21:23 [INFO] 23:21:23 [INFO] ------------------------------------------------------- 23:21:23 [INFO] T E S T S 23:21:23 [INFO] ------------------------------------------------------- 23:21:25 [INFO] Running org.onap.oom.certservice.CertServiceApplicationTests 23:21:26 2024-06-22 23:21:26,430 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory. 23:21:26 2024-06-22 23:21:26.507 DEBUG 2884 [kground-preinit] o.j.l.LoggerProviders : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 23:21:27 2024-06-22 23:21:27,230 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory. 23:21:27 23:21:27 . ____ _ __ _ _ 23:21:27 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 23:21:27 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 23:21:27 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 23:21:27 ' |____| .__|_| |_|_| |_\__, | / / / / 23:21:27 =========|_|==============|___/=/_/_/_/ 23:21:27 :: Spring Boot :: (v2.5.8) 23:21:27 23:21:27 2024-06-22 23:21:27.436 INFO 2884 [ main] o.s.b.SpringApplication : No active profile set, falling back to default profiles: default 23:21:28 2024-06-22 23:21:28.524 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:28 2024-06-22 23:21:28.660 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file ./src/test/resources/cmpServers.json 23:21:29 2024-06-22 23:21:29.551 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.o.o.c.a.CertificationController: 23:21:29 {GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String) 23:21:29 {GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String) 23:21:29 2024-06-22 23:21:29.553 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.o.o.c.a.ReadinessController: 23:21:29 {GET [/ready], produces [application/json]}: checkReady() 23:21:29 2024-06-22 23:21:29.554 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.o.o.c.a.ReloadConfigController: 23:21:29 {GET [/reload], produces [application/json]}: reloadConfiguration() 23:21:29 2024-06-22 23:21:29.556 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.s.b.a.w.s.e.BasicErrorController: 23:21:29 { [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse) 23:21:29 { [/error]}: error(HttpServletRequest) 23:21:29 2024-06-22 23:21:29.562 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.s.a.OpenApiResource: 23:21:29 {GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String) 23:21:29 {GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String) 23:21:29 2024-06-22 23:21:29.564 DEBUG 2884 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:21:29 o.s.u.SwaggerWelcome: 23:21:29 {GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest) 23:21:29 {GET [/swagger-ui.html]}: redirectToUi(HttpServletRequest) 23:21:29 2024-06-22 23:21:29.592 DEBUG 2884 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 23:21:30 2024-06-22 23:21:30.458 DEBUG 2884 [ main] o.s.w.s.h.SimpleUrlHandlerMapping : 'resourceHandlerMapping' {/webjars/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]], /**=ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]], /**/swagger-ui/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]} 23:21:30 2024-06-22 23:21:30.957 INFO 2884 [ main] o.s.b.StartupInfoLogger : Started CertServiceApplicationTests in 4.781 seconds (JVM running for 7.031) 23:21:31 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.174 s - in org.onap.oom.certservice.CertServiceApplicationTests 23:21:31 [INFO] Running org.onap.oom.certservice.api.advice.ReloadConfigExceptionAdviceTest 23:21:31 2024-06-22 23:21:31.335 ERROR 2884 [ main] o.o.o.c.a.a.ReloadConfigExceptionAdvice : Exception occurred during CMP Servers configuration loading 23:21:31 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.onap.oom.certservice.api.advice.ReloadConfigExceptionAdviceTest 23:21:31 [INFO] Running org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest 23:21:31 2024-06-22 23:21:31.350 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred during decoding certificate sign request: 23:21:31 23:21:31 org.onap.oom.certservice.certification.exception.CsrDecryptionException: test csr exception 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenCsrDecryptionException(CertificationExceptionAdviceTest.java:55) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 2024-06-22 23:21:31.377 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred parsing cmp client response: 23:21:31 23:21:31 org.onap.oom.certservice.certification.exception.Cmpv2ClientAdapterException: java.lang.Throwable 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenModelTransformationInAdapterFail(CertificationExceptionAdviceTest.java:111) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 Caused by: java.lang.Throwable 23:21:31 ... 68 more 23:21:31 23:21:31 2024-06-22 23:21:31.387 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred selecting CMPv2 server: 23:21:31 23:21:31 org.onap.oom.certservice.certification.exception.Cmpv2ServerNotFoundException: test Ca exception 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenCaNameIsNotPresentInConfig(CertificationExceptionAdviceTest.java:83) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 2024-06-22 23:21:31.391 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred decoding certificate: 23:21:31 23:21:31 org.onap.oom.certservice.certification.exception.CertificateDecryptionException: Incorrect certificate, decryption failed 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithCertificateDecryptionMessage(CertificationExceptionAdviceTest.java:155) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 2024-06-22 23:21:31.394 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred calling cmp client: 23:21:31 23:21:31 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Calling CMPv2 client failed 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenCallingCmpClientFail(CertificationExceptionAdviceTest.java:97) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 2024-06-22 23:21:31.403 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : CMPv2 server returned following error: EJBCA fault 23:21:31 23:21:31 org.onap.oom.certservice.cmpv2client.exceptions.CmpServerException: EJBCA fault 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithCmpErrorMessage(CertificationExceptionAdviceTest.java:141) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 2024-06-22 23:21:31.409 ERROR 2884 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred during decoding key: 23:21:31 23:21:31 org.onap.oom.certservice.certification.exception.KeyDecryptionException: test pk exception 23:21:31 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenKeyDecryptionException(CertificationExceptionAdviceTest.java:69) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:31 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:31 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:31 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:31 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:31 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:31 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:31 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:31 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:31 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:31 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:31 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:31 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:31 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:31 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:31 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:31 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:31 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:31 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:31 23:21:31 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s - in org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest 23:21:31 [INFO] Running org.onap.oom.certservice.api.ReadinessControllerTest 23:21:31 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.275 s - in org.onap.oom.certservice.api.ReadinessControllerTest 23:21:31 [INFO] Running org.onap.oom.certservice.api.CertificationControllerTest 23:21:31 2024-06-22 23:21:31.718 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:21:31 2024-06-22 23:21:31.734 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: wrongTestCa 23:21:31 2024-06-22 23:21:31.737 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate update request for CA named: TestCa 23:21:31 2024-06-22 23:21:31.739 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:21:31 2024-06-22 23:21:31.741 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate update request for CA named: TestCa 23:21:31 2024-06-22 23:21:31.743 INFO 2884 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:21:31 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 s - in org.onap.oom.certservice.api.CertificationControllerTest 23:21:31 [INFO] Running org.onap.oom.certservice.api.ReloadConfigControllerTest 23:21:31 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.onap.oom.certservice.api.ReloadConfigControllerTest 23:21:31 [INFO] Running org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest 23:21:31 2024-06-22 23:21:31.974 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:31 2024-06-22 23:21:31.975 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:31 2024-06-22 23:21:31.981 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:31 2024-06-22 23:21:31.983 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:31 2024-06-22 23:21:31.986 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.024 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.027 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.027 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.029 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.046 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.048 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:21:32 2024-06-22 23:21:32.048 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.049 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.054 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:21:32 2024-06-22 23:21:32.054 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:21:32 2024-06-22 23:21:32.055 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.055 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.055 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.056 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.056 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.057 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.062 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.062 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.063 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.064 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=Linux-Foundation,O=ONAP,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.088 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 80 more 23:21:32 23:21:32 2024-06-22 23:21:32.147 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.148 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.148 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.148 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.148 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.152 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.153 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.153 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.153 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.161 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.162 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:21:32 2024-06-22 23:21:32.163 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.163 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.165 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:21:32 2024-06-22 23:21:32.166 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:21:32 2024-06-22 23:21:32.166 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.167 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.167 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.168 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.168 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.168 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.169 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.170 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.170 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.171 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=Linux-Foundation,O=ONAP,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.173 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:72) 23:21:32 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:59) 23:21:32 at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3120) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:212) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:192) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:139) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:107) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:442) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:21:32 at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:107) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:42) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 141 more 23:21:32 23:21:32 2024-06-22 23:21:32.184 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.185 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.185 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.185 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.185 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.189 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.190 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.190 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.190 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.195 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.196 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:21:32 2024-06-22 23:21:32.196 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.196 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.197 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:21:32 2024-06-22 23:21:32.197 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:21:32 2024-06-22 23:21:32.197 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.198 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.198 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.199 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.199 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.199 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.200 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.200 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.200 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.201 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=Linux-Foundation,O=ONAP,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.202 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:72) 23:21:32 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:59) 23:21:32 at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3120) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:212) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:192) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:139) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:107) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:442) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:21:32 at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:21:32 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:21:32 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:21:32 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:21:32 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:21:32 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:21:32 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:21:32 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:107) 23:21:32 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:42) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 141 more 23:21:32 23:21:32 2024-06-22 23:21:32.242 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.242 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.243 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.244 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.245 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.245 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.246 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.251 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.251 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.252 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.252 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.279 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.279 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: CERT_REP 23:21:32 2024-06-22 23:21:32.279 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.280 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.281 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : CMP response is protected by Password Base Mac Algorithm. Attempt to verify protection 23:21:32 2024-06-22 23:21:32.281 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying PasswordBased Protection of the Response. 23:21:32 2024-06-22 23:21:32.281 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.282 INFO 2884 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : Iteration count is: 1548 23:21:32 2024-06-22 23:21:32.282 INFO 2884 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : One Way Function type is: 1.3.14.3.2.26 23:21:32 2024-06-22 23:21:32.285 INFO 2884 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : Mac type is: 1.2.840.113549.2.9 23:21:32 2024-06-22 23:21:32.285 ERROR 2884 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : protectionBytes don't match passwordBasedProtection, authentication failed 23:21:32 2024-06-22 23:21:32.289 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.289 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.290 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.290 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.290 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.294 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.294 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.295 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.295 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.298 ERROR 2884 [ main] o.o.o.c.c.i.Cmpv2HttpClient : IOException error null, while trying to connect CA null 23:21:32 2024-06-22 23:21:32.300 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.304 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.304 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.305 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.305 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.305 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.309 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.309 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.309 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.309 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.313 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.313 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: 0 23:21:32 2024-06-22 23:21:32.313 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.314 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.314 ERROR 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : CMP response does not contain Protection Algorithm field 23:21:32 2024-06-22 23:21:32.320 ERROR 2884 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:21:32 23:21:32 java.lang.IllegalArgumentException: Illegal base64 character 20 23:21:32 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:21:32 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:21:32 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:21:32 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:21:32 at org.onap.oom.certservice.certification.conversion.OldCertificateModelFactory.createCertificateModel(OldCertificateModelFactory.java:60) 23:21:32 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModel(ClientTestData.java:68) 23:21:32 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModelWithWrongCert(ClientTestData.java:51) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldThrowCmpClientExceptionWhenCannotParseOldCertificate$3(Cmpv2ClientTest.java:243) 23:21:32 at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:62) 23:21:32 at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:58) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldThrowCmpClientExceptionWhenCannotParseOldCertificate(Cmpv2ClientTest.java:243) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 23:21:32 2024-06-22 23:21:32.323 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.324 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.324 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.324 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.324 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.328 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.328 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.328 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.328 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.332 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.333 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: CERT_REP 23:21:32 2024-06-22 23:21:32.333 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.333 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.334 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:21:32 2024-06-22 23:21:32.334 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:21:32 2024-06-22 23:21:32.335 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.335 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.335 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.336 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.336 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.336 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.337 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.337 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.337 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.338 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=new-onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.339 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230705101103GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCertificationRequest(CmpClientImpl.java:119) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230705101103GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 80 more 23:21:32 23:21:32 2024-06-22 23:21:32.345 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.345 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.345 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.345 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.345 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.349 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.349 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.349 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.350 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.355 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.355 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: 23 23:21:32 2024-06-22 23:21:32.355 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Error in the PkiMessage response: Failed to verify message using both Global Shared Secret and CMP RA Authentication Secret 23:21:32 2024-06-22 23:21:32.358 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:21:32 2024-06-22 23:21:32.359 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:21:32 2024-06-22 23:21:32.359 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:21:32 2024-06-22 23:21:32.359 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.359 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:21:32 2024-06-22 23:21:32.363 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:21:32 2024-06-22 23:21:32.363 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.364 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:21:32 2024-06-22 23:21:32.364 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.367 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:21:32 2024-06-22 23:21:32.367 INFO 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: INIT_REP 23:21:32 2024-06-22 23:21:32.367 DEBUG 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:21:32 2024-06-22 23:21:32.367 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.368 INFO 2884 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:21:32 2024-06-22 23:21:32.368 INFO 2884 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:21:32 2024-06-22 23:21:32.368 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.369 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.369 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.369 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.370 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.370 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.370 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.371 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.371 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.372 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.374 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 2024-06-22 23:21:32.404 ERROR 2884 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:21:32 23:21:32 java.lang.IllegalArgumentException: Illegal base64 character 20 23:21:32 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:21:32 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:21:32 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:21:32 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:21:32 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:21:32 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:21:32 at org.onap.oom.certservice.certification.conversion.OldCertificateModelFactory.createCertificateModel(OldCertificateModelFactory.java:68) 23:21:32 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModel(ClientTestData.java:68) 23:21:32 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModelWithWrongPrivateKey(ClientTestData.java:55) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldThrowCmpClientExceptionWhenCannotParseOldPrivateKey$2(Cmpv2ClientTest.java:229) 23:21:32 at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:62) 23:21:32 at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:58) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldThrowCmpClientExceptionWhenCannotParseOldPrivateKey(Cmpv2ClientTest.java:229) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 23:21:32 [ERROR] Tests run: 12, Failures: 2, Errors: 2, Skipped: 0, Time elapsed: 0.652 s <<< FAILURE! - in org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse Time elapsed: 0.332 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(OldCertificateModel)[1] Time elapsed: 0.043 s <<< FAILURE! 23:21:32 org.opentest4j.AssertionFailedError: Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(OldCertificateModel)[2] Time elapsed: 0.024 s <<< FAILURE! 23:21:32 org.opentest4j.AssertionFailedError: Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest Time elapsed: 0.019 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230705101103GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230705101103GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:21:32 23:21:32 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.CmpMessageHelperTest 23:21:32 2024-06-22 23:21:32.410 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 2024-06-22 23:21:32.412 DEBUG 2884 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:21:32 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.onap.oom.certservice.cmpv2client.impl.CmpMessageHelperTest 23:21:32 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.protections.SignatureProtectionTest 23:21:32 2024-06-22 23:21:32.693 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.294 s - in org.onap.oom.certservice.cmpv2client.impl.protections.SignatureProtectionTest 23:21:32 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.protections.PasswordBasedProtectionTest 23:21:32 2024-06-22 23:21:32.724 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 2024-06-22 23:21:32.737 DEBUG 2884 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:21:32 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s - in org.onap.oom.certservice.cmpv2client.impl.protections.PasswordBasedProtectionTest 23:21:32 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest 23:21:32 2024-06-22 23:21:32.817 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.817 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.818 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.819 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.819 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.819 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.839 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.840 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.846 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.846 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.846 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.846 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.847 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.847 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.847 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.848 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.848 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.849 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.850 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.854 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.854 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.854 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.855 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.855 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.856 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.856 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.858 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 2024-06-22 23:21:32.880 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.880 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.880 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.881 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.881 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.881 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.882 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.882 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.882 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.882 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.884 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.888 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.888 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.888 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.889 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.889 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.889 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.890 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.890 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.890 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.890 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.891 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.891 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.891 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.892 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.896 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.896 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.896 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.897 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.897 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.897 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.897 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.898 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.902 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.902 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.902 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.903 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:21:32 23:21:32 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenNoIntermediateCertForEntityCertIsGiven$2(CmpResponseHelperTest.java:536) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:32 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenNoIntermediateCertForEntityCertIsGiven(CmpResponseHelperTest.java:534) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 23:21:32 2024-06-22 23:21:32.907 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.908 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.908 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.908 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:21:32 23:21:32 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenNoCaCertForEntityCertIsGivenAndOnlyExtraTrustAnchorIsReturned$0(CmpResponseHelperTest.java:485) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:32 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenNoCaCertForEntityCertIsGivenAndOnlyExtraTrustAnchorIsReturned(CmpResponseHelperTest.java:483) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 23:21:32 2024-06-22 23:21:32.911 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.911 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.911 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.912 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.912 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.912 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.913 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.914 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 2024-06-22 23:21:32.920 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.920 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.920 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.921 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.921 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.921 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.922 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=vid.onap.org as part of cert chain with certificate C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=intermediate.onap.org 23:21:32 2024-06-22 23:21:32.923 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:21:32 23:21:32 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:21:32 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:21:32 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:21:32 ... 75 more 23:21:32 23:21:32 2024-06-22 23:21:32.926 ERROR 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:21:32 23:21:32 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenBothExtraCertsAndCaPubsAreEmpty$1(CmpResponseHelperTest.java:509) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:32 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:32 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenBothExtraCertsAndCaPubsAreEmpty(CmpResponseHelperTest.java:507) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:32 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:32 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:32 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:32 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:32 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:32 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:32 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:32 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:32 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:32 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:32 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:32 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:32 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:32 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:32 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:32 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:32 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:32 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:32 23:21:32 2024-06-22 23:21:32.929 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.929 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.929 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.929 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.931 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 2024-06-22 23:21:32.936 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.936 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.936 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.937 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.938 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 2024-06-22 23:21:32.943 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.944 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.944 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.944 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:21:32 2024-06-22 23:21:32.944 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:21:32 2024-06-22 23:21:32.944 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:21:32 2024-06-22 23:21:32.945 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Verifying certificate CN=onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 2024-06-22 23:21:32.947 DEBUG 2884 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:21:32 Trust Anchor: [ 23:21:32 Trusted CA cert: [0] Version: 3 23:21:32 SerialNumber: 472336333671122567643763700887963352682399857883 23:21:32 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Start Date: Wed May 18 17:16:29 UTC 2022 23:21:32 Final Date: Mon May 17 17:16:28 UTC 2032 23:21:32 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:21:32 Public Key: RSA Public Key [a9:19:83:e0:42:cf:46:05:b3:9a:41:bf:be:44:cc:55:5f:f0:87:35],[56:66:d1:a4] 23:21:32 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:21:32 public exponent: 10001 23:21:32 23:21:32 Signature Algorithm: SHA256WITHRSA 23:21:32 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:21:32 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:21:32 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:21:32 a41256cc5f5ec93008954c899100141ded27325e 23:21:32 3bec35203d3a2843042649b6ced1e9344c110102 23:21:32 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:21:32 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:21:32 ea17b8e85baa35aee8379156e35433c122c512f3 23:21:32 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:21:32 0282765ebd7b263f2026952102953c03073def73 23:21:32 87042704e1aa37f5722a333ba1ed897c234672ea 23:21:32 af46abe51e44837f54c7800ee3f1364400ecd714 23:21:32 b47097921548e7e0e505084f7ad0881e7084c841 23:21:32 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:21:32 24f417627558e8ebdfeea4487ee829c16c890f97 23:21:32 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:21:32 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:21:32 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:21:32 f8a58941657e7890e265447b020e264828c48552 23:21:32 a1f19c34 23:21:32 Extensions: 23:21:32 critical(true) BasicConstraints: isCa(true) 23:21:32 critical(false) 2.5.29.35 value = Sequence 23:21:32 Tagged [CONTEXT 0] IMPLICIT 23:21:32 DER Octet String[20] 23:21:32 23:21:32 critical(false) 2.5.29.14 value = DER Octet String[20] 23:21:32 23:21:32 critical(true) KeyUsage: 0x86 23:21:32 23:21:32 23:21:32 Policy Tree: null 23:21:32 Subject Public Key: RSA Public Key [ac:d5:2f:a9:60:da:86:c5:4c:9d:5a:35:2f:d2:79:f7:65:04:7c:4a],[56:66:d1:a4] 23:21:32 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:21:32 public exponent: 10001 23:21:32 23:21:32 ] 23:21:32 [ERROR] Tests run: 14, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.209 s <<< FAILURE! - in org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.098 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate Time elapsed: 0.008 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.007 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.008 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate Time elapsed: 0.006 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:21:32 23:21:32 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.006 s <<< ERROR! 23:21:32 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:21:32 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:21:32 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:21:32 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:21:32 23:21:32 [INFO] Running org.onap.oom.certservice.certification.CertificationProviderTest 23:21:33 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 s - in org.onap.oom.certservice.certification.CertificationProviderTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.UpdateRequestTypeDetectorTest 23:21:33 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.onap.oom.certservice.certification.UpdateRequestTypeDetectorTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.model.CertificateDataTest 23:21:33 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.onap.oom.certservice.certification.model.CertificateDataTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.model.CsrModelTest 23:21:33 2024-06-22 23:21:33.148 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 2024-06-22 23:21:33.150 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s - in org.onap.oom.certservice.certification.model.CsrModelTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.CertificationResponseModelFactoryTest 23:21:33 2024-06-22 23:21:33.211 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:21:33 2024-06-22 23:21:33.215 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:21:33 2024-06-22 23:21:33.216 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:21:33 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:21:33 2024-06-22 23:21:33.223 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:21:33 Mock for CsrModel, hashCode: 593434530 23:21:33 2024-06-22 23:21:33.225 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have the same parameters. Preparing Key Update Request 23:21:33 2024-06-22 23:21:33.234 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:21:33 2024-06-22 23:21:33.235 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:21:33 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:21:33 2024-06-22 23:21:33.235 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:21:33 Mock for CsrModel, hashCode: 1012945516 23:21:33 2024-06-22 23:21:33.236 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have the same parameters. Preparing Key Update Request 23:21:33 2024-06-22 23:21:33.238 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:21:33 Mock for CsrModel, hashCode: 1969126004 23:21:33 2024-06-22 23:21:33.239 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:21:33 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:21:33 2024-06-22 23:21:33.239 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: TestCA, and certificate signing request: 23:21:33 Mock for CsrModel, hashCode: 1969126004 23:21:33 2024-06-22 23:21:33.243 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:21:33 Mock for CsrModel, hashCode: 1654105372 23:21:33 2024-06-22 23:21:33.244 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:21:33 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:21:33 2024-06-22 23:21:33.244 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: TestCA, and certificate signing request: 23:21:33 Mock for CsrModel, hashCode: 1654105372 23:21:33 2024-06-22 23:21:33.247 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:21:33 2024-06-22 23:21:33.247 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:21:33 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:21:33 2024-06-22 23:21:33.247 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:21:33 Mock for CsrModel, hashCode: 1559669320 23:21:33 2024-06-22 23:21:33.248 INFO 2884 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have different parameters. Preparing Certification Request 23:21:33 2024-06-22 23:21:33.250 DEBUG 2884 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:21:33 Mock for CsrModel, hashCode: 233433808 23:21:33 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s - in org.onap.oom.certservice.certification.CertificationResponseModelFactoryTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.CmpServersConfigLoaderTest 23:21:33 2024-06-22 23:21:33.495 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.512 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file ./src/test/resources/cmpServers.json 23:21:33 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 s - in org.onap.oom.certservice.certification.configuration.CmpServersConfigLoaderTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.violations.RequestTypeViolationTest 23:21:33 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.onap.oom.certservice.certification.configuration.validation.constraints.violations.RequestTypeViolationTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.violations.PortNumberViolationTest 23:21:33 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.onap.oom.certservice.certification.configuration.validation.constraints.violations.PortNumberViolationTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.Cmpv2UrlValidatorTest 23:21:33 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.onap.oom.certservice.certification.configuration.validation.constraints.Cmpv2UrlValidatorTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.Cmpv2ServersConfigurationValidatorTest 23:21:33 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in org.onap.oom.certservice.certification.configuration.validation.Cmpv2ServersConfigurationValidatorTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.CmpServersConfigTest 23:21:33 2024-06-22 23:21:33.821 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.822 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 2024-06-22 23:21:33.823 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.824 ERROR 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Exception occurred during CMP Servers configuration loading 23:21:33 2024-06-22 23:21:33.826 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:21:33 2024-06-22 23:21:33.827 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.828 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 2024-06-22 23:21:33.830 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:21:33 2024-06-22 23:21:33.831 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.831 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 2024-06-22 23:21:33.833 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:21:33 2024-06-22 23:21:33.833 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 2024-06-22 23:21:33.836 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:21:33 2024-06-22 23:21:33.836 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 2024-06-22 23:21:33.837 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:21:33 2024-06-22 23:21:33.837 INFO 2884 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:21:33 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.onap.oom.certservice.certification.configuration.CmpServersConfigTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.configuration.Cmpv2ServerProviderTest 23:21:33 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.oom.certservice.certification.configuration.Cmpv2ServerProviderTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.RsaContentSignerBuilderTest 23:21:33 2024-06-22 23:21:33.845 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.onap.oom.certservice.certification.conversion.RsaContentSignerBuilderTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.PemStringToCertificateConverterTest 23:21:33 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.onap.oom.certservice.certification.conversion.PemStringToCertificateConverterTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.PemObjectFactoryTest 23:21:33 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.onap.oom.certservice.certification.conversion.PemObjectFactoryTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.OldCertificateModelFactoryTest 23:21:33 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.onap.oom.certservice.certification.conversion.OldCertificateModelFactoryTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.X509CertificateBuilderTest 23:21:33 2024-06-22 23:21:33.915 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.onap.oom.certservice.certification.conversion.X509CertificateBuilderTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest 23:21:33 2024-06-22 23:21:33.931 ERROR 2884 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:21:33 23:21:33 java.lang.IllegalArgumentException: Illegal base64 character 20 23:21:33 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.decodeCsr(CsrModelFactory.java:51) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:44) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowCsrDecryptionExceptionWhenCsrIsNotInBase64Encoding$2(CsrModelFactoryTest.java:113) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:33 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowCsrDecryptionExceptionWhenCsrIsNotInBase64Encoding(CsrModelFactoryTest.java:111) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:33 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:33 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:33 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:33 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:33 23:21:33 2024-06-22 23:21:33.933 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 2024-06-22 23:21:33.934 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 2024-06-22 23:21:33.937 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 2024-06-22 23:21:33.937 ERROR 2884 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:21:33 23:21:33 java.lang.IllegalArgumentException: Illegal base64 character 20 23:21:33 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:45) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowKeyDecryptionExceptionWhenPkIsNotInBase64Encoding$3(CsrModelFactoryTest.java:132) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:33 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowKeyDecryptionExceptionWhenPkIsNotInBase64Encoding(CsrModelFactoryTest.java:130) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:33 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:33 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:33 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:33 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:33 23:21:33 2024-06-22 23:21:33.939 DEBUG 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:21:33 2024-06-22 23:21:33.939 ERROR 2884 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Exception occurred during creation of certification request: 23:21:33 23:21:33 java.io.IOException: corrupted stream - out of bounds length found: 803 >= 144 23:21:33 at org.bouncycastle.asn1.ASN1InputStream.readLength(ASN1InputStream.java:431) 23:21:33 at org.bouncycastle.asn1.ASN1InputStream.readLength(ASN1InputStream.java:105) 23:21:33 at org.bouncycastle.asn1.ASN1InputStream.readObject(ASN1InputStream.java:201) 23:21:33 at org.bouncycastle.asn1.ASN1Primitive.fromByteArray(ASN1Primitive.java:44) 23:21:33 at org.bouncycastle.pkcs.PKCS10CertificationRequest.parseBytes(Unknown Source) 23:21:33 at org.bouncycastle.pkcs.PKCS10CertificationRequest.<init>(Unknown Source) 23:21:33 at org.onap.oom.certservice.certification.conversion.Pkcs10CertificationRequestFactory.createPkcs10CertificationRequest(Pkcs10CertificationRequestFactory.java:39) 23:21:33 at java.base/java.util.Optional.flatMap(Optional.java:294) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.decodeCsr(CsrModelFactory.java:53) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:44) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowCsrDecryptionExceptionWhenCsrIsIncorrect$0(CsrModelFactoryTest.java:74) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:33 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:33 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowCsrDecryptionExceptionWhenCsrIsIncorrect(CsrModelFactoryTest.java:72) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:33 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:33 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:33 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:33 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:33 23:21:33 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest 23:21:33 2024-06-22 23:21:33.943 ERROR 2884 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:21:33 23:21:33 java.lang.IllegalArgumentException: Illegal base64 character 2d 23:21:33 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:21:33 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest.lambda$shouldThrowExceptionWhenPrivateKeyPemIsNotProperPrivateKey$0(StringBase64ToPrivateKeyConverterTest.java:81) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:21:33 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:21:33 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:21:33 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest.shouldThrowExceptionWhenPrivateKeyPemIsNotProperPrivateKey(StringBase64ToPrivateKeyConverterTest.java:80) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:21:33 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:21:33 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:21:33 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:21:33 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:21:33 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:21:33 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:21:33 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:21:33 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:21:33 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:21:33 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:21:33 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:21:33 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:21:33 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:21:33 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:21:33 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:21:33 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:21:33 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:21:33 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:21:33 23:21:33 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest 23:21:33 [INFO] Running org.onap.oom.certservice.certification.X509CertificateParserTest 23:21:33 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.onap.oom.certservice.certification.X509CertificateParserTest 23:21:34 [INFO] 23:21:34 [INFO] Results: 23:21:34 [INFO] 23:21:34 [ERROR] Failures: 23:21:34 [ERROR] Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat:217 Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:34 [ERROR] Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat:217 Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:21:34 [ERROR] Errors: 23:21:34 [ERROR] Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest:194 » CmpClient 23:21:34 [ERROR] Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse:165 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:428 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate:457 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate:328 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:302 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate:401 » CmpClient 23:21:34 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:355 » CmpClient 23:21:34 [INFO] 23:21:34 [ERROR] Tests run: 155, Failures: 2, Errors: 8, Skipped: 0 23:21:34 [INFO] 23:21:34 [INFO] ------------------------------------------------------------------------ 23:21:34 [INFO] Reactor Summary: 23:21:34 [INFO] 23:21:34 [INFO] oom-certservice 2.6.0-SNAPSHOT ..................... SUCCESS [ 7.467 s] 23:21:34 [INFO] oom-certservice-api ................................ FAILURE [ 18.913 s] 23:21:34 [INFO] oom-certservice-post-processor ..................... SKIPPED 23:21:34 [INFO] oom-certservice-k8s-external-provider 2.6.0-SNAPSHOT SKIPPED 23:21:34 [INFO] ------------------------------------------------------------------------ 23:21:34 [INFO] BUILD FAILURE 23:21:34 [INFO] ------------------------------------------------------------------------ 23:21:34 [INFO] Total time: 31.014 s 23:21:34 [INFO] Finished at: 2024-06-22T23:21:34Z 23:21:34 [INFO] ------------------------------------------------------------------------ 23:21:34 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project oom-certservice-api: There are test failures. 23:21:34 [ERROR] 23:21:34 [ERROR] Please refer to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/surefire-reports for the individual test results. 23:21:34 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 23:21:34 [ERROR] -> [Help 1] 23:21:34 [ERROR] 23:21:34 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 23:21:34 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 23:21:34 [ERROR] 23:21:34 [ERROR] For more information about the errors and possible solutions, please read the following articles: 23:21:34 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 23:21:34 [ERROR] 23:21:34 [ERROR] After correcting the problems, you can resume the build with the command 23:21:34 [ERROR] mvn <goals> -rf :oom-certservice-api 23:21:34 Build step 'Execute shell' marked build as failure 23:21:34 $ ssh-agent -k 23:21:34 unset SSH_AUTH_SOCK; 23:21:34 unset SSH_AGENT_PID; 23:21:34 echo Agent pid 2093 killed; 23:21:34 [ssh-agent] Stopped. 23:21:34 [PostBuildScript] - [INFO] Executing post build scripts. 23:21:34 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins11838288292814467671.sh 23:21:34 ---> sysstat.sh 23:21:35 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins6517319998481535329.sh 23:21:35 ---> package-listing.sh 23:21:35 ++ facter osfamily 23:21:35 ++ tr '[:upper:]' '[:lower:]' 23:21:35 + OS_FAMILY=debian 23:21:35 + workspace=/w/workspace/oom-platform-cert-service-maven-clm-master 23:21:35 + START_PACKAGES=/tmp/packages_start.txt 23:21:35 + END_PACKAGES=/tmp/packages_end.txt 23:21:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:21:35 + PACKAGES=/tmp/packages_start.txt 23:21:35 + '[' /w/workspace/oom-platform-cert-service-maven-clm-master ']' 23:21:35 + PACKAGES=/tmp/packages_end.txt 23:21:35 + case "${OS_FAMILY}" in 23:21:35 + dpkg -l 23:21:35 + grep '^ii' 23:21:35 + '[' -f /tmp/packages_start.txt ']' 23:21:35 + '[' -f /tmp/packages_end.txt ']' 23:21:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:21:35 + '[' /w/workspace/oom-platform-cert-service-maven-clm-master ']' 23:21:35 + mkdir -p /w/workspace/oom-platform-cert-service-maven-clm-master/archives/ 23:21:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oom-platform-cert-service-maven-clm-master/archives/ 23:21:35 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins5928396016984035865.sh 23:21:35 ---> capture-instance-metadata.sh 23:21:35 Setup pyenv: 23:21:35 system 23:21:35 3.8.13 23:21:35 3.9.13 23:21:35 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:21:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bRe2 from file:/tmp/.os_lf_venv 23:21:36 lf-activate-venv(): INFO: Installing: lftools 23:21:44 lf-activate-venv(): INFO: Adding /tmp/venv-bRe2/bin to PATH 23:21:44 INFO: Running in OpenStack, capturing instance metadata 23:21:44 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins3185425608417088155.sh 23:21:44 provisioning config files... 23:21:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config14727046235990900205tmp 23:21:44 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 23:21:44 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 23:21:44 [EnvInject] - Injecting environment variables from a build step. 23:21:44 [EnvInject] - Injecting as environment variables the properties content 23:21:44 SERVER_ID=logs 23:21:44 23:21:44 [EnvInject] - Variables injected successfully. 23:21:44 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins9715951173407115123.sh 23:21:44 ---> create-netrc.sh 23:21:44 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins7140852055215156868.sh 23:21:44 ---> python-tools-install.sh 23:21:44 Setup pyenv: 23:21:44 system 23:21:44 3.8.13 23:21:44 3.9.13 23:21:44 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:21:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bRe2 from file:/tmp/.os_lf_venv 23:21:45 lf-activate-venv(): INFO: Installing: lftools 23:21:53 lf-activate-venv(): INFO: Adding /tmp/venv-bRe2/bin to PATH 23:21:53 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins5393660434196309832.sh 23:21:53 ---> sudo-logs.sh 23:21:53 Archiving 'sudo' log.. 23:21:53 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins12097970143168965331.sh 23:21:53 ---> job-cost.sh 23:21:53 Setup pyenv: 23:21:53 system 23:21:53 3.8.13 23:21:53 3.9.13 23:21:53 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:21:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bRe2 from file:/tmp/.os_lf_venv 23:21:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 23:21:58 lf-activate-venv(): INFO: Adding /tmp/venv-bRe2/bin to PATH 23:21:58 INFO: No Stack... 23:21:58 INFO: Retrieving Pricing Info for: v3-standard-8 23:21:58 INFO: Archiving Costs 23:21:58 [oom-platform-cert-service-maven-clm-master] $ /bin/bash -l /tmp/jenkins10034350943240996459.sh 23:21:58 ---> logs-deploy.sh 23:21:58 Setup pyenv: 23:21:58 system 23:21:58 3.8.13 23:21:58 3.9.13 23:21:58 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:21:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bRe2 from file:/tmp/.os_lf_venv 23:21:59 lf-activate-venv(): INFO: Installing: lftools 23:22:06 lf-activate-venv(): INFO: Adding /tmp/venv-bRe2/bin to PATH 23:22:06 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/oom-platform-cert-service-maven-clm-master/213 23:22:06 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 23:22:07 Archives upload complete. 23:22:07 INFO: archiving logs to Nexus 23:22:08 ---> uname -a: 23:22:08 Linux prd-ubuntu1804-docker-8c-8g-18761 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 23:22:08 23:22:08 23:22:08 ---> lscpu: 23:22:08 Architecture: x86_64 23:22:08 CPU op-mode(s): 32-bit, 64-bit 23:22:08 Byte Order: Little Endian 23:22:08 CPU(s): 8 23:22:08 On-line CPU(s) list: 0-7 23:22:08 Thread(s) per core: 1 23:22:08 Core(s) per socket: 1 23:22:08 Socket(s): 8 23:22:08 NUMA node(s): 1 23:22:08 Vendor ID: AuthenticAMD 23:22:08 CPU family: 23 23:22:08 Model: 49 23:22:08 Model name: AMD EPYC-Rome Processor 23:22:08 Stepping: 0 23:22:08 CPU MHz: 2800.000 23:22:08 BogoMIPS: 5600.00 23:22:08 Virtualization: AMD-V 23:22:08 Hypervisor vendor: KVM 23:22:08 Virtualization type: full 23:22:08 L1d cache: 32K 23:22:08 L1i cache: 32K 23:22:08 L2 cache: 512K 23:22:08 L3 cache: 16384K 23:22:08 NUMA node0 CPU(s): 0-7 23:22:08 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 23:22:08 23:22:08 23:22:08 ---> nproc: 23:22:08 8 23:22:08 23:22:08 23:22:08 ---> df -h: 23:22:08 Filesystem Size Used Avail Use% Mounted on 23:22:08 udev 16G 0 16G 0% /dev 23:22:08 tmpfs 3.2G 708K 3.2G 1% /run 23:22:08 /dev/vda1 155G 11G 145G 7% / 23:22:08 tmpfs 16G 0 16G 0% /dev/shm 23:22:08 tmpfs 5.0M 0 5.0M 0% /run/lock 23:22:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:22:08 /dev/vda15 105M 4.4M 100M 5% /boot/efi 23:22:08 tmpfs 3.2G 0 3.2G 0% /run/user/1001 23:22:08 23:22:08 23:22:08 ---> free -m: 23:22:08 total used free shared buff/cache available 23:22:08 Mem: 32167 843 29099 0 2223 30899 23:22:08 Swap: 1023 0 1023 23:22:08 23:22:08 23:22:08 ---> ip addr: 23:22:08 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 23:22:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:22:08 inet 127.0.0.1/8 scope host lo 23:22:08 valid_lft forever preferred_lft forever 23:22:08 inet6 ::1/128 scope host 23:22:08 valid_lft forever preferred_lft forever 23:22:08 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1458 qdisc mq state UP group default qlen 1000 23:22:08 link/ether fa:16:3e:1e:77:72 brd ff:ff:ff:ff:ff:ff 23:22:08 inet 10.30.106.254/23 brd 10.30.107.255 scope global dynamic ens3 23:22:08 valid_lft 86236sec preferred_lft 86236sec 23:22:08 inet6 fe80::f816:3eff:fe1e:7772/64 scope link 23:22:08 valid_lft forever preferred_lft forever 23:22:08 3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 23:22:08 link/ether 02:42:e3:5a:2a:20 brd ff:ff:ff:ff:ff:ff 23:22:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:22:08 valid_lft forever preferred_lft forever 23:22:08 23:22:08 23:22:08 ---> sar -b -r -n DEV: 23:22:08 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18761) 06/22/24 _x86_64_ (8 CPU) 23:22:08 23:22:08 23:19:27 LINUX RESTART (8 CPU) 23:22:08 23:22:08 23:20:02 tps rtps wtps bread/s bwrtn/s 23:22:08 23:21:01 277.17 41.99 235.18 1860.02 28566.82 23:22:08 23:22:01 147.98 16.86 131.11 673.89 34388.94 23:22:08 Average: 212.03 29.32 182.71 1261.97 31502.34 23:22:08 23:22:08 23:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:22:08 23:21:01 30070524 31725400 2868696 8.71 74572 1886072 1338860 3.94 845644 1720964 219020 23:22:08 23:22:01 29821356 31663940 3117864 9.47 85176 2056856 1396420 4.11 976380 1828320 19524 23:22:08 Average: 29945940 31694670 2993280 9.09 79874 1971464 1367640 4.02 911012 1774642 119272 23:22:08 23:22:08 23:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:22:08 23:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:22:08 23:21:01 ens3 115.81 80.88 1135.61 28.44 0.00 0.00 0.00 0.00 23:22:08 23:21:01 lo 1.42 1.42 0.17 0.17 0.00 0.00 0.00 0.00 23:22:08 23:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:22:08 23:22:01 ens3 486.55 319.06 2322.50 95.56 0.00 0.00 0.00 0.00 23:22:08 23:22:01 lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 23:22:08 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:22:08 Average: ens3 302.74 200.97 1734.04 62.28 0.00 0.00 0.00 0.00 23:22:08 Average: lo 1.19 1.19 0.13 0.13 0.00 0.00 0.00 0.00 23:22:08 23:22:08 23:22:08 ---> sar -P ALL: 23:22:08 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18761) 06/22/24 _x86_64_ (8 CPU) 23:22:08 23:22:08 23:19:27 LINUX RESTART (8 CPU) 23:22:08 23:22:08 23:20:02 CPU %user %nice %system %iowait %steal %idle 23:22:08 23:21:01 all 10.04 0.00 0.91 2.72 0.04 86.28 23:22:08 23:21:01 0 24.55 0.00 1.41 1.39 0.05 72.60 23:22:08 23:21:01 1 17.30 0.00 1.34 0.83 0.03 80.50 23:22:08 23:21:01 2 24.46 0.00 1.51 0.65 0.05 73.32 23:22:08 23:21:01 3 7.88 0.00 0.83 0.69 0.05 90.54 23:22:08 23:21:01 4 0.90 0.00 0.61 1.03 0.03 97.42 23:22:08 23:21:01 5 1.48 0.00 0.80 16.06 0.10 81.56 23:22:08 23:21:01 6 2.26 0.00 0.59 1.14 0.03 95.98 23:22:08 23:21:01 7 1.56 0.00 0.19 0.02 0.02 98.22 23:22:08 23:22:01 all 25.08 0.00 1.11 1.46 0.06 72.28 23:22:08 23:22:01 0 38.31 0.00 2.02 1.29 0.07 58.31 23:22:08 23:22:01 1 25.37 0.00 1.15 0.22 0.05 73.21 23:22:08 23:22:01 2 29.03 0.00 1.12 0.35 0.08 69.41 23:22:08 23:22:01 3 27.60 0.00 0.82 0.02 0.05 71.52 23:22:08 23:22:01 4 18.85 0.00 0.80 4.12 0.07 76.16 23:22:08 23:22:01 5 16.30 0.00 0.74 3.64 0.03 79.29 23:22:08 23:22:01 6 23.48 0.00 1.12 0.13 0.07 75.20 23:22:08 23:22:01 7 21.70 0.00 1.14 1.94 0.05 75.18 23:22:08 Average: all 17.62 0.00 1.01 2.09 0.05 79.23 23:22:08 Average: 0 31.48 0.00 1.72 1.34 0.06 65.41 23:22:08 Average: 1 21.37 0.00 1.25 0.52 0.04 76.82 23:22:08 Average: 2 26.77 0.00 1.32 0.50 0.07 71.35 23:22:08 Average: 3 17.81 0.00 0.82 0.35 0.05 80.96 23:22:08 Average: 4 9.94 0.00 0.71 2.59 0.05 86.72 23:22:08 Average: 5 8.96 0.00 0.77 9.80 0.07 80.41 23:22:08 Average: 6 12.95 0.00 0.86 0.63 0.05 85.51 23:22:08 Average: 7 11.69 0.00 0.66 0.98 0.03 86.63 23:22:08 23:22:08 23:22:08