Build failed in Jenkins: java-shib-attribute-v5 #151

Shibboleth Jenkins noreply at shibboleth.net
Mon Sep 26 16:16:58 UTC 2022


See <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/151/display/redirect?page=changes>

Changes:

[Scott Cantor] Rename XML package, and hide a couple of impl classes.


------------------------------------------
[...truncated 47.03 KB...]
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 1.42 s <<< FAILURE! - in net.shibboleth.idp.saml.attribute.transcoding.SAMLEncoderSupportTest
[ERROR] net.shibboleth.idp.saml.attribute.transcoding.SAMLEncoderSupportTest.initOpenSAML  Time elapsed: 1.23 s  <<< FAILURE!
java.util.ServiceConfigurationError: org.opensaml.core.config.Initializer: org.opensaml.xmlsec.config.DecryptionParserPoolInitializer Unable to get public no-arg constructor
Caused by: java.lang.NoClassDefFoundError: net/shibboleth/utilities/java/support/xml/ParserPool
Caused by: java.lang.ClassNotFoundException: net.shibboleth.utilities.java.support.xml.ParserPool

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   SAMLEncoderSupportTest>OpenSAMLInitBaseTestCase.initOpenSAML:36 » ServiceConfiguration
[INFO] 
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 5
[INFO] 
[ERROR] There are test failures.

Please refer to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/target/surefire-reports> for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ shib-saml-attribute-api ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/target/shib-saml-attribute-api-5.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ shib-saml-attribute-api ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/target/shib-saml-attribute-api-5.0.0-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ shib-saml-attribute-api ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/target/shib-saml-attribute-api-5.0.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/shib-saml-attribute-api/5.0.0-SNAPSHOT/shib-saml-attribute-api-5.0.0-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/shib-saml-attribute-api/5.0.0-SNAPSHOT/shib-saml-attribute-api-5.0.0-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-saml-attribute-api/target/shib-saml-attribute-api-5.0.0-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/shib-saml-attribute-api/5.0.0-SNAPSHOT/shib-saml-attribute-api-5.0.0-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] -----------------< net.shibboleth:shib-attribute-impl >-----------------
[INFO] Building Shibboleth Attribute :: Attribute Implementation 5.0.0-SNAPSHOT [6/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-testing/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 164 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-attribute-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-attribute-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-attribute-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-attribute-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ shib-attribute-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.231 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ shib-attribute-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/shib-attribute-impl-5.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ shib-attribute-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/shib-attribute-impl-5.0.0-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ shib-attribute-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/shib-attribute-impl-5.0.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/shib-attribute-impl/5.0.0-SNAPSHOT/shib-attribute-impl-5.0.0-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/shib-attribute-impl/5.0.0-SNAPSHOT/shib-attribute-impl-5.0.0-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-impl/target/shib-attribute-impl-5.0.0-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/shib-attribute-impl/5.0.0-SNAPSHOT/shib-attribute-impl-5.0.0-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ---------------< net.shibboleth:shib-attribute-testing >----------------
[INFO] Building Shibboleth Attribute :: Testing 5.0.0-SNAPSHOT           [7/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-testing ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-testing ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-testing ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-attribute-testing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/src/main/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-attribute-testing ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-attribute-testing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/src/test/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-attribute-testing ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ shib-attribute-testing ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ shib-attribute-testing ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/target/shib-attribute-testing-5.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ shib-attribute-testing ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ shib-attribute-testing ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/target/shib-attribute-testing-5.0.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/shib-attribute-testing/5.0.0-SNAPSHOT/shib-attribute-testing-5.0.0-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-testing/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/shib-attribute-testing/5.0.0-SNAPSHOT/shib-attribute-testing-5.0.0-SNAPSHOT.pom
[JENKINS] Archiving disabled
[INFO] 
[INFO] ------------< net.shibboleth:shib-attribute-resolver-impl >-------------
[INFO] Building Shibboleth Attribute :: Attribute Resolver Implementation 5.0.0-SNAPSHOT [8/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-storage-impl/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/maven/thirdparty-snapshots/org/opensaml/opensaml-storage-impl/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-storage-impl/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 53 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-resolver-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-resolver-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-resolver-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-attribute-resolver-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-attribute-resolver-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 43 source files to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/storage/impl/ScriptedStorageMappingStrategy.java>: Some input files use or override a deprecated API that is marked for removal.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/storage/impl/ScriptedStorageMappingStrategy.java>: Recompile with -Xlint:removal for details.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/storage/impl/ScriptedStorageMappingStrategy.java>: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/storage/impl/ScriptedStorageMappingStrategy.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/storage/impl/ScriptedStorageMappingStrategy.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-attribute-resolver-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 47 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-attribute-resolver-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImplTest.java>: <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImplTest.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolverImplTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeTest.java>:[521,38] cannot access net.shibboleth.utilities.java.support.xml.XMLParserException
  class file for net.shibboleth.utilities.java.support.xml.XMLParserException not found
[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
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Attribute Components 5.0.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Attribute Components .................... SUCCESS [  2.207 s]
[INFO] Shibboleth Attribute :: Attribute API .............. SUCCESS [ 10.898 s]
[INFO] Shibboleth Attribute :: Attribute Resolver API ..... SUCCESS [  3.298 s]
[INFO] Shibboleth Attribute :: Attribute Filter API ....... SUCCESS [  2.717 s]
[INFO] Shibboleth Attribute :: SAML Attribute API ......... SUCCESS [  3.271 s]
[INFO] Shibboleth Attribute :: Attribute Implementation ... SUCCESS [  3.444 s]
[INFO] Shibboleth Attribute :: Testing .................... SUCCESS [  1.117 s]
[INFO] Shibboleth Attribute :: Attribute Resolver Implementation FAILURE [  2.507 s]
[INFO] Shibboleth Attribute :: SAML Attribute Implementation SKIPPED
[INFO] Shibboleth Attribute :: Attribute Filter Implementation SKIPPED
[INFO] Shibboleth Attribute :: Attribute Resolver Spring Integration SKIPPED
[INFO] Shibboleth Attribute :: Attribute Filter Spring Integration SKIPPED
[INFO] Shibboleth Attribute :: BOM ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  37.288 s
[INFO] Finished at: 2022-09-26T16:16:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project shib-attribute-resolver-impl: Compilation failure
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5/ws/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeTest.java>:[521,38] cannot access net.shibboleth.utilities.java.support.xml.XMLParserException
[ERROR] class file for net.shibboleth.utilities.java.support.xml.XMLParserException not found
[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 :shib-attribute-resolver-impl
Waiting for Jenkins to finish collecting data
No mail will be sent out, as 'java-shib-attribute-v5 » Shibboleth Attribute :: SAML Attribute Implementation #151' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Sending e-mails to: commits at shibboleth.net
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-shib-attribute-v5 » Shibboleth Attribute :: Attribute Resolver Spring Integration #151' 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-shib-attribute-v5 » Shibboleth Attribute :: Attribute Filter Spring Integration #151' 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-shib-attribute-v5 » Shibboleth Attribute :: BOM #151' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-shib-attribute-v5 » Shibboleth Attribute :: Attribute Filter Implementation #151' 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.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5/builds/151/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5/builds/151/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5/builds/151/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5/builds/151/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5/builds/151/testng/testng-results.xml'
TestNG Reports Processing: FINISH


More information about the commits mailing list