Started by upstream project "d1_portal" build number 236 originally caused by: Started by an SCM change Running as SYSTEM 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 '2024-02-26T22:53:26.556 +0000' A src 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 A src/test/java/org/dataone/portal/session A src/test/java/org/dataone/portal/session/SessionHelperTest.java 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 src/test/resources A src/test/resources/org A src/test/resources/org/dataone A src/test/resources/org/dataone/portal A src/test/resources/org/dataone/portal/session A src/test/resources/org/dataone/portal/session/sampleHzClientConfig.properties 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/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/session AU src/main/java/org/dataone/portal/session/SessionHelper.java 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/webapp A src/main/webapp/WEB-INF AU src/main/webapp/WEB-INF/portal.properties AU src/main/webapp/WEB-INF/web.xml AU src/main/webapp/WEB-INF/client.xml 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 AU pom.xml A .settings AU .classpath AU .project U . At revision 20132 No changes for https://repository.dataone.org/software/cicore/trunk/d1_portal_servlet since the previous build Parsing POMs Established TCP socket on 33733 [workspace] $ 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-4.5.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 33733 <===[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: 1708988027866 [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] <anonymous org.dataone.portal.session.SessionHelperTest$2> is not abstract and does not override abstract method setSessionTrackingModes(java.util.Set<javax.servlet.SessionTrackingMode>) 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: 13.198 s [INFO] Finished at: 2024-02-26T22:53:53Z [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] <anonymous org.dataone.portal.session.SessionHelperTest$2> is not abstract and does not override abstract method setSessionTrackingModes(java.util.Set<javax.servlet.SessionTrackingMode>) 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 [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 channel stopped Notifying upstream projects of job completion Finished: FAILURE