Started by user administrator Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/d1_portal_beta/workspace Cleaning local Directory d1_portal Checking out https://repository.dataone.org/software/cicore/branches/D1_PORTAL_v2.3 at revision '2020-02-28T19:06:28.130 +0000' A src A src/main A src/main/java A src/main/java/org A src/main/java/org/dataone A src/main/java/org/dataone/portal AU src/main/java/org/dataone/portal/TokenGenerator.java AU src/main/java/org/dataone/portal/PortalCertificateManager.java A src/main/resources A src/main/resources/org A src/main/resources/org/dataone A src/main/resources/org/dataone/configuration AU src/main/resources/org/dataone/configuration/config.xml AU src/main/resources/org/dataone/configuration/portal.properties A src/test A src/test/java A src/test/java/org A src/test/java/org/dataone A src/test/java/org/dataone/portal AU src/test/java/org/dataone/portal/TokenGeneratorTest.java AU src/test/java/log4j.properties A src/test/resources A src/test/resources/org A src/test/resources/org/dataone A src/test/resources/org/dataone/configuration AU src/test/resources/org/dataone/configuration/portal.properties AU src/test/resources/org/dataone/configuration/config.xml A src/test/resources/org/dataone/portal A src/test/resources/org/dataone/portal/unitTestSelfSignedCert.pem AU pom.xml AU .classpath AU .project U . At revision 20022 Parsing POMs Established TCP socket on 44839 [d1_portal] $ 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-3.36.1.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 44839 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/pom.xml clean install javadoc:javadoc [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.dataone:d1_portal:jar:2.3.2 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet:javax.servlet-api:jar -> duplicate declaration of version 3.0.1 @ line 133, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 16, column 21 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 40, column 21 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 24, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -----------------------< org.dataone:d1_portal >------------------------ [INFO] Building d1_portal 2.3.2 [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 [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ d1_portal --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_portal --- [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal [INFO] Storing buildNumber: null at timestamp: 1582916794435 [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [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.1:compile (default-compile) @ d1_portal --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/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 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ d1_portal --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/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_beta/workspace/d1_portal/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@367ffa75 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 [Thread-2] (HttpConnectionMonitorService.java:96) - Starting monitoring... 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/node INFO [main] (ExceptionHandler.java:93) - response httpCode: 200 INFO [Signing Certificate Monitor] (TokenGenerator.java:96) - Portal reset the private key and public certificate after the certificate was renewed. The new certificate has the mudulus 25628000975865967818614237592644597873505017929683408459583623466634869350003527169182369589462042845947496352038916351890030483502126996830060862736162296528431826719201221926055459466034057190614361318267759215239372183823269778345806729260057778974147285455006230814935236238980329887177299127648373466252172248550254643624913348908362112013514540844735893394859441483504682111018978112987633087447960991551636645067492817942916234599631230959506430845665817173705197645883098218067664736080754675828508698896032238806548015652397886418908094936493167246436074261546220543285753948156121812153377921581633729256433 java.util.GregorianCalendar[time=1582916846219,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=2020,MONTH=1,WEEK_OF_YEAR=9,WEEK_OF_MONTH=5,DAY_OF_MONTH=28,DAY_OF_YEAR=59,DAY_OF_WEEK=6,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=7,HOUR_OF_DAY=19,MINUTE=7,SECOND=26,MILLISECOND=219,ZONE_OFFSET=0,DST_OFFSET=0] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.981 sec Results : Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ d1_portal --- [INFO] Building jar: /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/d1_portal-2.3.2.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ d1_portal --- [INFO] Installing /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/d1_portal-2.3.2.jar to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.jar [INFO] Installing /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.pom [INFO] [INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default-cli) > generate-sources @ d1_portal >>> [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_portal --- [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal [INFO] Storing buildNumber: null at timestamp: 1582916850371 [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [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_242 Building tree for all the packages and classes... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/PortalCertificateManager.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/TokenGenerator.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/package-frame.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/package-summary.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/package-tree.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/constant-values.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/class-use/PortalCertificateManager.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/class-use/TokenGenerator.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/org/dataone/portal/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/overview-tree.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/index-all.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/index.html... Generating /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/site/apidocs/help-doc.html... 7 warnings [WARNING] Javadoc Warnings [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:91: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:131: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:162: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:177: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:193: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:234: warning - @return tag has no arguments. [WARNING] /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/src/main/java/org/dataone/portal/PortalCertificateManager.java:293: 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: 01:00 min [INFO] Finished at: 2020-02-28T19:07:32Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/pom.xml to org.dataone/d1_portal/2.3.2/d1_portal-2.3.2.pom [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal_beta/workspace/d1_portal/target/d1_portal-2.3.2.jar to org.dataone/d1_portal/2.3.2/d1_portal-2.3.2.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.2.jar Uploading to : file:///var/www/maven/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.jar Uploaded to : file:///var/www/maven/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.jar (14 kB at 757 kB/s) Uploading to : file:///var/www/maven/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.pom Uploaded to : file:///var/www/maven/org/dataone/d1_portal/2.3.2/d1_portal-2.3.2.pom (5.3 kB at 5.3 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 118 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) [INFO] Deployment done in 0.15 sec Notifying upstream projects of job completion Finished: SUCCESS