Established TCP socket on 41749 <===[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] Downloading from sonatype.org: https://repository.sonatype.org/content/shadows/centralm1/org/dataone/d1_common_java/2.4.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata org.dataone:d1_common_java:2.4.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/org/dataone/d1_common_java/2.4.0-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer org.dataone:d1_common_java:2.4.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 org.dataone:d1_common_java:2.4.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/org/dataone/d1_common_java/2.4.0-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [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: 1708540759157 [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: 12.204 s [INFO] Finished at: 2024-02-21T18:39:24Z [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