Started by an SCM change Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/d1_portal/workspace The recommended git tool is: NONE No credentials specified > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/dataoneOrg/d1_portal/ # timeout=10 Fetching upstream changes from https://github.com/dataoneOrg/d1_portal/ > git --version # timeout=10 > git --version # 'git version 2.17.1' > git fetch --tags --progress -- https://github.com/dataoneOrg/d1_portal/ +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 Checking out Revision 993f56c5f3fa8c7465c3ca6a68242d92bacfaa10 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 993f56c5f3fa8c7465c3ca6a68242d92bacfaa10 # timeout=10 Commit message: "Merge pull request #8 from DataONEorg/feature-4-multiple-certs" > git rev-list --no-walk 2a55d5699c5bf63d8a0b2282aaa5634c98a0993a # timeout=10 Parsing POMs Established TCP socket on 41599 [workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/share/maven/conf/logging jenkins.maven3.agent.Maven35Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-4.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 41599 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_portal/workspace/pom.xml clean install [INFO] Scanning for projects... [INFO] [INFO] -----------------------< org.dataone:d1_portal >------------------------ [INFO] Building d1_portal 2.3.3 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from sonatype.org: https://repository.sonatype.org/content/shadows/centralm1/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata com.googlecode.foresite-toolkit:foresite:1.0-SNAPSHOT/maven-metadata.xml from/to sonatype.org (https://repository.sonatype.org/content/shadows/centralm1): Failed to transfer file: https://repository.sonatype.org/content/shadows/centralm1/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer com.googlecode.foresite-toolkit:foresite:1.0-SNAPSHOT/maven-metadata.xml from https://repository.sonatype.org/content/shadows/centralm1 was cached in the local repository, resolution will not be reattempted until the update interval of sonatype.org has elapsed or updates are forced. Original error: Could not transfer metadata com.googlecode.foresite-toolkit:foresite:1.0-SNAPSHOT/maven-metadata.xml from/to sonatype.org (https://repository.sonatype.org/content/shadows/centralm1): Failed to transfer file: https://repository.sonatype.org/content/shadows/centralm1/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ d1_portal --- [INFO] Deleting /var/lib/jenkins/jobs/d1_portal/workspace/target [INFO] [INFO] --- buildnumber-maven-plugin:3.2.0:create (default) @ d1_portal --- [INFO] Get info from svnUrl: https://repository.dataone.org/software/cicore [INFO] Storing buildNumber: 20132 at timestamp: 1708987935215 [INFO] Get info from svnUrl: https://repository.dataone.org/software/cicore [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ d1_portal --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ d1_portal --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 2 source files with javac [debug target 8] to target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ d1_portal --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ d1_portal --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 1 source file with javac [debug target 8] to target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ d1_portal --- [INFO] Surefire report directory: /var/lib/jenkins/jobs/d1_portal/workspace/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.dataone.portal.TokenGeneratorTest INFO [main] (CertificateManager.java:1144) - selectSession: using the default certificate location WARN [main] (CertificateManager.java:203) - FileNotFound: No certificate installed in the default location: /tmp/x509up_u107 INFO [main] (CertificateManager.java:1144) - selectSession: using the default certificate location INFO [main] (CertificateManager.java:1134) - Did not find a certificate for the subject specified: null INFO [main] (CertificateManager.java:858) - ...trying SSLContext protocol: TLSv1.2 INFO [main] (CertificateManager.java:860) - ...setting SSLContext with protocol: TLSv1.2 INFO [main] (CertificateManager.java:1008) - creating custom TrustManager INFO [main] (CertificateManager.java:355) - certificate.truststore.aux.location=/etc/dataone/truststore INFO [main] (CertificateManager.java:372) - shippedCAcerts=/org/dataone/client/auth/d1-trusted-certs.crt INFO [main] (CertificateManager.java:415) - loading into client truststore: java.io.InputStreamReader@4218d6a3 INFO [main] (CertificateManager.java:426) - 0 alias CN=DataONE Root CA,DC=dataone,DC=org INFO [main] (CertificateManager.java:426) - 1 alias CN=DataONE Production CA,DC=dataone,DC=org INFO [main] (CertificateManager.java:426) - 2 alias CN=CILogon Basic CA 1,O=CILogon,C=US,DC=cilogon,DC=org INFO [main] (CertificateManager.java:426) - 3 alias CN=CILogon OpenID CA 1,O=CILogon,C=US,DC=cilogon,DC=org INFO [main] (CertificateManager.java:426) - 4 alias CN=CILogon Silver CA 1,O=CILogon,C=US,DC=cilogon,DC=org INFO [main] (CertificateManager.java:426) - 5 alias CN=RapidSSL CA,O=GeoTrust\, Inc.,C=US INFO [main] (CertificateManager.java:426) - 6 alias CN=ISRG Root X1,O=Internet Security Research Group,C=US INFO [main] (CertificateManager.java:426) - 7 alias CN=DST Root CA X3,O=Digital Signature Trust Co. INFO [main] (CertificateManager.java:958) - getSSLConnectionSocketFactory: using allow-all hostname verifier WARN [main] (HttpConnectionMonitorService.java:46) - Starting monitor thread WARN [main] (HttpConnectionMonitorService.java:65) - registering ConnectionManager... WARN [Thread-1] (HttpConnectionMonitorService.java:96) - Starting monitoring... INFO [main] (RestClient.java:268) - RestClient.doRequestNoBody, thread(1) call Info: GET https://cn.dataone.org/cn/v1/node INFO [main] (ExceptionHandler.java:93) - response httpCode: 200 INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (HttpConnectionMonitorService.java:65) - registering ConnectionManager... INFO [main] (RestClient.java:268) - RestClient.doRequestNoBody, thread(1) call Info: GET https://cn.dataone.org/cn/v1/accounts/test-user-id INFO [main] (ExceptionHandler.java:93) - response httpCode: 404 WARN [main] (TokenGenerator.java:326) - [LDAP: error code 32 - No Such Object] org.dataone.service.exceptions.NotFound: [LDAP: error code 32 - No Such Object] at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:629) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:343) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:328) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1481) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1462) at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:324) at org.dataone.portal.TokenGeneratorTest.testGetSession(TokenGeneratorTest.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: /tmp/nonExistentCert.pem INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:255) - Certificate file src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem is a duplicate. INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:290) - FAILED to verify token against (total 2) configured public key(s) INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:297) - FAILED a second time, to verify token against (total 2) configured public key(s). Non-valid token follows: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0ZXN0LXVzZXItaWQiLCJmdWxsTmFtZSI6IkphbmUgU2NpZW50aXN0IiwiaXNzdWVkQXQiOiIyMDI0LTAyLTI2VDIyOjUyOjMyLjI1OSswMDowMCIsImNvbnN1bWVyS2V5IjoidGhlY29uc3VtZXJrZXkiLCJleHAiOjE3MDkwNTI3NTIsInVzZXJJZCI6InRlc3QtdXNlci1pZCIsInR0bCI6NjQ4MDAsImlhdCI6MTcwODk4Nzk1Mn0.HZ58B3H6mTW_BCb3UUfVUn7N5HQ5TJuti4AoPpkJSvZTVDbJUmNNuOA23owiSLWiJoE28V-e2hhTpFc1MD2KyOqD82EtIHb4Y2SE02AS8uY1l_i6bkQDCsEEdoV9E8tHb1_-vlfJMttvjawj6rq4CnB7USBeWPNoX-MTPq-gVH_fLkMYvhjUJiNnij5DE1ogsKm6KSY_sZahnet_dFRXRHrjFlP40oX52PhF_YKOx4rGHcAxvvm5l3H_bCwMSC13EPO89I5Qj_pJ1eHyU7HAjGPH9ZyS4SPUirlECNcQlmGy8DdWXIraQZLdDsH_zPaQhPMFqrUmKKnFdk_GX2HTWg INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:290) - FAILED to verify token against (total 2) configured public key(s) INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:297) - FAILED a second time, to verify token against (total 2) configured public key(s). Non-valid token follows: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0ZXN0LXVzZXItaWQiLCJmdWxsTmFtZSI6IkphbmUgU2NpZW50aXN0IiwiaXNzdWVkQXQiOiIyMDI0LTAyLTI2VDIyOjUyOjMyLjI5NiswMDowMCIsImNvbnN1bWVyS2V5IjoidGhlY29uc3VtZXJrZXkiLCJleHAiOjE3MDkwNTI3NTIsInVzZXJJZCI6InRlc3QtdXNlci1pZCIsInR0bCI6NjQ4MDAsImlhdCI6MTcwODk4Nzk1Mn0.Wiq0pf_UWHaz3IXQ23FtdkNtobQ3pV6ihyqNpOFMgD7AOZZ2qYt8aqq8EePeMwEXWr6tViPuS0pntFNzk75ecF33FeG0pAmTDQADl8jPCoCSpk8SXV392z9aQlzR86Nq6YNr7qrQ2UcMo1Uq1HT8xGP-LqA78WxqsZRoy_qdrUpa6JdZCDl4Yq681JfSmhmFfoZwexrPUP-bVPoL0lb7w9kVQEtACPDhZi9t4agN8LdUYMYEEYRKmhXxX0uRswfXLQkg8vovkHVPGYQWaQIoQUQwK_p9uL6R2fjAtckcyB7ImQviq4N_1VPQ3ck1NyAUUs6E6gmA4aP2gsNqx19Xcw INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (HttpConnectionMonitorService.java:65) - registering ConnectionManager... INFO [main] (RestClient.java:268) - RestClient.doRequestNoBody, thread(1) call Info: GET https://cn.dataone.org/cn/v1/accounts/test-user-id INFO [main] (ExceptionHandler.java:93) - response httpCode: 404 WARN [main] (TokenGenerator.java:326) - [LDAP: error code 32 - No Such Object] org.dataone.service.exceptions.NotFound: [LDAP: error code 32 - No Such Object] at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:629) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:343) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:328) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1481) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1462) at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:324) at org.dataone.portal.TokenGeneratorTest.testGetSession_multipleCerts(TokenGeneratorTest.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (HttpConnectionMonitorService.java:65) - registering ConnectionManager... INFO [main] (RestClient.java:268) - RestClient.doRequestNoBody, thread(1) call Info: GET https://cn.dataone.org/cn/v1/accounts/test-user-id INFO [main] (ExceptionHandler.java:93) - response httpCode: 404 WARN [main] (TokenGenerator.java:326) - [LDAP: error code 32 - No Such Object] org.dataone.service.exceptions.NotFound: [LDAP: error code 32 - No Such Object] at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:629) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:343) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:328) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1481) at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1462) at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:324) at org.dataone.portal.TokenGeneratorTest.testGetSession_multipleCerts(TokenGeneratorTest.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:255) - Certificate file src/test/resources/org/dataone/portal/unitTestLocalServerCertCopy.pem is a duplicate. INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:261) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:233) - No local certs defined in Settings INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... INFO [main] (TokenGenerator.java:233) - No local certs defined in Settings INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: . INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: . WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: / INFO [main] (TokenGenerator.java:223) - Successfully added cert from CN server, with modulus beginning: 2592064318... WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: . WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: / WARN [main] (TokenGenerator.java:246) - No readable Certificate file found at path: /tmp/nonExistentCert.pem java.util.GregorianCalendar[time=1708987952711,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2024,MONTH=1,WEEK_OF_YEAR=9,WEEK_OF_MONTH=5,DAY_OF_MONTH=26,DAY_OF_YEAR=57,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=10,HOUR_OF_DAY=22,MINUTE=52,SECOND=32,MILLISECOND=711,ZONE_OFFSET=0,DST_OFFSET=0] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.731 sec Results : Tests run: 8, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ d1_portal --- [INFO] Building jar: /var/lib/jenkins/jobs/d1_portal/workspace/target/d1_portal-2.3.3.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ d1_portal --- [INFO] Installing /var/lib/jenkins/jobs/d1_portal/workspace/target/d1_portal-2.3.3.jar to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.jar [INFO] Installing /var/lib/jenkins/jobs/d1_portal/workspace/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.pom Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.546 s [INFO] Finished at: 2024-02-26T22:52:37Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal/workspace/pom.xml to org.dataone/d1_portal/2.3.3/d1_portal-2.3.3.pom [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal/workspace/target/d1_portal-2.3.3.jar to org.dataone/d1_portal/2.3.3/d1_portal-2.3.3.jar channel stopped Maven RedeployPublisher use remote maven settings from : /usr/share/maven/conf/settings.xml [ERROR] uniqueVersion == false is not anymore supported in maven 3 [INFO] Deployment in file:///var/www/maven (id=,uniqueVersion=false) Deploying the main artifact d1_portal-2.3.3.jar Uploading to : file:///var/www/maven/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.jar Uploaded to : file:///var/www/maven/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.jar (15 kB at 4.9 MB/s) Uploading to : file:///var/www/maven/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.pom Uploaded to : file:///var/www/maven/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.pom (5.6 kB at 5.6 MB/s) Downloading from : file:///var/www/maven/org/dataone/d1_portal/maven-metadata.xml Downloaded from : file:///var/www/maven/org/dataone/d1_portal/maven-metadata.xml (1.4 kB at 483 kB/s) Uploading to : file:///var/www/maven/org/dataone/d1_portal/maven-metadata.xml Uploaded to : file:///var/www/maven/org/dataone/d1_portal/maven-metadata.xml (1.4 kB at 724 kB/s) [INFO] Deployment done in 0.16 sec Notifying upstream projects of job completion Triggering a new build of d1_portal_servlet Finished: SUCCESS