Established TCP socket on 39427 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_portal_stable/workspace/pom.xml clean install javadoc:javadoc [INFO] Scanning for projects... [INFO] [INFO] -----------------------< org.dataone:d1_portal >------------------------ [INFO] Building d1_portal 2.3.3 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from maven2-repository.dev.java.net: http://download.java.net/maven/2/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml [INFO] Downloading from Jibx Maven Repository: http://jibx.sourceforge.net/maven/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml [INFO] Downloading from dataone.org: http://maven.dataone.org/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml [INFO] Downloading from sonatype.org: https://repository.sonatype.org/content/shadows/centralm1/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from dataone.org: http://maven.dataone.org/com/googlecode/foresite-toolkit/foresite/1.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 6.8 kB/s) [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] [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: 1713918495450 [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_stable/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:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - 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:327) - No 'SubjectInfo' from CN; auto-populating. Error: [LDAP: error code 32 - No Such Object] INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: /tmp/nonExistentCert.pem INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:256) - Certificate file src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem is a duplicate. INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:291) - FAILED to verify token against (total 2) configured public key(s) INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:298) - FAILED a second time, to verify token against (total 2) configured public key(s). Non-valid token follows: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0ZXN0LXVzZXItaWQiLCJmdWxsTmFtZSI6IkphbmUgU2NpZW50aXN0IiwiaXNzdWVkQXQiOiIyMDI0LTA0LTI0VDAwOjI4OjI4LjQ2NSswMDowMCIsImNvbnN1bWVyS2V5IjoidGhlY29uc3VtZXJrZXkiLCJleHAiOjE3MTM5ODMzMDgsInVzZXJJZCI6InRlc3QtdXNlci1pZCIsInR0bCI6NjQ4MDAsImlhdCI6MTcxMzkxODUwOH0.RFVpUW8ghWhvmQcJQIeXb3jjUzt5R49YPB086nXN4TgstO_oZUb2HWMJ2q2bK7ONPaknJYoWSYX25iGFOL8Y23P6NzB-TjwPgG4-EbTpViXakPGYsdM5Votk9dd3X-oZQJAdzChcCYTKd99t2Ko0jfPacdltR8ua250npGssGT0DkSlDqMG_N8dWzdxD8FSrF57PwrRvX9Iq3g4wkLPHZFCOhizB8QS-It_YuAeLmIR8cOQhf6V1GwANmcXXz_JAvqe29RE-UOjOkUveliXGiBb3sgFQy0gc2vUHwfNHDZbEJV5JVn1_qGqP8lWjXllOl_KTz4V7akNSc3_5zRntXw INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:291) - FAILED to verify token against (total 2) configured public key(s) INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... WARN [main] (TokenGenerator.java:298) - FAILED a second time, to verify token against (total 2) configured public key(s). Non-valid token follows: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0ZXN0LXVzZXItaWQiLCJmdWxsTmFtZSI6IkphbmUgU2NpZW50aXN0IiwiaXNzdWVkQXQiOiIyMDI0LTA0LTI0VDAwOjI4OjI4LjUwMiswMDowMCIsImNvbnN1bWVyS2V5IjoidGhlY29uc3VtZXJrZXkiLCJleHAiOjE3MTM5ODMzMDgsInVzZXJJZCI6InRlc3QtdXNlci1pZCIsInR0bCI6NjQ4MDAsImlhdCI6MTcxMzkxODUwOH0.ceAOX15ayoFgqka0jfWhyNiLZega3VVTtY2tbVKK6lhEGMKKa8TOhCCOWPQezuFaBdCYw61caaI6DuHn3hBVfSlkdy4ljrcu0z-5TVQPosBQVG6UlR_mHzQiM9vpCB0tbOtyDP0DTd-QnfnezkNXo9juSijDbXZl0ORMVOQR5hAY5SGWQi1CODWXSR_ZradlRb78DTBl5g9CQyhexdVgvKqFes3W-BhgWL4qINx4pEPyX-LhLGghrHUK9ljy8k0QiGoAurlFcMe6m3iIU_MoQINrDILruQ8yIBROyUj8oooZyMHPavLKgm6Q4WLlkhrVnEG4eYAR8SK7bql8B8ywEQ INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... INFO [main] (TokenGenerator.java:262) - 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:327) - No 'SubjectInfo' from CN; auto-populating. Error: [LDAP: error code 32 - No Such Object] INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... INFO [main] (TokenGenerator.java:262) - 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:327) - No 'SubjectInfo' from CN; auto-populating. Error: [LDAP: error code 32 - No Such Object] INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... WARN [main] (TokenGenerator.java:256) - Certificate file src/test/resources/org/dataone/portal/unitTestLocalServerCertCopy.pem is a duplicate. INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert2.pem, with modulus beginning: 1958294063... INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:262) - Successfully added cert: src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem, with modulus beginning: 2751958679... INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:234) - No local certs defined in Settings INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... INFO [main] (TokenGenerator.java:234) - No local certs defined in Settings INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: . INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: . WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: / INFO [main] (TokenGenerator.java:224) - Successfully added cert from CN server, with modulus beginning: 1829075389... WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: . WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: / WARN [main] (TokenGenerator.java:247) - No readable Certificate file found at path: /tmp/nonExistentCert.pem java.util.GregorianCalendar[time=1713918508706,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=3,WEEK_OF_YEAR=17,WEEK_OF_MONTH=4,DAY_OF_MONTH=24,DAY_OF_YEAR=115,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=28,SECOND=28,MILLISECOND=706,ZONE_OFFSET=0,DST_OFFSET=0] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.409 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_stable/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_stable/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_stable/workspace/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal/2.3.3/d1_portal-2.3.3.pom [INFO] [INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default-cli) > generate-sources @ d1_portal >>> [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: 1713918511955 [INFO] Get info from svnUrl: https://repository.dataone.org/software/cicore [INFO] Storing scmBranch: UNKNOWN [WARNING] Failed to getClass for org.apache.maven.plugin.javadoc.JavadocReport [INFO] [INFO] <<< maven-javadoc-plugin:2.10.4:javadoc (default-cli) < generate-sources @ d1_portal <<< [INFO] [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:javadoc (default-cli) @ d1_portal --- [INFO] Loading source files for package org.dataone.portal... Constructing Javadoc information... Standard Doclet version 1.8.0_362 Building tree for all the packages and classes... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/PortalCertificateManager.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/TokenGenerator.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/package-frame.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/package-summary.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/package-tree.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/constant-values.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/class-use/TokenGenerator.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/class-use/PortalCertificateManager.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/org/dataone/portal/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/overview-tree.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/index-all.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/index.html... Generating /var/lib/jenkins/jobs/d1_portal_stable/workspace/target/site/apidocs/help-doc.html... 7 warnings [WARNING] Javadoc Warnings [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:77: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:114: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:145: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:161: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:177: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:218: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_stable/workspace/src/main/java/org/dataone/portal/PortalCertificateManager.java:280: warning - @return tag has no arguments. [JENKINS] Archiving javadoc Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 47.495 s [INFO] Finished at: 2024-04-24T00:28:43Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data