23:20:58 Started by timer 23:20:58 Running as SYSTEM 23:20:58 [EnvInject] - Loading node environment variables. 23:20:58 Building remotely on prd-ubuntu1804-docker-8c-8g-4537 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/oom-platform-cert-service-maven-clm-master 23:20:58 [ssh-agent] Looking for ssh-agent implementation... 23:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:58 $ ssh-agent 23:20:58 SSH_AUTH_SOCK=/tmp/ssh-YklGfDkY3tXz/agent.2109 23:20:58 SSH_AGENT_PID=2111 23:20:58 [ssh-agent] Started. 23:20:58 Running ssh-add (command line suppressed) 23:20:58 Identity added: /w/workspace/oom-platform-cert-service-maven-clm-master@tmp/private_key_3074024478195094750.key (/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/private_key_3074024478195094750.key) 23:20:58 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 23:20:58 The recommended git tool is: NONE 23:21:00 using credential onap-jenkins-ssh 23:21:00 Wiping out workspace first. 23:21:00 Cloning the remote Git repository 23:21:00 Cloning repository git://cloud.onap.org/mirror/oom/platform/cert-service 23:21:00 > git init /w/workspace/oom-platform-cert-service-maven-clm-master # timeout=10 23:21:00 Fetching upstream changes from git://cloud.onap.org/mirror/oom/platform/cert-service 23:21:00 > git --version # timeout=10 23:21:00 > git --version # 'git version 2.17.1' 23:21:00 using GIT_SSH to set credentials Gerrit user 23:21:00 Verifying host key using manually-configured host key entries 23:21:00 > git fetch --tags --progress -- git://cloud.onap.org/mirror/oom/platform/cert-service +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:03 > git config remote.origin.url git://cloud.onap.org/mirror/oom/platform/cert-service # timeout=10 23:21:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:03 Avoid second fetch 23:21:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 23:21:03 Checking out Revision 239e162ccb853328211c4be671cce32359406b7a (refs/remotes/origin/master) 23:21:03 > git config core.sparsecheckout # timeout=10 23:21:03 > git checkout -f 239e162ccb853328211c4be671cce32359406b7a # timeout=10 23:21:03 Commit message: "Set Python and Ubuntu versions in .readthedocs.yaml" 23:21:03 > git rev-list --no-walk 239e162ccb853328211c4be671cce32359406b7a # timeout=10 23:21:03 provisioning config files... 23:21:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 23:21:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 23:21:03 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins11130994414360139016.sh 23:21:03 ---> python-tools-install.sh 23:21:03 Setup pyenv: 23:21:03 * system (set by /opt/pyenv/version) 23:21:03 * 3.8.13 (set by /opt/pyenv/version) 23:21:03 * 3.9.13 (set by /opt/pyenv/version) 23:21:03 * 3.10.6 (set by /opt/pyenv/version) 23:21:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Yvtm 23:21:08 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 23:21:12 lf-activate-venv(): INFO: Installing: lftools 23:21:48 lf-activate-venv(): INFO: Adding /tmp/venv-Yvtm/bin to PATH 23:21:48 Generating Requirements File 23:22:24 Python 3.10.6 23:22:24 pip 23.3.1 from /tmp/venv-Yvtm/lib/python3.10/site-packages/pip (python 3.10) 23:22:25 appdirs==1.4.4 23:22:25 argcomplete==3.1.6 23:22:25 aspy.yaml==1.3.0 23:22:25 attrs==23.1.0 23:22:25 autopage==0.5.2 23:22:25 Babel==2.13.1 23:22:25 beautifulsoup4==4.12.2 23:22:25 boto3==1.29.6 23:22:25 botocore==1.32.6 23:22:25 bs4==0.0.1 23:22:25 cachetools==5.3.2 23:22:25 certifi==2023.11.17 23:22:25 cffi==1.16.0 23:22:25 cfgv==3.4.0 23:22:25 chardet==5.2.0 23:22:25 charset-normalizer==3.3.2 23:22:25 click==8.1.7 23:22:25 cliff==4.4.0 23:22:25 cmd2==2.4.3 23:22:25 cryptography==3.3.2 23:22:25 debtcollector==2.5.0 23:22:25 decorator==5.1.1 23:22:25 defusedxml==0.7.1 23:22:25 Deprecated==1.2.14 23:22:25 distlib==0.3.7 23:22:25 dnspython==2.4.2 23:22:25 docker==4.2.2 23:22:25 dogpile.cache==1.2.2 23:22:25 email-validator==2.1.0.post1 23:22:25 filelock==3.13.1 23:22:25 future==0.18.3 23:22:25 gitdb==4.0.11 23:22:25 GitPython==3.1.40 23:22:25 google-auth==2.23.4 23:22:25 httplib2==0.22.0 23:22:25 identify==2.5.32 23:22:25 idna==3.6 23:22:25 importlib-metadata==6.8.0 23:22:25 importlib-resources==1.5.0 23:22:25 iso8601==2.1.0 23:22:25 Jinja2==3.1.2 23:22:25 jmespath==1.0.1 23:22:25 jsonpatch==1.33 23:22:25 jsonpointer==2.4 23:22:25 jsonschema==4.20.0 23:22:25 jsonschema-specifications==2023.11.1 23:22:25 keystoneauth1==5.4.0 23:22:25 kubernetes==28.1.0 23:22:25 lftools==0.37.8 23:22:25 lxml==4.9.3 23:22:25 MarkupSafe==2.1.3 23:22:25 msgpack==1.0.7 23:22:25 multi-key-dict==2.0.3 23:22:25 munch==4.0.0 23:22:25 netaddr==0.9.0 23:22:25 netifaces==0.11.0 23:22:25 niet==1.4.2 23:22:25 nodeenv==1.8.0 23:22:25 oauth2client==4.1.3 23:22:25 oauthlib==3.2.2 23:22:25 openstacksdk==0.62.0 23:22:25 os-client-config==2.1.0 23:22:25 os-service-types==1.7.0 23:22:25 osc-lib==2.9.0 23:22:25 oslo.config==9.2.0 23:22:25 oslo.context==5.3.0 23:22:25 oslo.i18n==6.2.0 23:22:25 oslo.log==5.4.0 23:22:25 oslo.serialization==5.2.0 23:22:25 oslo.utils==6.3.0 23:22:25 packaging==23.2 23:22:25 pbr==6.0.0 23:22:25 platformdirs==4.0.0 23:22:25 prettytable==3.9.0 23:22:25 pyasn1==0.5.1 23:22:25 pyasn1-modules==0.3.0 23:22:25 pycparser==2.21 23:22:25 pygerrit2==2.0.15 23:22:25 PyGithub==2.1.1 23:22:25 pyinotify==0.9.6 23:22:25 PyJWT==2.8.0 23:22:25 PyNaCl==1.5.0 23:22:25 pyparsing==2.4.7 23:22:25 pyperclip==1.8.2 23:22:25 pyrsistent==0.20.0 23:22:25 python-cinderclient==9.4.0 23:22:25 python-dateutil==2.8.2 23:22:25 python-heatclient==3.3.0 23:22:25 python-jenkins==1.8.2 23:22:25 python-keystoneclient==5.2.0 23:22:25 python-magnumclient==4.3.0 23:22:25 python-novaclient==18.4.0 23:22:25 python-openstackclient==6.0.0 23:22:25 python-swiftclient==4.4.0 23:22:25 pytz==2023.3.post1 23:22:25 PyYAML==6.0.1 23:22:25 referencing==0.31.0 23:22:25 requests==2.31.0 23:22:25 requests-oauthlib==1.3.1 23:22:25 requestsexceptions==1.4.0 23:22:25 rfc3986==2.0.0 23:22:25 rpds-py==0.13.1 23:22:25 rsa==4.9 23:22:25 ruamel.yaml==0.18.5 23:22:25 ruamel.yaml.clib==0.2.8 23:22:25 s3transfer==0.7.0 23:22:25 simplejson==3.19.2 23:22:25 six==1.16.0 23:22:25 smmap==5.0.1 23:22:25 soupsieve==2.5 23:22:25 stevedore==5.1.0 23:22:25 tabulate==0.9.0 23:22:25 toml==0.10.2 23:22:25 tomlkit==0.12.3 23:22:25 tqdm==4.66.1 23:22:25 typing_extensions==4.8.0 23:22:25 tzdata==2023.3 23:22:25 urllib3==1.26.18 23:22:25 virtualenv==20.24.7 23:22:25 wcwidth==0.2.12 23:22:25 websocket-client==1.6.4 23:22:25 wrapt==1.16.0 23:22:25 xdg==6.0.0 23:22:25 xmltodict==0.13.0 23:22:25 yq==3.2.3 23:22:25 zipp==3.17.0 23:22:25 [oom-platform-cert-service-maven-clm-master] $ /bin/sh -xe /tmp/jenkins3344828221368769395.sh 23:22:25 + echo quiet=on 23:22:25 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-4537 23:22:26 [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:22:26 " -DNEXUS_IQ_STAGE=build -DMAVEN_PARAMS= -DGERRIT_PROJECT=oom/platform/cert-service --version 23:22:27 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) 23:22:27 Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 23:22:27 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 23:22:27 Default locale: en, platform encoding: UTF-8 23:22:27 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" 23:22:27 [oom-platform-cert-service-maven-clm-master] $ /bin/sh -xe /tmp/jenkins4894973563915163824.sh 23:22:27 + rm /home/jenkins/.wgetrc 23:22:27 [EnvInject] - Injecting environment variables from a build step. 23:22:27 [EnvInject] - Injecting as environment variables the properties content 23:22:27 SET_JDK_VERSION=openjdk11 23:22:27 GIT_URL="git://cloud.onap.org/mirror" 23:22:27 23:22:27 [EnvInject] - Variables injected successfully. 23:22:27 [oom-platform-cert-service-maven-clm-master] $ /bin/sh /tmp/jenkins13683947563477380239.sh 23:22:27 ---> update-java-alternatives.sh 23:22:27 ---> Updating Java version 23:22:27 ---> Ubuntu/Debian system detected 23:22:27 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 23:22:27 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 23:22:27 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 23:22:27 openjdk version "11.0.16" 2022-07-19 23:22:27 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) 23:22:27 OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) 23:22:27 JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 23:22:27 [EnvInject] - Injecting environment variables from a build step. 23:22:27 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 23:22:27 [EnvInject] - Variables injected successfully. 23:22:27 provisioning config files... 23:22:27 copy managed file [global-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config8644147494373264204tmp 23:22:27 copy managed file [oom-platform-cert-service-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config15418146490243978075tmp 23:22:27 [EnvInject] - Injecting environment variables from a build step. 23:22:27 [EnvInject] - Injecting as environment variables the properties content 23:22:27 MAVEN_GOALS=clean install 23:22:27 23:22:27 [EnvInject] - Variables injected successfully. 23:22:27 [oom-platform-cert-service-maven-clm-master] $ /bin/bash -l /tmp/jenkins4470408178061478220.sh 23:22:27 ---> common-variables.sh 23:22:27 --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:22:27 ---> sonatype-clm.sh 23:22:28 Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) 23:22:28 Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 23:22:28 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 23:22:28 Default locale: en, platform encoding: UTF-8 23:22:28 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" 23:22:28 [INFO] Scanning for projects... 23:22:32 [INFO] ------------------------------------------------------------------------ 23:22:32 [INFO] Reactor Build Order: 23:22:32 [INFO] 23:22:32 [INFO] oom-certservice [pom] 23:22:32 [INFO] oom-certservice-api [jar] 23:22:32 [INFO] oom-certservice-post-processor [jar] 23:22:32 [INFO] oom-certservice-k8s-external-provider [mvn-golang] 23:22:33 [INFO] 23:22:33 [INFO] ---------< org.onap.oom.platform.cert-service:oom-certservice >--------- 23:22:33 [INFO] Building oom-certservice 2.6.0-SNAPSHOT [1/4] 23:22:33 [INFO] --------------------------------[ pom ]--------------------------------- 23:22:33 [INFO] 23:22:33 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oom-certservice --- 23:22:34 [INFO] 23:22:34 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ oom-certservice --- 23:22:35 [INFO] 23:22:35 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ oom-certservice --- 23:22:35 [INFO] 23:22:35 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-unit-test) @ oom-certservice --- 23:22:36 [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:22:36 [INFO] 23:22:36 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-license) @ oom-certservice --- 23:22:38 [INFO] Starting audit... 23:22:38 Audit done. 23:22:38 [INFO] 23:22:38 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-java-style) @ oom-certservice --- 23:22:39 [INFO] Starting audit... 23:22:39 Audit done. 23:22:39 [INFO] 23:22:39 [INFO] --- jacoco-maven-plugin:0.8.5:report (post-unit-test) @ oom-certservice --- 23:22:39 [INFO] Skipping JaCoCo execution due to missing execution data file. 23:22:39 [INFO] 23:22:39 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-integration-test) @ oom-certservice --- 23:22:39 [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:22:39 [INFO] 23:22:39 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ oom-certservice --- 23:22:39 [INFO] No tests to run. 23:22:39 [INFO] 23:22:39 [INFO] --- jacoco-maven-plugin:0.8.5:report (post-integration-test) @ oom-certservice --- 23:22:39 [INFO] Skipping JaCoCo execution due to missing execution data file. 23:22:39 [INFO] 23:22:39 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ oom-certservice --- 23:22:39 [INFO] 23:22:39 [INFO] --- maven-install-plugin:2.4:install (default-install) @ oom-certservice --- 23:22:39 [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:22:39 [INFO] 23:22:39 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ oom-certservice --- 23:22:41 [INFO] org.onap.oom.platform.cert-service:oom-certservice:pom:2.6.0-SNAPSHOT 23:22:41 [INFO] 23:22:41 [INFO] --- clm-maven-plugin:2.41.0-02:index (default-cli) @ oom-certservice --- 23:22:41 WARNING: An illegal reflective access operation has occurred 23:22:41 WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/tmp/r/com/sonatype/clm/clm-maven-plugin/2.41.0-02/clm-maven-plugin-2.41.0-02.jar) to field java.util.Properties.defaults 23:22:41 WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields 23:22:41 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 23:22:41 WARNING: All illegal access operations will be denied in a future release 23:22:41 [INFO] Saved module information to /w/workspace/oom-platform-cert-service-maven-clm-master/target/sonatype-clm/module.xml 23:22:41 [INFO] 23:22:41 [INFO] -------< org.onap.oom.platform.cert-service:oom-certservice-api >------- 23:22:41 [INFO] Building oom-certservice-api 2.6.0-SNAPSHOT [2/4] 23:22:41 [INFO] --------------------------------[ jar ]--------------------------------- 23:22:46 [INFO] 23:22:46 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oom-certservice-api --- 23:22:46 [INFO] 23:22:46 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ oom-certservice-api --- 23:22:46 [INFO] 23:22:46 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ oom-certservice-api --- 23:22:46 [INFO] 23:22:46 [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (pre-unit-test) @ oom-certservice-api --- 23:22:46 [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:22:46 [INFO] 23:22:46 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-license) @ oom-certservice-api --- 23:22:46 [INFO] Starting audit... 23:22:46 Audit done. 23:22:46 [INFO] 23:22:46 [INFO] --- maven-checkstyle-plugin:3.1.0:check (onap-java-style) @ oom-certservice-api --- 23:22:47 [INFO] Starting audit... 23:22:47 Audit done. 23:22:47 [INFO] 23:22:47 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oom-certservice-api --- 23:22:47 [INFO] Using 'UTF-8' encoding to copy filtered resources. 23:22:47 [INFO] Copying 2 resources 23:22:47 [INFO] 23:22:47 [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ oom-certservice-api --- 23:22:48 [INFO] Changes detected - recompiling the module! 23:22:48 [INFO] Compiling 66 source files to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/classes 23:22:51 [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:22:51 [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:22:51 [INFO] 23:22:51 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oom-certservice-api --- 23:22:51 [INFO] Using 'UTF-8' encoding to copy filtered resources. 23:22:51 [INFO] Copying 12 resources 23:22:51 [INFO] 23:22:51 [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ oom-certservice-api --- 23:22:51 [INFO] Changes detected - recompiling the module! 23:22:51 [INFO] Compiling 36 source files to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/test-classes 23:22:52 [INFO] 23:22:52 [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ oom-certservice-api --- 23:22:52 [INFO] 23:22:52 [INFO] ------------------------------------------------------- 23:22:52 [INFO] T E S T S 23:22:52 [INFO] ------------------------------------------------------- 23:22:54 [INFO] Running org.onap.oom.certservice.CertServiceApplicationTests 23:22:56 2023-11-25 23:22:56,596 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:22:56 2023-11-25 23:22:56.712 DEBUG 2918 [kground-preinit] o.j.l.LoggerProviders : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 23:22:57 2023-11-25 23:22:57,602 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:22:57 23:22:57 . ____ _ __ _ _ 23:22:57 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 23:22:57 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 23:22:57 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 23:22:57 ' |____| .__|_| |_|_| |_\__, | / / / / 23:22:57 =========|_|==============|___/=/_/_/_/ 23:22:57 :: Spring Boot :: (v2.5.8) 23:22:57 23:22:57 2023-11-25 23:22:57.917 INFO 2918 [ main] o.s.b.SpringApplication : No active profile set, falling back to default profiles: default 23:22:59 2023-11-25 23:22:59.675 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:22:59 2023-11-25 23:22:59.887 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file ./src/test/resources/cmpServers.json 23:23:00 2023-11-25 23:23:00.927 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.o.o.c.a.CertificationController: 23:23:00 {GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String) 23:23:00 {GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String) 23:23:00 2023-11-25 23:23:00.933 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.o.o.c.a.ReadinessController: 23:23:00 {GET [/ready], produces [application/json]}: checkReady() 23:23:00 2023-11-25 23:23:00.937 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.o.o.c.a.ReloadConfigController: 23:23:00 {GET [/reload], produces [application/json]}: reloadConfiguration() 23:23:00 2023-11-25 23:23:00.941 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.s.b.a.w.s.e.BasicErrorController: 23:23:00 { [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse) 23:23:00 { [/error]}: error(HttpServletRequest) 23:23:00 2023-11-25 23:23:00.951 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.s.a.OpenApiResource: 23:23:00 {GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String) 23:23:00 {GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String) 23:23:00 2023-11-25 23:23:00.954 DEBUG 2918 [ main] o.s.w.s.h.AbstractHandlerMethodMapping : 23:23:00 o.s.u.SwaggerWelcome: 23:23:00 {GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest) 23:23:00 {GET [/swagger-ui.html]}: redirectToUi(HttpServletRequest) 23:23:00 2023-11-25 23:23:00.989 DEBUG 2918 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 23:23:02 2023-11-25 23:23:02.408 DEBUG 2918 [ 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:23:03 2023-11-25 23:23:03.068 INFO 2918 [ main] o.s.b.StartupInfoLogger : Started CertServiceApplicationTests in 6.894 seconds (JVM running for 9.979) 23:23:03 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.847 s - in org.onap.oom.certservice.CertServiceApplicationTests 23:23:03 [INFO] Running org.onap.oom.certservice.api.advice.ReloadConfigExceptionAdviceTest 23:23:03 2023-11-25 23:23:03.471 ERROR 2918 [ main] o.o.o.c.a.a.ReloadConfigExceptionAdvice : Exception occurred during CMP Servers configuration loading 23:23:03 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.onap.oom.certservice.api.advice.ReloadConfigExceptionAdviceTest 23:23:03 [INFO] Running org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest 23:23:03 2023-11-25 23:23:03.482 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred during decoding certificate sign request: 23:23:03 23:23:03 org.onap.oom.certservice.certification.exception.CsrDecryptionException: test csr exception 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenCsrDecryptionException(CertificationExceptionAdviceTest.java:55) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 2023-11-25 23:23:03.496 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred parsing cmp client response: 23:23:03 23:23:03 org.onap.oom.certservice.certification.exception.Cmpv2ClientAdapterException: java.lang.Throwable 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenModelTransformationInAdapterFail(CertificationExceptionAdviceTest.java:111) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 Caused by: java.lang.Throwable 23:23:03 ... 68 more 23:23:03 23:23:03 2023-11-25 23:23:03.501 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred selecting CMPv2 server: 23:23:03 23:23:03 org.onap.oom.certservice.certification.exception.Cmpv2ServerNotFoundException: test Ca exception 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenCaNameIsNotPresentInConfig(CertificationExceptionAdviceTest.java:83) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 2023-11-25 23:23:03.507 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred decoding certificate: 23:23:03 23:23:03 org.onap.oom.certservice.certification.exception.CertificateDecryptionException: Incorrect certificate, decryption failed 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithCertificateDecryptionMessage(CertificationExceptionAdviceTest.java:155) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 2023-11-25 23:23:03.510 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred calling cmp client: 23:23:03 23:23:03 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Calling CMPv2 client failed 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenCallingCmpClientFail(CertificationExceptionAdviceTest.java:97) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 2023-11-25 23:23:03.514 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : CMPv2 server returned following error: EJBCA fault 23:23:03 23:23:03 org.onap.oom.certservice.cmpv2client.exceptions.CmpServerException: EJBCA fault 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithCmpErrorMessage(CertificationExceptionAdviceTest.java:141) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 2023-11-25 23:23:03.517 ERROR 2918 [ main] o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred during decoding key: 23:23:03 23:23:03 org.onap.oom.certservice.certification.exception.KeyDecryptionException: test pk exception 23:23:03 at org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest.shouldReturnResponseEntityWithAppropriateErrorMessageWhenGivenKeyDecryptionException(CertificationExceptionAdviceTest.java:69) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:03 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:03 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:03 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:03 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:03 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:03 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:03 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:03 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:03 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:03 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:03 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:03 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:03 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:03 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:03 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:03 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:03 23:23:03 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s - in org.onap.oom.certservice.api.advice.CertificationExceptionAdviceTest 23:23:03 [INFO] Running org.onap.oom.certservice.api.ReadinessControllerTest 23:23:03 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 s - in org.onap.oom.certservice.api.ReadinessControllerTest 23:23:03 [INFO] Running org.onap.oom.certservice.api.CertificationControllerTest 23:23:03 2023-11-25 23:23:03.921 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:23:03 2023-11-25 23:23:03.937 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: wrongTestCa 23:23:03 2023-11-25 23:23:03.940 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate update request for CA named: TestCa 23:23:03 2023-11-25 23:23:03.943 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:23:03 2023-11-25 23:23:03.945 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate update request for CA named: TestCa 23:23:03 2023-11-25 23:23:03.947 INFO 2918 [ main] o.o.o.c.a.CertificationController : Received certificate initialization request for CA named: TestCa 23:23:03 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in org.onap.oom.certservice.api.CertificationControllerTest 23:23:03 [INFO] Running org.onap.oom.certservice.api.ReloadConfigControllerTest 23:23:03 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.onap.oom.certservice.api.ReloadConfigControllerTest 23:23:03 [INFO] Running org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest 23:23:04 2023-11-25 23:23:04.232 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.234 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.242 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.245 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.249 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.310 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.345 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.346 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.349 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.374 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.379 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:23:04 2023-11-25 23:23:04.379 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.382 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.389 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:23:04 2023-11-25 23:23:04.391 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:23:04 2023-11-25 23:23:04.392 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.392 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.392 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.394 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.394 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.395 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.404 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.405 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.405 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.407 DEBUG 2918 [ 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:23:04 2023-11-25 23:23:04.443 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:04 23:23:04 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:04 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:04 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:04 ... 80 more 23:23:04 23:23:04 2023-11-25 23:23:04.533 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.534 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.534 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.535 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.535 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.542 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.543 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.543 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.543 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.552 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.552 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:23:04 2023-11-25 23:23:04.553 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.553 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.554 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:23:04 2023-11-25 23:23:04.555 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:23:04 2023-11-25 23:23:04.555 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.555 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.556 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.556 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.556 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.557 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.557 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.558 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.558 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.559 DEBUG 2918 [ 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:23:04 2023-11-25 23:23:04.561 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:04 23:23:04 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:04 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:04 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:72) 23:23:04 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:59) 23:23:04 at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3120) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:212) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:192) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:139) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:107) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:442) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:23:04 at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:107) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:42) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:04 ... 141 more 23:23:04 23:23:04 2023-11-25 23:23:04.575 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.576 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.576 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.577 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.577 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.584 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.585 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.585 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.585 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.592 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.592 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: KEY_UPDATE_REP 23:23:04 2023-11-25 23:23:04.593 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.593 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.602 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:23:04 2023-11-25 23:23:04.603 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:23:04 2023-11-25 23:23:04.603 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.604 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.604 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.605 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.605 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.606 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.607 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.607 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.607 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.608 DEBUG 2918 [ 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:23:04 2023-11-25 23:23:04.611 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:04 23:23:04 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:04 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:04 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeKeyUpdateRequest(CmpClientImpl.java:111) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:72) 23:23:04 at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:59) 23:23:04 at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3120) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:212) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:192) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:139) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:107) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$11$1.accept(ReferencePipeline.java:442) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:23:04 at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 23:23:04 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) 23:23:04 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) 23:23:04 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 23:23:04 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) 23:23:04 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) 23:23:04 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 23:23:04 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:107) 23:23:04 at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:42) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:04 ... 141 more 23:23:04 23:23:04 2023-11-25 23:23:04.646 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.647 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.648 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.649 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.650 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.650 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.651 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.656 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.657 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.657 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.657 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.680 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.681 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: CERT_REP 23:23:04 2023-11-25 23:23:04.681 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.682 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.683 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : CMP response is protected by Password Base Mac Algorithm. Attempt to verify protection 23:23:04 2023-11-25 23:23:04.684 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying PasswordBased Protection of the Response. 23:23:04 2023-11-25 23:23:04.684 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.684 INFO 2918 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : Iteration count is: 1548 23:23:04 2023-11-25 23:23:04.685 INFO 2918 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : One Way Function type is: 1.3.14.3.2.26 23:23:04 2023-11-25 23:23:04.689 INFO 2918 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : Mac type is: 1.2.840.113549.2.9 23:23:04 2023-11-25 23:23:04.690 ERROR 2918 [ main] o.o.o.c.c.v.CmpResponseValidationHelper : protectionBytes don't match passwordBasedProtection, authentication failed 23:23:04 2023-11-25 23:23:04.695 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.696 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.696 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.696 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.697 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.701 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.702 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.702 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.702 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.706 ERROR 2918 [ main] o.o.o.c.c.i.Cmpv2HttpClient : IOException error null, while trying to connect CA null 23:23:04 2023-11-25 23:23:04.711 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.718 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.718 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.718 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.719 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.719 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.724 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.724 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.724 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.725 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.729 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.731 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: 0 23:23:04 2023-11-25 23:23:04.731 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.731 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.732 ERROR 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : CMP response does not contain Protection Algorithm field 23:23:04 2023-11-25 23:23:04.743 ERROR 2918 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:23:04 23:23:04 java.lang.IllegalArgumentException: Illegal base64 character 20 23:23:04 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:23:04 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:23:04 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:23:04 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:23:04 at org.onap.oom.certservice.certification.conversion.OldCertificateModelFactory.createCertificateModel(OldCertificateModelFactory.java:60) 23:23:04 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModel(ClientTestData.java:68) 23:23:04 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModelWithWrongCert(ClientTestData.java:51) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldThrowCmpClientExceptionWhenCannotParseOldCertificate$3(Cmpv2ClientTest.java:243) 23:23:04 at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:62) 23:23:04 at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:58) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldThrowCmpClientExceptionWhenCannotParseOldCertificate(Cmpv2ClientTest.java:243) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 23:23:04 2023-11-25 23:23:04.750 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.750 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.751 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.751 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.751 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.755 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.756 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.756 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.756 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.761 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.761 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: CERT_REP 23:23:04 2023-11-25 23:23:04.761 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.762 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.763 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:23:04 2023-11-25 23:23:04.763 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:23:04 2023-11-25 23:23:04.764 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.764 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.764 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.766 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.766 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.766 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.767 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.767 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.768 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.769 DEBUG 2918 [ 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:23:04 2023-11-25 23:23:04.771 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:04 23:23:04 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230705101103GMT+00:00 23:23:04 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:04 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:04 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.verifyReturnCertChainAndTrustStore(CmpClientImpl.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.checkCmpCertRepMessage(CmpClientImpl.java:194) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.retrieveCertificates(CmpClientImpl.java:175) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCmpRequest(CmpClientImpl.java:144) 23:23:04 at org.onap.oom.certservice.cmpv2client.impl.CmpClientImpl.executeCertificationRequest(CmpClientImpl.java:119) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230705101103GMT+00:00 23:23:04 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:04 ... 80 more 23:23:04 23:23:04 2023-11-25 23:23:04.779 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.779 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.779 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.780 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.780 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.784 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.784 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.784 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.785 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.789 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.789 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: 23 23:23:04 2023-11-25 23:23:04.789 ERROR 2918 [ 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:23:04 2023-11-25 23:23:04.795 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validate before creating Certificate Request for CA: Certification Authority 23:23:04 2023-11-25 23:23:04.796 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Validation completed successfully. 23:23:04 2023-11-25 23:23:04.796 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random integer 23:23:04 2023-11-25 23:23:04.796 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.796 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Optional Validity from Date objects 23:23:04 2023-11-25 23:23:04.800 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating a Pki Header Builder 23:23:04 2023-11-25 23:23:04.800 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.801 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating random array of bytes 23:23:04 2023-11-25 23:23:04.801 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.803 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Received response from Server 23:23:04 2023-11-25 23:23:04.803 INFO 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Response type is: INIT_REP 23:23:04 2023-11-25 23:23:04.804 DEBUG 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Verifying signature of the response. 23:23:04 2023-11-25 23:23:04.804 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:04 2023-11-25 23:23:04.804 INFO 2918 [ main] o.o.o.c.c.v.CmpCertificationValidator : Response status code: 0 23:23:04 2023-11-25 23:23:04.805 INFO 2918 [ main] o.o.o.c.c.i.CmpClientImpl : Verifying certificates returned as part of CertResponse. 23:23:04 2023-11-25 23:23:04.805 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.805 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.805 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.806 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.806 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.806 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.807 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:04 2023-11-25 23:23:04.807 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:04 2023-11-25 23:23:04.807 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:04 2023-11-25 23:23:04.808 DEBUG 2918 [ 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:23:04 2023-11-25 23:23:04.811 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:04 Trust Anchor: [ 23:23:04 Trusted CA cert: [0] Version: 3 23:23:04 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:04 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:04 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:04 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:04 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:04 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:23:04 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:04 public exponent: 10001 23:23:04 23:23:04 Signature Algorithm: SHA256WITHRSA 23:23:04 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:04 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:04 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:04 a41256cc5f5ec93008954c899100141ded27325e 23:23:04 3bec35203d3a2843042649b6ced1e9344c110102 23:23:04 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:04 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:04 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:04 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:04 0282765ebd7b263f2026952102953c03073def73 23:23:04 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:04 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:04 b47097921548e7e0e505084f7ad0881e7084c841 23:23:04 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:04 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:04 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:04 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:04 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:04 f8a58941657e7890e265447b020e264828c48552 23:23:04 a1f19c34 23:23:04 Extensions: 23:23:04 critical(true) BasicConstraints: isCa(true) 23:23:04 critical(false) 2.5.29.35 value = Sequence 23:23:04 Tagged [CONTEXT 0] IMPLICIT 23:23:04 DER Octet String[20] 23:23:04 23:23:04 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:04 23:23:04 critical(true) KeyUsage: 0x86 23:23:04 23:23:04 23:23:04 Policy Tree: null 23:23:04 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:23:04 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:04 public exponent: 10001 23:23:04 23:23:04 ] 23:23:04 2023-11-25 23:23:04.844 ERROR 2918 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:23:04 23:23:04 java.lang.IllegalArgumentException: Illegal base64 character 20 23:23:04 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:23:04 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:23:04 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:23:04 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:23:04 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:23:04 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:23:04 at org.onap.oom.certservice.certification.conversion.OldCertificateModelFactory.createCertificateModel(OldCertificateModelFactory.java:68) 23:23:04 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModel(ClientTestData.java:68) 23:23:04 at org.onap.oom.certservice.cmpv2client.ClientTestData.createOldCertificateModelWithWrongPrivateKey(ClientTestData.java:55) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldThrowCmpClientExceptionWhenCannotParseOldPrivateKey$2(Cmpv2ClientTest.java:229) 23:23:04 at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:62) 23:23:04 at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:58) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldThrowCmpClientExceptionWhenCannotParseOldPrivateKey(Cmpv2ClientTest.java:229) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:04 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:04 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:04 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:04 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:04 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:04 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:04 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:04 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:04 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:04 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:04 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:04 23:23:04 [ERROR] Tests run: 12, Failures: 2, Errors: 2, Skipped: 0, Time elapsed: 0.883 s <<< FAILURE! - in org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest 23:23:04 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse Time elapsed: 0.479 s <<< ERROR! 23:23:04 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:23:04 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse(Cmpv2ClientTest.java:165) 23:23:04 23:23:04 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(OldCertificateModel)[1] Time elapsed: 0.055 s <<< FAILURE! 23:23:04 org.opentest4j.AssertionFailedError: Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 23:23:04 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(OldCertificateModel)[2] Time elapsed: 0.044 s <<< FAILURE! 23:23:04 org.opentest4j.AssertionFailedError: Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230701151315GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.lambda$shouldNotThrowExceptionForPrivateKeyInExpectedFormat$1(Cmpv2ClientTest.java:218) 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat(Cmpv2ClientTest.java:217) 23:23:04 23:23:04 [ERROR] org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest Time elapsed: 0.027 s <<< ERROR! 23:23:04 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:23:04 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20230705101103GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:23:04 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20230705101103GMT+00:00 23:23:04 at org.onap.oom.certservice.cmpv2client.Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest(Cmpv2ClientTest.java:194) 23:23:04 23:23:04 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.CmpMessageHelperTest 23:23:04 2023-11-25 23:23:04.853 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 2023-11-25 23:23:04.858 DEBUG 2918 [ main] o.o.o.c.c.i.CmpMessageHelper : Generating Extensions from Subject Alternative Names 23:23:04 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.onap.oom.certservice.cmpv2client.impl.CmpMessageHelperTest 23:23:04 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.protections.SignatureProtectionTest 23:23:05 2023-11-25 23:23:05.191 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:05 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 s - in org.onap.oom.certservice.cmpv2client.impl.protections.SignatureProtectionTest 23:23:05 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.protections.PasswordBasedProtectionTest 23:23:05 2023-11-25 23:23:05.219 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:05 2023-11-25 23:23:05.235 DEBUG 2918 [ main] o.o.o.c.c.i.CmpUtil : Generating array of bytes representing PkiHeader and PkiBody 23:23:05 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.onap.oom.certservice.cmpv2client.impl.protections.PasswordBasedProtectionTest 23:23:05 [INFO] Running org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest 23:23:05 2023-11-25 23:23:05.328 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.328 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.329 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.329 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.329 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.329 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.330 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.332 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.337 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.337 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.337 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.338 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.338 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.338 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.339 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.339 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.339 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.340 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.341 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.346 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.346 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.346 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.347 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.347 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.347 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.348 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.349 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:05 Trust Anchor: [ 23:23:05 Trusted CA cert: [0] Version: 3 23:23:05 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:05 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:05 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:05 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 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:23:05 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:05 public exponent: 10001 23:23:05 23:23:05 Signature Algorithm: SHA256WITHRSA 23:23:05 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:05 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:05 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:05 a41256cc5f5ec93008954c899100141ded27325e 23:23:05 3bec35203d3a2843042649b6ced1e9344c110102 23:23:05 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:05 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:05 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:05 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:05 0282765ebd7b263f2026952102953c03073def73 23:23:05 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:05 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:05 b47097921548e7e0e505084f7ad0881e7084c841 23:23:05 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:05 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:05 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:05 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:05 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:05 f8a58941657e7890e265447b020e264828c48552 23:23:05 a1f19c34 23:23:05 Extensions: 23:23:05 critical(true) BasicConstraints: isCa(true) 23:23:05 critical(false) 2.5.29.35 value = Sequence 23:23:05 Tagged [CONTEXT 0] IMPLICIT 23:23:05 DER Octet String[20] 23:23:05 23:23:05 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:05 23:23:05 critical(true) KeyUsage: 0x86 23:23:05 23:23:05 23:23:05 Policy Tree: null 23:23:05 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:23:05 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:05 public exponent: 10001 23:23:05 23:23:05 ] 23:23:05 2023-11-25 23:23:05.375 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.375 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.376 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.377 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.377 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.377 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.378 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.378 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.378 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.379 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.380 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.388 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.389 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.390 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.391 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.391 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.391 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.392 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.393 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.393 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.394 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.394 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.395 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.396 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.399 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.405 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.406 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.406 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.407 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.407 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.407 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.408 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.410 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.415 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.415 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.415 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.416 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:23:05 23:23:05 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenNoIntermediateCertForEntityCertIsGiven$2(CmpResponseHelperTest.java:536) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:05 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenNoIntermediateCertForEntityCertIsGiven(CmpResponseHelperTest.java:534) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 23:23:05 2023-11-25 23:23:05.420 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.420 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.420 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.421 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:23:05 23:23:05 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenNoCaCertForEntityCertIsGivenAndOnlyExtraTrustAnchorIsReturned$0(CmpResponseHelperTest.java:485) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:05 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenNoCaCertForEntityCertIsGivenAndOnlyExtraTrustAnchorIsReturned(CmpResponseHelperTest.java:483) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 23:23:05 2023-11-25 23:23:05.425 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.425 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.426 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.426 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.426 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.427 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.427 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.429 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:05 Trust Anchor: [ 23:23:05 Trusted CA cert: [0] Version: 3 23:23:05 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:05 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:05 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:05 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 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:23:05 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:05 public exponent: 10001 23:23:05 23:23:05 Signature Algorithm: SHA256WITHRSA 23:23:05 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:05 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:05 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:05 a41256cc5f5ec93008954c899100141ded27325e 23:23:05 3bec35203d3a2843042649b6ced1e9344c110102 23:23:05 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:05 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:05 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:05 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:05 0282765ebd7b263f2026952102953c03073def73 23:23:05 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:05 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:05 b47097921548e7e0e505084f7ad0881e7084c841 23:23:05 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:05 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:05 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:05 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:05 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:05 f8a58941657e7890e265447b020e264828c48552 23:23:05 a1f19c34 23:23:05 Extensions: 23:23:05 critical(true) BasicConstraints: isCa(true) 23:23:05 critical(false) 2.5.29.35 value = Sequence 23:23:05 Tagged [CONTEXT 0] IMPLICIT 23:23:05 DER Octet String[20] 23:23:05 23:23:05 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:05 23:23:05 critical(true) KeyUsage: 0x86 23:23:05 23:23:05 23:23:05 Policy Tree: null 23:23:05 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:23:05 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:05 public exponent: 10001 23:23:05 23:23:05 ] 23:23:05 2023-11-25 23:23:05.436 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.436 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.436 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.437 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.437 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.437 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.438 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.439 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Invalid certificate or certificate not issued by specified CA: 23:23:05 23:23:05 org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(Unknown Source) 23:23:05 at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source) 23:23:05 at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:244) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject.checkValidity(Unknown Source) 23:23:05 ... 75 more 23:23:05 23:23:05 2023-11-25 23:23:05.443 ERROR 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Something was wrong with the supplied certificate 23:23:05 23:23:05 java.security.cert.CertificateException: Server response does not contain proper root CA certificate 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyCertificates(CmpResponseHelper.java:234) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verify(CmpResponseHelper.java:189) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.extractCertificationModel(CmpResponseHelper.java:151) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelper.verifyAndReturnCertChainAndTrustSTore(CmpResponseHelper.java:103) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.lambda$throwsExceptionWhenBothExtraCertsAndCaPubsAreEmpty$1(CmpResponseHelperTest.java:509) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:05 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:05 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.throwsExceptionWhenBothExtraCertsAndCaPubsAreEmpty(CmpResponseHelperTest.java:507) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:05 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:05 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:05 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:05 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:05 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:05 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:05 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:05 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:05 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:05 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:05 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:05 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:05 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:05 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:05 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:05 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:05 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:05 23:23:05 2023-11-25 23:23:05.447 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.447 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.447 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.448 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.450 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:05 Trust Anchor: [ 23:23:05 Trusted CA cert: [0] Version: 3 23:23:05 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:05 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:05 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:05 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 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:23:05 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:05 public exponent: 10001 23:23:05 23:23:05 Signature Algorithm: SHA256WITHRSA 23:23:05 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:05 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:05 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:05 a41256cc5f5ec93008954c899100141ded27325e 23:23:05 3bec35203d3a2843042649b6ced1e9344c110102 23:23:05 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:05 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:05 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:05 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:05 0282765ebd7b263f2026952102953c03073def73 23:23:05 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:05 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:05 b47097921548e7e0e505084f7ad0881e7084c841 23:23:05 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:05 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:05 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:05 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:05 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:05 f8a58941657e7890e265447b020e264828c48552 23:23:05 a1f19c34 23:23:05 Extensions: 23:23:05 critical(true) BasicConstraints: isCa(true) 23:23:05 critical(false) 2.5.29.35 value = Sequence 23:23:05 Tagged [CONTEXT 0] IMPLICIT 23:23:05 DER Octet String[20] 23:23:05 23:23:05 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:05 23:23:05 critical(true) KeyUsage: 0x86 23:23:05 23:23:05 23:23:05 Policy Tree: null 23:23:05 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:23:05 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:05 public exponent: 10001 23:23:05 23:23:05 ] 23:23:05 2023-11-25 23:23:05.457 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.457 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.457 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.458 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.459 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:05 Trust Anchor: [ 23:23:05 Trusted CA cert: [0] Version: 3 23:23:05 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:05 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:05 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:05 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 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:23:05 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:05 public exponent: 10001 23:23:05 23:23:05 Signature Algorithm: SHA256WITHRSA 23:23:05 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:05 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:05 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:05 a41256cc5f5ec93008954c899100141ded27325e 23:23:05 3bec35203d3a2843042649b6ced1e9344c110102 23:23:05 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:05 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:05 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:05 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:05 0282765ebd7b263f2026952102953c03073def73 23:23:05 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:05 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:05 b47097921548e7e0e505084f7ad0881e7084c841 23:23:05 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:05 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:05 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:05 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:05 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:05 f8a58941657e7890e265447b020e264828c48552 23:23:05 a1f19c34 23:23:05 Extensions: 23:23:05 critical(true) BasicConstraints: isCa(true) 23:23:05 critical(false) 2.5.29.35 value = Sequence 23:23:05 Tagged [CONTEXT 0] IMPLICIT 23:23:05 DER Octet String[20] 23:23:05 23:23:05 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:05 23:23:05 critical(true) KeyUsage: 0x86 23:23:05 23:23:05 23:23:05 Policy Tree: null 23:23:05 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:23:05 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:05 public exponent: 10001 23:23:05 23:23:05 ] 23:23:05 2023-11-25 23:23:05.466 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.466 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.466 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.467 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 23:23:05 2023-11-25 23:23:05.467 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Parsing X509Certificate from bytes with provider BC 23:23:05 2023-11-25 23:23:05.467 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Creating certificate Factory to generate certificate using provider BC 23:23:05 2023-11-25 23:23:05.468 DEBUG 2918 [ 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:23:05 2023-11-25 23:23:05.470 DEBUG 2918 [ main] o.o.o.c.c.i.CmpResponseHelper : Certificate verify result:PKIXCertPathValidatorResult: [ 23:23:05 Trust Anchor: [ 23:23:05 Trusted CA cert: [0] Version: 3 23:23:05 SerialNumber: 472336333671122567643763700887963352682399857883 23:23:05 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 Start Date: Wed May 18 17:16:29 UTC 2022 23:23:05 Final Date: Mon May 17 17:16:28 UTC 2032 23:23:05 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart 23:23:05 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:23:05 modulus: b394ce6c18937f7a59f9be3a28856a21029eb01dc75875a9d13bef8615548914f130c257b6150483f362499e751b672ecf3f4179111b32412641896d94fac9d8e148b0510cb2178f626f4ef0c2c3afcb9690de79de5e5b0df08d41c15d5ff9f065c21aa4d94f6747fd293321cdac7f0bdbd7b7a7d4a814d3cd2b88766971e75cb8daf88b5aa56edf5cc7af67cc14664b924d0630c207684818f9269dc927fa55fbe8124617ceb7a7ac7f4b824ffb297447cb9fc09aac66c0c82a60d949fa8e66c1d03a0c0111b7258348e50564d81ea9110b63d9c19f41f11e8084488380c48444c992f5a1e5d4a521eec73746f47ba1ac027c29be728db4f39feb18c1e6968c0446546dbec504be648465b5e3970e4388f68b1e26e2ce215158c23ddb07bd996bf3116fc703eeaf5dd86f1916dda650eb8ad099ec537b6fe289263e630e7302c0d14d6d815697fd608dba81c86d7a01432f4d18a2047e1301933ac6e10f28a93c5b0d11b355146ad779153f768a808af06e3c23d33b5cd52e061f82b802d6b5 23:23:05 public exponent: 10001 23:23:05 23:23:05 Signature Algorithm: SHA256WITHRSA 23:23:05 Signature: 01a4e9a2a588a71eb905577e3a5950ef6938fdcb 23:23:05 ff3dc912fe5aef40d26dc42671cf79df3bdfd56a 23:23:05 4a2240ec71d5ff0c7cb25d7e2f9d07c78f775065 23:23:05 a41256cc5f5ec93008954c899100141ded27325e 23:23:05 3bec35203d3a2843042649b6ced1e9344c110102 23:23:05 19a391fcf74bab7e0e9dedd90dac34ffc7d77eb1 23:23:05 1e0a85ace0ef10146c8f0d7c29d736df6eab5951 23:23:05 ea17b8e85baa35aee8379156e35433c122c512f3 23:23:05 7dd4e9a0f998e0993fa9de9cf63514187c480426 23:23:05 0282765ebd7b263f2026952102953c03073def73 23:23:05 87042704e1aa37f5722a333ba1ed897c234672ea 23:23:05 af46abe51e44837f54c7800ee3f1364400ecd714 23:23:05 b47097921548e7e0e505084f7ad0881e7084c841 23:23:05 beb511b2f5eb560d6e1a7722502ff84c2894c2c9 23:23:05 24f417627558e8ebdfeea4487ee829c16c890f97 23:23:05 a60d4c168d4b05d7205ed94250c4f26f4a4762cc 23:23:05 9e9e3dc1a29da62500aea97356e16cc790d8e364 23:23:05 11391d8b05e3a2cf6c9a034602b5504c5762404c 23:23:05 f8a58941657e7890e265447b020e264828c48552 23:23:05 a1f19c34 23:23:05 Extensions: 23:23:05 critical(true) BasicConstraints: isCa(true) 23:23:05 critical(false) 2.5.29.35 value = Sequence 23:23:05 Tagged [CONTEXT 0] IMPLICIT 23:23:05 DER Octet String[20] 23:23:05 23:23:05 critical(false) 2.5.29.14 value = DER Octet String[20] 23:23:05 23:23:05 critical(true) KeyUsage: 0x86 23:23:05 23:23:05 23:23:05 Policy Tree: null 23:23:05 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:23:05 modulus: 9fb8d5f64cacaf317f2ce02d884b3e0e998463fd748fdd93c8c2f2e02518a9b5a18f92963461c9d8bf06a9f5a2bee6f14d34b7b2f6d03cbc90117ae17357c14c3d50df6abdf6615a89e5009d8a0c206ccf64e0afb163f70377d4d73d15b1b00bc8919a6f0037611f7e69a6dc3caf836dee781ecbf20f3537763f3927b31b87ac3e42771155708dffb20c71e629518fc7d344d56b72913cca93d4814e02c4f6253709c0f9219a8e86ae46bbc33f5011c18a3eaecc4fe605c0fb2fa6af7f31af09d6155425012036f3a32258a03eca7a099c6edf703dc56e75c93f07976cf260cfdd9258ad84dbd3157008baef7d7f25aedde767ea41f45aca87221dcbf4ee8f83 23:23:05 public exponent: 10001 23:23:05 23:23:05 ] 23:23:05 [ERROR] Tests run: 14, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.236 s <<< FAILURE! - in org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.091 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:302) 23:23:05 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate Time elapsed: 0.008 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:401) 23:23:05 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.01 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:428) 23:23:05 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.019 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:457) 23:23:05 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate Time elapsed: 0.009 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:328) 23:23:05 23:23:05 [ERROR] org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate Time elapsed: 0.007 s <<< ERROR! 23:23:05 org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:23:05 Caused by: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:23:05 Caused by: java.security.cert.CertificateExpiredException: certificate expired on 20221108095126GMT+00:00 23:23:05 at org.onap.oom.certservice.cmpv2client.impl.CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate(CmpResponseHelperTest.java:355) 23:23:05 23:23:05 [INFO] Running org.onap.oom.certservice.certification.CertificationProviderTest 23:23:05 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 s - in org.onap.oom.certservice.certification.CertificationProviderTest 23:23:05 [INFO] Running org.onap.oom.certservice.certification.UpdateRequestTypeDetectorTest 23:23:05 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.onap.oom.certservice.certification.UpdateRequestTypeDetectorTest 23:23:05 [INFO] Running org.onap.oom.certservice.certification.model.CertificateDataTest 23:23:05 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.onap.oom.certservice.certification.model.CertificateDataTest 23:23:05 [INFO] Running org.onap.oom.certservice.certification.model.CsrModelTest 23:23:05 2023-11-25 23:23:05.732 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:05 2023-11-25 23:23:05.734 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:05 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s - in org.onap.oom.certservice.certification.model.CsrModelTest 23:23:05 [INFO] Running org.onap.oom.certservice.certification.CertificationResponseModelFactoryTest 23:23:05 2023-11-25 23:23:05.841 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:23:05 2023-11-25 23:23:05.849 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:23:05 2023-11-25 23:23:05.850 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:23:05 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:23:05 2023-11-25 23:23:05.860 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:23:05 Mock for CsrModel, hashCode: 2116973092 23:23:05 2023-11-25 23:23:05.861 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have the same parameters. Preparing Key Update Request 23:23:05 2023-11-25 23:23:05.877 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:23:05 2023-11-25 23:23:05.878 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:23:05 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:23:05 2023-11-25 23:23:05.878 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:23:05 Mock for CsrModel, hashCode: 2112185910 23:23:05 2023-11-25 23:23:05.879 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have the same parameters. Preparing Key Update Request 23:23:05 2023-11-25 23:23:05.883 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:23:05 Mock for CsrModel, hashCode: 1889571627 23:23:05 2023-11-25 23:23:05.883 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:23:05 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:23:05 2023-11-25 23:23:05.884 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: TestCA, and certificate signing request: 23:23:05 Mock for CsrModel, hashCode: 1889571627 23:23:05 2023-11-25 23:23:05.891 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:23:05 Mock for CsrModel, hashCode: 229081873 23:23:05 2023-11-25 23:23:05.892 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:23:05 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:23:05 2023-11-25 23:23:05.892 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: TestCA, and certificate signing request: 23:23:05 Mock for CsrModel, hashCode: 229081873 23:23:05 2023-11-25 23:23:05.897 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : CSR: encodedCSR, old cert: encodedOldCert, CA: TestCA 23:23:05 2023-11-25 23:23:05.897 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 23:23:05 Cmpv2Server{authentication=null, caName='null', issuerDN='null', url='null'} 23:23:05 2023-11-25 23:23:05.897 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Sending update request for certification model for CA named: TestCA, and certificate update request: 23:23:05 Mock for CsrModel, hashCode: 68942476 23:23:05 2023-11-25 23:23:05.898 INFO 2918 [ main] .o.c.c.CertificationResponseModelFactory : Certificate Signing Request and Old Certificate have different parameters. Preparing Certification Request 23:23:05 2023-11-25 23:23:05.902 DEBUG 2918 [ main] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 23:23:05 Mock for CsrModel, hashCode: 207133996 23:23:05 [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in org.onap.oom.certservice.certification.CertificationResponseModelFactoryTest 23:23:05 [INFO] Running org.onap.oom.certservice.certification.configuration.CmpServersConfigLoaderTest 23:23:06 2023-11-25 23:23:06.203 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.226 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file ./src/test/resources/cmpServers.json 23:23:06 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.685 s - in org.onap.oom.certservice.certification.configuration.CmpServersConfigLoaderTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.violations.RequestTypeViolationTest 23:23:06 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.oom.certservice.certification.configuration.validation.constraints.violations.RequestTypeViolationTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.violations.PortNumberViolationTest 23:23:06 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.oom.certservice.certification.configuration.validation.constraints.violations.PortNumberViolationTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.constraints.Cmpv2UrlValidatorTest 23:23:06 [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:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.validation.Cmpv2ServersConfigurationValidatorTest 23:23:06 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 s - in org.onap.oom.certservice.certification.configuration.validation.Cmpv2ServersConfigurationValidatorTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.CmpServersConfigTest 23:23:06 2023-11-25 23:23:06.693 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.694 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 2023-11-25 23:23:06.696 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.697 ERROR 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Exception occurred during CMP Servers configuration loading 23:23:06 2023-11-25 23:23:06.700 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:23:06 2023-11-25 23:23:06.702 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.702 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 2023-11-25 23:23:06.705 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:23:06 2023-11-25 23:23:06.707 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.707 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 2023-11-25 23:23:06.710 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Loading initial configuration 23:23:06 2023-11-25 23:23:06.711 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 2023-11-25 23:23:06.715 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:23:06 2023-11-25 23:23:06.716 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 2023-11-25 23:23:06.717 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : Reloading configuration 23:23:06 2023-11-25 23:23:06.718 INFO 2918 [ main] o.o.o.c.c.c.CmpServersConfig : CMP Servers configuration successfully loaded from file /fake/path/to/config/cmpServers.json 23:23:06 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in org.onap.oom.certservice.certification.configuration.CmpServersConfigTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.configuration.Cmpv2ServerProviderTest 23:23:06 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.onap.oom.certservice.certification.configuration.Cmpv2ServerProviderTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.RsaContentSignerBuilderTest 23:23:06 2023-11-25 23:23:06.730 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in org.onap.oom.certservice.certification.conversion.RsaContentSignerBuilderTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.PemStringToCertificateConverterTest 23:23:06 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in org.onap.oom.certservice.certification.conversion.PemStringToCertificateConverterTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.PemObjectFactoryTest 23:23:06 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.onap.oom.certservice.certification.conversion.PemObjectFactoryTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.OldCertificateModelFactoryTest 23:23:06 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 s - in org.onap.oom.certservice.certification.conversion.OldCertificateModelFactoryTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.X509CertificateBuilderTest 23:23:06 2023-11-25 23:23:06.833 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.onap.oom.certservice.certification.conversion.X509CertificateBuilderTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest 23:23:06 2023-11-25 23:23:06.857 ERROR 2918 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:23:06 23:23:06 java.lang.IllegalArgumentException: Illegal base64 character 20 23:23:06 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.decodeCsr(CsrModelFactory.java:51) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:44) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowCsrDecryptionExceptionWhenCsrIsNotInBase64Encoding$2(CsrModelFactoryTest.java:113) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:06 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowCsrDecryptionExceptionWhenCsrIsNotInBase64Encoding(CsrModelFactoryTest.java:111) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:06 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:06 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:06 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:06 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:06 23:23:06 2023-11-25 23:23:06.860 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 2023-11-25 23:23:06.861 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 2023-11-25 23:23:06.865 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 2023-11-25 23:23:06.865 ERROR 2918 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:23:06 23:23:06 java.lang.IllegalArgumentException: Illegal base64 character 20 23:23:06 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:45) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowKeyDecryptionExceptionWhenPkIsNotInBase64Encoding$3(CsrModelFactoryTest.java:132) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:06 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowKeyDecryptionExceptionWhenPkIsNotInBase64Encoding(CsrModelFactoryTest.java:130) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:06 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:06 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:06 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:06 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:06 23:23:06 2023-11-25 23:23:06.868 DEBUG 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 23:23:06 2023-11-25 23:23:06.868 ERROR 2918 [ main] .c.c.c.Pkcs10CertificationRequestFactory : Exception occurred during creation of certification request: 23:23:06 23:23:06 java.io.IOException: corrupted stream - out of bounds length found: 803 >= 144 23:23:06 at org.bouncycastle.asn1.ASN1InputStream.readLength(ASN1InputStream.java:431) 23:23:06 at org.bouncycastle.asn1.ASN1InputStream.readLength(ASN1InputStream.java:105) 23:23:06 at org.bouncycastle.asn1.ASN1InputStream.readObject(ASN1InputStream.java:201) 23:23:06 at org.bouncycastle.asn1.ASN1Primitive.fromByteArray(ASN1Primitive.java:44) 23:23:06 at org.bouncycastle.pkcs.PKCS10CertificationRequest.parseBytes(Unknown Source) 23:23:06 at org.bouncycastle.pkcs.PKCS10CertificationRequest.(Unknown Source) 23:23:06 at org.onap.oom.certservice.certification.conversion.Pkcs10CertificationRequestFactory.createPkcs10CertificationRequest(Pkcs10CertificationRequestFactory.java:39) 23:23:06 at java.base/java.util.Optional.flatMap(Optional.java:294) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.decodeCsr(CsrModelFactory.java:53) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactory.createCsrModel(CsrModelFactory.java:44) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.lambda$shouldThrowCsrDecryptionExceptionWhenCsrIsIncorrect$0(CsrModelFactoryTest.java:74) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:06 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:06 at org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest.shouldThrowCsrDecryptionExceptionWhenCsrIsIncorrect(CsrModelFactoryTest.java:72) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:06 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:06 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:06 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:06 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:06 23:23:06 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.onap.oom.certservice.certification.conversion.CsrModelFactoryTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest 23:23:06 2023-11-25 23:23:06.875 ERROR 2918 [ main] o.o.o.c.c.c.StringBase64 : Exception occurred during decoding: 23:23:06 23:23:06 java.lang.IllegalArgumentException: Illegal base64 character 2d 23:23:06 at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:538) 23:23:06 at java.base/java.util.Base64$Decoder.decode(Base64.java:561) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64.asString(StringBase64.java:41) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.createDecodedPrivateKey(StringBase64ToPrivateKeyConverter.java:48) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverter.convert(StringBase64ToPrivateKeyConverter.java:37) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest.lambda$shouldThrowExceptionWhenPrivateKeyPemIsNotProperPrivateKey$0(StringBase64ToPrivateKeyConverterTest.java:81) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55) 23:23:06 at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37) 23:23:06 at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3007) 23:23:06 at org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest.shouldThrowExceptionWhenPrivateKeyPemIsNotProperPrivateKey(StringBase64ToPrivateKeyConverterTest.java:80) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:23:06 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 23:23:06 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23:23:06 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 23:23:06 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 23:23:06 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) 23:23:06 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 23:23:06 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) 23:23:06 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) 23:23:06 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) 23:23:06 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) 23:23:06 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) 23:23:06 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 23:23:06 at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) 23:23:06 at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 23:23:06 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) 23:23:06 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 23:23:06 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:127) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) 23:23:06 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) 23:23:06 23:23:06 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.onap.oom.certservice.certification.conversion.StringBase64ToPrivateKeyConverterTest 23:23:06 [INFO] Running org.onap.oom.certservice.certification.X509CertificateParserTest 23:23:06 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in org.onap.oom.certservice.certification.X509CertificateParserTest 23:23:07 [INFO] 23:23:07 [INFO] Results: 23:23:07 [INFO] 23:23:07 [ERROR] Failures: 23:23:07 [ERROR] Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat:217 Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:07 [ERROR] Cmpv2ClientTest.shouldNotThrowExceptionForPrivateKeyInExpectedFormat:217 Unexpected exception thrown: org.onap.oom.certservice.cmpv2client.exceptions.CmpClientException: Invalid certificate or certificate not issued by specified CA: 23:23:07 [ERROR] Errors: 23:23:07 [ERROR] Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectCertificationRequest:194 » CmpClient 23:23:07 [ERROR] Cmpv2ClientTest.shouldReturnCorrectCmpCertificateForCorrectKeyUpdateResponse:165 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndExtraTrustAnchorInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:428 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndFirstExtraTrustAnchorInCaPubsAndIntermediateCertAndSecondExtraTrustAnchorInExtraCertsAndEntityCertInLeafCertificate:457 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInCmpCertificatesAndEntityCertInLeafCertificate:328 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:302 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertAndIntermediateCertInExtraCertsAndIntermediateCertInCaPubsAndEntityCertInLeafCertificate:401 » CmpClient 23:23:07 [ERROR] CmpResponseHelperTest.returnListOfCertificationWhenGivenCaCertInCaPubsAndIntermediateCertInExtraCertsAndEntityCertInLeafCertificate:355 » CmpClient 23:23:07 [INFO] 23:23:07 [ERROR] Tests run: 155, Failures: 2, Errors: 8, Skipped: 0 23:23:07 [INFO] 23:23:07 [INFO] ------------------------------------------------------------------------ 23:23:07 [INFO] Reactor Summary: 23:23:07 [INFO] 23:23:07 [INFO] oom-certservice 2.6.0-SNAPSHOT ..................... SUCCESS [ 7.731 s] 23:23:07 [INFO] oom-certservice-api ................................ FAILURE [ 25.753 s] 23:23:07 [INFO] oom-certservice-post-processor ..................... SKIPPED 23:23:07 [INFO] oom-certservice-k8s-external-provider 2.6.0-SNAPSHOT SKIPPED 23:23:07 [INFO] ------------------------------------------------------------------------ 23:23:07 [INFO] BUILD FAILURE 23:23:07 [INFO] ------------------------------------------------------------------------ 23:23:07 [INFO] Total time: 38.697 s 23:23:07 [INFO] Finished at: 2023-11-25T23:23:07Z 23:23:07 [INFO] ------------------------------------------------------------------------ 23:23:07 [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:23:07 [ERROR] 23:23:07 [ERROR] Please refer to /w/workspace/oom-platform-cert-service-maven-clm-master/certService/target/surefire-reports for the individual test results. 23:23:07 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 23:23:07 [ERROR] -> [Help 1] 23:23:07 [ERROR] 23:23:07 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 23:23:07 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 23:23:07 [ERROR] 23:23:07 [ERROR] For more information about the errors and possible solutions, please read the following articles: 23:23:07 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 23:23:07 [ERROR] 23:23:07 [ERROR] After correcting the problems, you can resume the build with the command 23:23:07 [ERROR] mvn -rf :oom-certservice-api 23:23:07 Build step 'Execute shell' marked build as failure 23:23:07 $ ssh-agent -k 23:23:07 unset SSH_AUTH_SOCK; 23:23:07 unset SSH_AGENT_PID; 23:23:07 echo Agent pid 2111 killed; 23:23:07 [ssh-agent] Stopped. 23:23:07 [PostBuildScript] - [INFO] Executing post build scripts. 23:23:07 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins16181627164589526875.sh 23:23:07 ---> sysstat.sh 23:23:08 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins16461655409228020957.sh 23:23:08 ---> package-listing.sh 23:23:08 ++ facter osfamily 23:23:08 ++ tr '[:upper:]' '[:lower:]' 23:23:08 + OS_FAMILY=debian 23:23:08 + workspace=/w/workspace/oom-platform-cert-service-maven-clm-master 23:23:08 + START_PACKAGES=/tmp/packages_start.txt 23:23:08 + END_PACKAGES=/tmp/packages_end.txt 23:23:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:08 + PACKAGES=/tmp/packages_start.txt 23:23:08 + '[' /w/workspace/oom-platform-cert-service-maven-clm-master ']' 23:23:08 + PACKAGES=/tmp/packages_end.txt 23:23:08 + case "${OS_FAMILY}" in 23:23:08 + dpkg -l 23:23:08 + grep '^ii' 23:23:08 + '[' -f /tmp/packages_start.txt ']' 23:23:08 + '[' -f /tmp/packages_end.txt ']' 23:23:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:08 + '[' /w/workspace/oom-platform-cert-service-maven-clm-master ']' 23:23:08 + mkdir -p /w/workspace/oom-platform-cert-service-maven-clm-master/archives/ 23:23:08 + 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:23:08 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins2251094919309368545.sh 23:23:08 ---> capture-instance-metadata.sh 23:23:08 Setup pyenv: 23:23:08 system 23:23:08 3.8.13 23:23:08 3.9.13 23:23:08 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:23:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yvtm from file:/tmp/.os_lf_venv 23:23:10 lf-activate-venv(): INFO: Installing: lftools 23:23:21 lf-activate-venv(): INFO: Adding /tmp/venv-Yvtm/bin to PATH 23:23:21 INFO: Running in OpenStack, capturing instance metadata 23:23:22 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins5766252188273080284.sh 23:23:22 provisioning config files... 23:23:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oom-platform-cert-service-maven-clm-master@tmp/config1948813892456201552tmp 23:23:22 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 23:23:22 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 23:23:22 [EnvInject] - Injecting environment variables from a build step. 23:23:22 [EnvInject] - Injecting as environment variables the properties content 23:23:22 SERVER_ID=logs 23:23:22 23:23:22 [EnvInject] - Variables injected successfully. 23:23:22 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins5449404332575636510.sh 23:23:22 ---> create-netrc.sh 23:23:22 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins389583986761083689.sh 23:23:22 ---> python-tools-install.sh 23:23:22 Setup pyenv: 23:23:22 system 23:23:22 3.8.13 23:23:22 3.9.13 23:23:22 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:23:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yvtm from file:/tmp/.os_lf_venv 23:23:23 lf-activate-venv(): INFO: Installing: lftools 23:23:33 lf-activate-venv(): INFO: Adding /tmp/venv-Yvtm/bin to PATH 23:23:33 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins13086080102975783012.sh 23:23:33 ---> sudo-logs.sh 23:23:33 Archiving 'sudo' log.. 23:23:33 [oom-platform-cert-service-maven-clm-master] $ /bin/bash /tmp/jenkins12138158586890970973.sh 23:23:33 ---> job-cost.sh 23:23:33 Setup pyenv: 23:23:33 system 23:23:33 3.8.13 23:23:33 3.9.13 23:23:33 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:23:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yvtm from file:/tmp/.os_lf_venv 23:23:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 23:23:42 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 23:23:42 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 23:23:43 lf-activate-venv(): INFO: Adding /tmp/venv-Yvtm/bin to PATH 23:23:43 INFO: No Stack... 23:23:43 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:43 INFO: Archiving Costs 23:23:43 [oom-platform-cert-service-maven-clm-master] $ /bin/bash -l /tmp/jenkins8335128709075134548.sh 23:23:43 ---> logs-deploy.sh 23:23:43 Setup pyenv: 23:23:43 system 23:23:43 3.8.13 23:23:43 3.9.13 23:23:43 * 3.10.6 (set by /w/workspace/oom-platform-cert-service-maven-clm-master/.python-version) 23:23:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yvtm from file:/tmp/.os_lf_venv 23:23:45 lf-activate-venv(): INFO: Installing: lftools 23:23:55 lf-activate-venv(): INFO: Adding /tmp/venv-Yvtm/bin to PATH 23:23:55 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/oom-platform-cert-service-maven-clm-master/181 23:23:55 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:23:56 Archives upload complete. 23:23:56 INFO: archiving logs to Nexus 23:23:57 ---> uname -a: 23:23:57 Linux prd-ubuntu1804-docker-8c-8g-4537 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:23:57 23:23:57 23:23:57 ---> lscpu: 23:23:57 Architecture: x86_64 23:23:57 CPU op-mode(s): 32-bit, 64-bit 23:23:57 Byte Order: Little Endian 23:23:57 CPU(s): 8 23:23:57 On-line CPU(s) list: 0-7 23:23:57 Thread(s) per core: 1 23:23:57 Core(s) per socket: 1 23:23:57 Socket(s): 8 23:23:57 NUMA node(s): 1 23:23:57 Vendor ID: AuthenticAMD 23:23:57 CPU family: 23 23:23:57 Model: 49 23:23:57 Model name: AMD EPYC-Rome Processor 23:23:57 Stepping: 0 23:23:57 CPU MHz: 2799.996 23:23:57 BogoMIPS: 5599.99 23:23:57 Virtualization: AMD-V 23:23:57 Hypervisor vendor: KVM 23:23:57 Virtualization type: full 23:23:57 L1d cache: 32K 23:23:57 L1i cache: 32K 23:23:57 L2 cache: 512K 23:23:57 L3 cache: 16384K 23:23:57 NUMA node0 CPU(s): 0-7 23:23:57 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:23:57 23:23:57 23:23:57 ---> nproc: 23:23:57 8 23:23:57 23:23:57 23:23:57 ---> df -h: 23:23:57 Filesystem Size Used Avail Use% Mounted on 23:23:57 udev 16G 0 16G 0% /dev 23:23:57 tmpfs 3.2G 708K 3.2G 1% /run 23:23:57 /dev/vda1 155G 11G 145G 7% / 23:23:57 tmpfs 16G 0 16G 0% /dev/shm 23:23:57 tmpfs 5.0M 0 5.0M 0% /run/lock 23:23:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:23:57 /dev/vda15 105M 4.4M 100M 5% /boot/efi 23:23:57 tmpfs 3.2G 0 3.2G 0% /run/user/1001 23:23:57 23:23:57 23:23:57 ---> free -m: 23:23:57 total used free shared buff/cache available 23:23:57 Mem: 32167 821 29067 0 2278 30920 23:23:57 Swap: 1023 0 1023 23:23:57 23:23:57 23:23:57 ---> ip addr: 23:23:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 23:23:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:23:57 inet 127.0.0.1/8 scope host lo 23:23:57 valid_lft forever preferred_lft forever 23:23:57 inet6 ::1/128 scope host 23:23:57 valid_lft forever preferred_lft forever 23:23:57 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 23:23:57 link/ether fa:16:3e:31:7d:d9 brd ff:ff:ff:ff:ff:ff 23:23:57 inet 10.30.107.168/23 brd 10.30.107.255 scope global dynamic ens3 23:23:57 valid_lft 86180sec preferred_lft 86180sec 23:23:57 inet6 fe80::f816:3eff:fe31:7dd9/64 scope link 23:23:57 valid_lft forever preferred_lft forever 23:23:57 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 23:23:57 link/ether 02:42:86:43:19:86 brd ff:ff:ff:ff:ff:ff 23:23:57 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:23:57 valid_lft forever preferred_lft forever 23:23:57 23:23:57 23:23:57 ---> sar -b -r -n DEV: 23:23:57 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4537) 11/25/23 _x86_64_ (8 CPU) 23:23:57 23:23:57 23:20:19 LINUX RESTART (8 CPU) 23:23:57 23:23:57 23:21:01 tps rtps wtps bread/s bwrtn/s 23:23:57 23:22:01 118.81 36.13 82.69 1687.72 45188.20 23:23:57 23:23:01 162.81 20.79 142.02 724.45 50028.51 23:23:57 Average: 140.82 28.45 112.36 1205.96 47608.96 23:23:57 23:23:57 23:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:23:57 23:22:01 30167424 31743520 2771796 8.41 67388 1819976 1417660 4.17 831008 1656484 153584 23:23:57 23:23:01 28447292 30322156 4491928 13.64 82936 2089492 3056068 8.99 2303608 1872992 5332 23:23:57 Average: 29307358 31032838 3631862 11.03 75162 1954734 2236864 6.58 1567308 1764738 79458 23:23:57 23:23:57 23:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:23:57 23:22:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 23:23:57 23:22:01 ens3 83.82 56.39 901.17 10.34 0.00 0.00 0.00 0.00 23:23:57 23:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:57 23:23:01 lo 0.50 0.50 0.04 0.04 0.00 0.00 0.00 0.00 23:23:57 23:23:01 ens3 239.11 196.20 2539.21 41.88 0.00 0.00 0.00 0.00 23:23:57 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:57 Average: lo 0.92 0.92 0.09 0.09 0.00 0.00 0.00 0.00 23:23:57 Average: ens3 161.48 126.31 1720.40 26.11 0.00 0.00 0.00 0.00 23:23:57 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:57 23:23:57 23:23:57 ---> sar -P ALL: 23:23:57 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4537) 11/25/23 _x86_64_ (8 CPU) 23:23:57 23:23:57 23:20:19 LINUX RESTART (8 CPU) 23:23:57 23:23:57 23:21:01 CPU %user %nice %system %iowait %steal %idle 23:23:57 23:22:01 all 10.02 0.00 0.81 3.75 0.04 85.38 23:23:57 23:22:01 0 0.65 0.00 0.33 0.08 0.02 98.92 23:23:57 23:22:01 1 6.45 0.00 0.57 0.37 0.02 92.60 23:23:57 23:22:01 2 11.84 0.00 0.98 1.15 0.03 85.99 23:23:57 23:22:01 3 37.47 0.00 2.14 2.78 0.08 57.52 23:23:57 23:22:01 4 19.93 0.00 1.32 0.50 0.03 78.22 23:23:57 23:22:01 5 2.16 0.00 0.62 2.52 0.07 94.63 23:23:57 23:22:01 6 0.13 0.00 0.23 22.32 0.05 77.26 23:23:57 23:22:01 7 1.60 0.00 0.25 0.30 0.00 97.85 23:23:57 23:23:01 all 24.31 0.00 1.04 5.58 0.08 68.98 23:23:57 23:23:01 0 20.67 0.00 1.94 2.09 0.08 75.22 23:23:57 23:23:01 1 39.25 0.00 1.20 3.51 0.12 55.91 23:23:57 23:23:01 2 42.47 0.00 1.66 1.79 0.12 53.96 23:23:57 23:23:01 3 16.95 0.00 0.79 10.22 0.07 71.98 23:23:57 23:23:01 4 15.66 0.00 0.48 1.23 0.05 82.57 23:23:57 23:23:01 5 18.68 0.00 1.15 16.87 0.07 63.23 23:23:57 23:23:01 6 29.59 0.00 0.47 7.40 0.08 62.45 23:23:57 23:23:01 7 11.39 0.00 0.56 1.63 0.07 86.36 23:23:57 Average: all 17.17 0.00 0.92 4.67 0.06 77.19 23:23:57 Average: 0 10.65 0.00 1.14 1.09 0.05 87.08 23:23:57 Average: 1 22.82 0.00 0.89 1.94 0.07 74.29 23:23:57 Average: 2 27.13 0.00 1.32 1.47 0.08 70.01 23:23:57 Average: 3 27.22 0.00 1.47 6.50 0.08 64.74 23:23:57 Average: 4 17.80 0.00 0.90 0.87 0.04 80.40 23:23:57 Average: 5 10.44 0.00 0.89 9.71 0.07 78.90 23:23:57 Average: 6 14.86 0.00 0.35 14.87 0.07 69.86 23:23:57 Average: 7 6.51 0.00 0.41 0.97 0.03 92.08 23:23:57 23:23:57 23:23:57