Started by upstream project "d1_portal" build number 228 originally caused by: Started by an SCM change Building in workspace /var/lib/jenkins/jobs/d1_portal_servlet/workspace Cleaning local Directory . Checking out https://repository.dataone.org/software/cicore/trunk/d1_portal_servlet at revision '2019-06-13T17:37:22.503 +0000' AU pom.xml 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 A src/main/java/org/dataone/portal/servlets A src/main/java/org/dataone/portal/servlets/ldap AU src/main/java/org/dataone/portal/servlets/ldap/LdapServlet.java AU src/main/java/org/dataone/portal/servlets/ldap/AuthLdap.java A src/main/java/org/dataone/portal/servlets/myproxy AU src/main/java/org/dataone/portal/servlets/myproxy/D1SuccessServlet.java AU src/main/java/org/dataone/portal/servlets/myproxy/StartRequest.java AU src/main/java/org/dataone/portal/servlets/myproxy/D1TestServlet.java AU src/main/java/org/dataone/portal/servlets/myproxy/FailureServlet.java A src/main/java/org/dataone/portal/servlets/oauth AU src/main/java/org/dataone/portal/servlets/oauth/OrcidOAuthServlet.java AU src/main/java/org/dataone/portal/servlets/IdentityServlet.java AU src/main/java/org/dataone/portal/servlets/LogoutServlet.java AU src/main/java/org/dataone/portal/servlets/TokenServlet.java A src/main/java/org/dataone/portal/session AU src/main/java/org/dataone/portal/session/SessionHelper.java A src/main/webapp A src/main/webapp/WEB-INF AU src/main/webapp/WEB-INF/client.xml AU src/main/webapp/WEB-INF/web.xml AU src/main/webapp/WEB-INF/portal.properties AU src/main/webapp/WEB-INF/client.dtd AU src/main/webapp/account.jsp AU src/main/webapp/setup.jsp AU src/main/webapp/equivalentSubjectInfo.jsp AU src/main/webapp/subjectInfo.jsp AU src/main/webapp/listGroups.jsp AU src/main/webapp/personDetails.jsp AU src/main/webapp/listPeople.jsp AU src/main/webapp/pendingSubjectInfo.jsp AU src/main/webapp/pidStatus.jsp AU src/main/webapp/status.jsp AU src/main/webapp/portal.css AU src/main/webapp/footer.jsp AU src/main/webapp/index.jsp A src/main/webapp/pages AU src/main/webapp/pages/client-error.jsp A src/main/webapp/images AU src/main/webapp/images/logo.png AU src/main/webapp/images/preface-wrapper-bg.png A src/main/webapp/jquery A src/main/webapp/jquery/jqueryui A src/main/webapp/jquery/jqueryui/css A src/main/webapp/jquery/jqueryui/css/smoothness AU src/main/webapp/jquery/jqueryui/css/smoothness/jquery-ui-1.8.16.custom.css A src/main/webapp/jquery/jqueryui/css/smoothness/images AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-icons_2e83ff_256x240.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-icons_888888_256x240.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-icons_cd0a0a_256x240.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-icons_454545_256x240.png AU src/main/webapp/jquery/jqueryui/css/smoothness/images/ui-icons_222222_256x240.png AU src/main/webapp/jquery/jqueryui/jquery-ui-1.8.16.custom.min.js AU src/main/webapp/jquery/jquery-1.6.4.min.js 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 A src/test 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/java A src/test/java/org A src/test/java/org/dataone A src/test/java/org/dataone/portal A src/test/java/org/dataone/portal/servlets A src/test/java/org/dataone/portal/servlets/ldap AU src/test/java/org/dataone/portal/servlets/ldap/AuthLdapTest.java A .settings AU .classpath AU .project U . At revision 19734 No changes for https://repository.dataone.org/software/cicore/trunk/d1_portal_servlet since the previous build Parsing POMs Established TCP socket on 46643 [workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12.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.29.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12.jar 46643 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_portal_servlet/workspace/pom.xml clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.dataone:d1_portal_servlet:war:2.4.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 44, column 21 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 52, 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_servlet >-------------------- [INFO] Building d1_portal_servlet 2.4.0-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ d1_portal_servlet --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_portal_servlet --- [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_servlet/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_servlet/workspace [INFO] Storing buildNumber: null at timestamp: 1560447447762 [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_portal_servlet/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_portal_servlet/workspace [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ d1_portal_servlet --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ d1_portal_servlet --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to /var/lib/jenkins/jobs/d1_portal_servlet/workspace/target/classes [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/java/org/dataone/portal/servlets/oauth/OrcidOAuthServlet.java: Some input files use or override a deprecated API. [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/java/org/dataone/portal/servlets/oauth/OrcidOAuthServlet.java: Recompile with -Xlint:deprecation for details. [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/java/org/dataone/portal/servlets/ldap/AuthLdap.java: /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/java/org/dataone/portal/servlets/ldap/AuthLdap.java uses unchecked or unsafe operations. [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/java/org/dataone/portal/servlets/ldap/AuthLdap.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ d1_portal_servlet --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ d1_portal_servlet --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/lib/jenkins/jobs/d1_portal_servlet/workspace/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ d1_portal_servlet --- [INFO] Surefire report directory: /var/lib/jenkins/jobs/d1_portal_servlet/workspace/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.dataone.portal.servlets.ldap.AuthLdapTest ERROR [main] (Settings.java:109) - org.apache.commons.configuration.ConfigurationException while loading config file org/dataone/configuration/config.xml. Message: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source file:///etc/dataone/node.properties INFO [main] (AuthLdap.java:134) - AuthLdap.authenticate - Calling ldapAuthenticate with user as identifier: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:225) - AuthLdap.ldapAuthenticate - dn is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:236) - AuthLdap.ldapAuthenticate - userDN is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org WARN [main] (AuthLdap.java:245) - AuthLdap.ldapAuthenticate - Trying to authenticate: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org Using server: ldap://ldap.ecoinformatics.org:389/ INFO [main] (AuthLdap.java:368) - AuthLdap.authenticateTLS - Trying to authenticate with TLS INFO [main] (AuthLdap.java:386) - AuthLdap.authenticateTLS - Connection time thru ldap://ldap.ecoinformatics.org:389/ was: 0.383 seconds. INFO [main] (AuthLdap.java:134) - AuthLdap.authenticate - Calling ldapAuthenticate with user as identifier: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:225) - AuthLdap.ldapAuthenticate - dn is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:236) - AuthLdap.ldapAuthenticate - userDN is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org WARN [main] (AuthLdap.java:245) - AuthLdap.ldapAuthenticate - Trying to authenticate: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org Using server: ldap://ldap.ecoinformatics.org:389/ INFO [main] (AuthLdap.java:368) - AuthLdap.authenticateTLS - Trying to authenticate with TLS WARN [main] (AuthLdap.java:389) - AuthLdap.authenticateTLS - Authentication exception: [LDAP: error code 49 - Invalid Credentials] INFO [main] (AuthLdap.java:257) - AuthLdap.ldapAuthenticate - failed to login : [LDAP: error code 49 - Invalid Credentials] INFO [main] (AuthLdap.java:140) - AuthLdap.authenticate - Not Authenticated INFO [main] (AuthLdap.java:141) - AuthLdap.authenticate - Looking up DN for: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:425) - AuthLdap.getIdentifyingName - uid is: kepler INFO [main] (AuthLdap.java:429) - AuthLdap.getIdentifyingName - org is: unaffiliated WARN [main] (AuthLdap.java:435) - AuthLdap.getIdentifyingName - Searching for DNs with following filter: (&(uid=kepler)(o=unaffiliated)) INFO [main] (AuthLdap.java:148) - AuthLdap.authenticate - DN found from getIdentifyingName: uid=kepler,o=unaffiliated INFO [main] (AuthLdap.java:150) - AuthLdap.authenticate - DN decoded: uid=kepler,o=unaffiliated INFO [main] (AuthLdap.java:170) - AuthLdap.authenticate - identifier doesnt start with ldap INFO [main] (AuthLdap.java:173) - AuthLdap.authenticate - Calling ldapAuthenticatewith user as identifier: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:225) - AuthLdap.ldapAuthenticate - dn is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org INFO [main] (AuthLdap.java:236) - AuthLdap.ldapAuthenticate - userDN is: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org WARN [main] (AuthLdap.java:245) - AuthLdap.ldapAuthenticate - Trying to authenticate: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org Using server: ldap://ldap.ecoinformatics.org:389/ INFO [main] (AuthLdap.java:368) - AuthLdap.authenticateTLS - Trying to authenticate with TLS WARN [main] (AuthLdap.java:389) - AuthLdap.authenticateTLS - Authentication exception: [LDAP: error code 49 - Invalid Credentials] INFO [main] (AuthLdap.java:257) - AuthLdap.ldapAuthenticate - failed to login : [LDAP: error code 49 - Invalid Credentials] INFO [main] (AuthLdap.java:701) - AuthLdap.getGroups - group filter is: (& (objectClass=groupOfUniqueNames)(uniqueMember=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org)) INFO [main] (AuthLdap.java:826) - AuthLdap.getGroups - caught referral exception: ldap://ldap.ecoinformatics.org/ou=people,o=ucnrs.org??sub WARN [main] (AuthLdap.java:863) - AuthLdap.getGroups - The user is in the following groups: [] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.989 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ d1_portal_servlet --- [INFO] Packaging webapp [INFO] Assembling webapp [d1_portal_servlet] in [/var/lib/jenkins/jobs/d1_portal_servlet/workspace/out/exploded/portal] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/main/webapp] [INFO] Processing overlay [ id edu.uiuc.ncsa.myproxy:oa4mp-client-oauth1] [INFO] Webapp assembled in [369 msecs] [INFO] Building war: /var/lib/jenkins/jobs/d1_portal_servlet/workspace/out/portal.war [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ d1_portal_servlet --- [INFO] Installing /var/lib/jenkins/jobs/d1_portal_servlet/workspace/out/portal.war to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-SNAPSHOT.war [INFO] Installing /var/lib/jenkins/jobs/d1_portal_servlet/workspace/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-SNAPSHOT.pom Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.007 s [INFO] Finished at: 2019-06-13T17:37:37Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal_servlet/workspace/pom.xml to org.dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/d1_portal_servlet/workspace/out/portal.war to org.dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-SNAPSHOT.war 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_servlet-2.4.0-SNAPSHOT.war Downloading: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/maven-metadata.xml Downloaded: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/maven-metadata.xml (781 B at 762.7 KB/sec) Uploading: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-20190613.173739-17.war Uploaded: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-20190613.173739-17.war (28293 KB at 110087.8 KB/sec) Uploading: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-20190613.173739-17.pom Uploaded: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/d1_portal_servlet-2.4.0-20190613.173739-17.pom (6 KB at 5646.5 KB/sec) Downloading: file:///var/www/maven/org/dataone/d1_portal_servlet/maven-metadata.xml Downloaded: file:///var/www/maven/org/dataone/d1_portal_servlet/maven-metadata.xml (2 KB at 1543.9 KB/sec) Uploading: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/maven-metadata.xml Uploaded: file:///var/www/maven/org/dataone/d1_portal_servlet/2.4.0-SNAPSHOT/maven-metadata.xml (781 B at 762.7 KB/sec) Uploading: file:///var/www/maven/org/dataone/d1_portal_servlet/maven-metadata.xml Uploaded: file:///var/www/maven/org/dataone/d1_portal_servlet/maven-metadata.xml (2 KB) [INFO] Deployment done in 0.31 sec Notifying upstream projects of job completion Triggering a new build of dataone-cn-portal-deb-unstable Finished: SUCCESS