Build failed in Jenkins: java-opensaml-v3 #759

Shibboleth Jenkins noreply at shibboleth.net
Fri Mar 20 18:06:15 EDT 2020


See <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/759/display/redirect?page=changes>

Changes:

[Brent Putman] Fix cherry-picked commit that inadvertently used newer Java method.


------------------------------------------
[...truncated 80.68 KB...]
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ opensaml-xmlsec-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-xmlsec-impl/target/opensaml-xmlsec-impl-3.4.6-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-xmlsec-impl/3.4.6-SNAPSHOT/opensaml-xmlsec-impl-3.4.6-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-xmlsec-impl/pom.xml> to /home/jenkins/.m2/repository/org/opensaml/opensaml-xmlsec-impl/3.4.6-SNAPSHOT/opensaml-xmlsec-impl-3.4.6-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-xmlsec-impl/target/opensaml-xmlsec-impl-3.4.6-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-xmlsec-impl/3.4.6-SNAPSHOT/opensaml-xmlsec-impl-3.4.6-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ----------------< org.opensaml:opensaml-messaging-impl >----------------
[INFO] Building OpenSAML :: Messaging Implementations 3.4.6-SNAPSHOT    [15/22]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ opensaml-messaging-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target>
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ opensaml-messaging-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ opensaml-messaging-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/MessageHandlerErrorStrategyAdapter.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/MessageHandlerErrorStrategyAdapter.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ opensaml-messaging-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ opensaml-messaging-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/src/test/java/org/opensaml/messaging/handler/impl/CheckExpectedIssuerTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/src/test/java/org/opensaml/messaging/handler/impl/CheckExpectedIssuerTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ opensaml-messaging-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ opensaml-messaging-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/opensaml-messaging-impl-3.4.6-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ opensaml-messaging-impl ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ opensaml-messaging-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/opensaml-messaging-impl-3.4.6-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ opensaml-messaging-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/opensaml-messaging-impl-3.4.6-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-messaging-impl/3.4.6-SNAPSHOT/opensaml-messaging-impl-3.4.6-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/pom.xml> to /home/jenkins/.m2/repository/org/opensaml/opensaml-messaging-impl/3.4.6-SNAPSHOT/opensaml-messaging-impl-3.4.6-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-messaging-impl/target/opensaml-messaging-impl-3.4.6-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-messaging-impl/3.4.6-SNAPSHOT/opensaml-messaging-impl-3.4.6-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-soap-impl >-------------------
[INFO] Building OpenSAML :: SOAP Provider Implementations 3.4.6-SNAPSHOT [16/22]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ opensaml-soap-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target>
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ opensaml-soap-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ opensaml-soap-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 504 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/KeyExchangeTokenImpl.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/KeyExchangeTokenImpl.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ opensaml-soap-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ opensaml-soap-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/AddActionHandlerTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/AddActionHandlerTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ opensaml-soap-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.359 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ opensaml-soap-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/opensaml-soap-impl-3.4.6-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ opensaml-soap-impl ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ opensaml-soap-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/opensaml-soap-impl-3.4.6-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ opensaml-soap-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/opensaml-soap-impl-3.4.6-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-soap-impl/3.4.6-SNAPSHOT/opensaml-soap-impl-3.4.6-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/pom.xml> to /home/jenkins/.m2/repository/org/opensaml/opensaml-soap-impl/3.4.6-SNAPSHOT/opensaml-soap-impl-3.4.6-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-soap-impl/target/opensaml-soap-impl-3.4.6-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/org/opensaml/opensaml-soap-impl/3.4.6-SNAPSHOT/opensaml-soap-impl-3.4.6-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-saml-impl >-------------------
[INFO] Building OpenSAML :: SAML Provider Implementations 3.4.6-SNAPSHOT [17/22]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ opensaml-saml-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/target>
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ opensaml-saml-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ opensaml-saml-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 933 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/main/java/org/opensaml/saml/security/impl/SAMLSignatureProfileValidator.java>: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/main/java/org/opensaml/saml/security/impl/SAMLSignatureProfileValidator.java> uses or overrides a deprecated API.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/main/java/org/opensaml/saml/security/impl/SAMLSignatureProfileValidator.java>: Recompile with -Xlint:deprecation for details.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml1/profile/impl/AddNameIdentifierToSubjects.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml1/profile/impl/AddNameIdentifierToSubjects.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ opensaml-saml-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 442 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ opensaml-saml-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 324 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/filter/impl/SchemaValidationFilterTest.java>: Some input files use or override a deprecated API.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/filter/impl/SchemaValidationFilterTest.java>: Recompile with -Xlint:deprecation for details.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/AddChannelBindingsHeaderHandlerTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/AddChannelBindingsHeaderHandlerTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java>:[269,67] incompatible types: java.time.Duration cannot be converted to java.lang.Long
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for OpenSAML 3.4.6-SNAPSHOT:
[INFO] 
[INFO] OpenSAML ........................................... SUCCESS [  1.633 s]
[INFO] OpenSAML :: Core ................................... SUCCESS [ 12.215 s]
[INFO] OpenSAML :: Storage API ............................ SUCCESS [  1.655 s]
[INFO] OpenSAML :: Messaging API .......................... SUCCESS [  2.059 s]
[INFO] OpenSAML :: Security API ........................... SUCCESS [  3.669 s]
[INFO] OpenSAML :: XML Security API ....................... SUCCESS [  6.622 s]
[INFO] OpenSAML :: SOAP Provider API ...................... SUCCESS [  1.326 s]
[INFO] OpenSAML :: Profile API ............................ SUCCESS [  6.425 s]
[INFO] OpenSAML :: SAML Provider API ...................... SUCCESS [  2.879 s]
[INFO] OpenSAML :: XACML Provider API ..................... SUCCESS [  0.874 s]
[INFO] OpenSAML :: SAML XACML Profile API ................. SUCCESS [  0.868 s]
[INFO] OpenSAML :: Storage Implementation ................. SUCCESS [01:05 min]
[INFO] OpenSAML :: Security Implementation ................ SUCCESS [  3.625 s]
[INFO] OpenSAML :: XML Security Implementation ............ SUCCESS [ 10.618 s]
[INFO] OpenSAML :: Messaging Implementations .............. SUCCESS [  1.979 s]
[INFO] OpenSAML :: SOAP Provider Implementations .......... SUCCESS [  3.525 s]
[INFO] OpenSAML :: SAML Provider Implementations .......... FAILURE [  8.518 s]
[INFO] OpenSAML :: XACML Provider Implementations ......... SKIPPED
[INFO] OpenSAML :: SAML XACML Profile Implementation ...... SKIPPED
[INFO] OpenSAML :: Profile Implementations ................ SKIPPED
[INFO] OpenSAML :: BOM .................................... SKIPPED
[INFO] OpenSAML :: Tests BOM .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:28 min
[INFO] Finished at: 2020-03-20T18:05:45-04:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project opensaml-saml-impl: Compilation failure
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v3/ws/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java>:[269,67] incompatible types: java.time.Duration cannot be converted to java.lang.Long
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :opensaml-saml-impl
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-opensaml-v3 » OpenSAML :: Tests BOM #759' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-opensaml-v3 » OpenSAML :: BOM #759' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-opensaml-v3 » OpenSAML :: XACML Provider Implementations #759' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-opensaml-v3 » OpenSAML :: Profile Implementations #759' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-opensaml-v3 » OpenSAML :: SAML XACML Profile Implementation #759' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
channel stopped
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-11.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v3/builds/759/testng/testng-results.xml'
TestNG Reports Processing: FINISH


More information about the commits mailing list