Established TCP socket on 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