Established TCP socket on 45381 <===[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: 1582317755797 [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 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ d1_portal_servlet --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/lib/jenkins/jobs/d1_portal_servlet/workspace/target/test-classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/test/java/org/dataone/portal/session/SessionHelperTest.java: /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/test/java/org/dataone/portal/session/SessionHelperTest.java uses or overrides a deprecated API. [WARNING] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/test/java/org/dataone/portal/session/SessionHelperTest.java: Recompile with -Xlint:deprecation for details. [INFO] 2 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/test/java/org/dataone/portal/session/SessionHelperTest.java:[81,37] is not abstract and does not override abstract method setSessionTrackingModes(java.util.Set) in javax.servlet.ServletContext [INFO] 1 error [INFO] ------------------------------------------------------------- Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.853 s [INFO] Finished at: 2020-02-21T20:42:38Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project d1_portal_servlet: Compilation failure [ERROR] /var/lib/jenkins/jobs/d1_portal_servlet/workspace/src/test/java/org/dataone/portal/session/SessionHelperTest.java:[81,37] is not abstract and does not override abstract method setSessionTrackingModes(java.util.Set) in javax.servlet.ServletContext [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException