Build failed in Jenkins: java-shib-attribute-v5-multi » Oracle-17,Windows2022 #243

Shibboleth Jenkins noreply at shibboleth.net
Wed Feb 22 04:17:59 UTC 2023


See <http://127.0.0.1:1583/jenkins/job/java-shib-attribute-v5-multi/jdk=Oracle-17,label=Windows2022/243/display/redirect?page=changes>

Changes:

[Brent Putman] JSSH-16: Update to Apache HttpClient 5.x


------------------------------------------
[...truncated 12.81 KB...]
[INFO] Shibboleth Attribute Components                                    [pom]
[INFO] Shibboleth Attribute :: Attribute API                              [jar]
[INFO] Shibboleth Attribute :: Attribute Resolver API                     [jar]
[INFO] Shibboleth Attribute :: Attribute Filter API                       [jar]
[INFO] Shibboleth Attribute :: SAML Attribute API                         [jar]
[INFO] Shibboleth Attribute :: Attribute Implementation                   [jar]
[INFO] Shibboleth Attribute :: Testing                                    [jar]
[INFO] Shibboleth Attribute :: Attribute Resolver Implementation          [jar]
[INFO] Shibboleth Attribute :: SAML Attribute Implementation              [jar]
[INFO] Shibboleth Attribute :: Attribute Filter Implementation            [jar]
[INFO] Shibboleth Attribute :: Attribute Resolver Spring Integration      [jar]
[INFO] Shibboleth Attribute :: Attribute Filter Spring Integration        [jar]
[INFO] Shibboleth Attribute :: BOM                                        [pom]
[INFO] 
[INFO] ----------------< net.shibboleth:shib-attribute-parent >----------------
[INFO] Building Shibboleth Attribute Components 5.0.0-SNAPSHOT           [1/13]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 52 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-parent ---
[INFO] 
[INFO] -----------------< net.shibboleth:shib-attribute-api >------------------
[INFO] Building Shibboleth Attribute :: Attribute API 5.0.0-SNAPSHOT     [2/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-core-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-core-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 59 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-profile-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-profile-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 61 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-messaging-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-messaging-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 57 kB/s)
[WARNING] The POM for org.opensaml:opensaml-messaging-api:jar:5.0.0-20230221.012146-263 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 127 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking/9.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 110 kB/s)
[WARNING] The POM for net.shibboleth:shib-networking:jar:9.0.0-20230221.010449-170 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-saml-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-saml-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 59 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-security-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-security-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 59 kB/s)
[WARNING] The POM for org.opensaml:opensaml-security-api:jar:5.0.0-20230221.012146-263 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-soap-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-soap-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 51 kB/s)
[WARNING] The POM for org.opensaml:opensaml-soap-api:jar:5.0.0-20230221.012146-263 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-xmlsec-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-xmlsec-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 61 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-spring/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-spring/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 59 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-testing/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-testing/5.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 45 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-storage-api/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-storage-api/5.0.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 49 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-saml-impl/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-saml-impl/5.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 61 kB/s)
[WARNING] The POM for org.opensaml:opensaml-saml-impl:jar:5.0.0-20230221.012146-263 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-api ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-attribute-api ---
[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-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 39 source files to C:\opt\jenkins\workspace\java-shib-attribute-v5-multi\jdk\Oracle-17\label\Windows2022\shib-attribute-api\target\classes
[INFO] /C:/opt/jenkins/workspace/java-shib-attribute-v5-multi/jdk/Oracle-17/label/Windows2022/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/config/AbstractMetadataDrivenConfigurationLookupStrategy.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-shib-attribute-v5-multi/jdk/Oracle-17/label/Windows2022/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/config/AbstractMetadataDrivenConfigurationLookupStrategy.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-attribute-api ---
[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:testCompile (default-testCompile) @ shib-attribute-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to C:\opt\jenkins\workspace\java-shib-attribute-v5-multi\jdk\Oracle-17\label\Windows2022\shib-attribute-api\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ shib-attribute-api ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 21, Time elapsed: 9.777 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.idp.attribute.AttributeTest.initOpenSAML  Time elapsed: 9.477 s  <<< FAILURE!
org.opensaml.core.config.InitializationException: Problem loading configuration resource
	at org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:66)
	at org.opensaml.core.config.InitializationService.initialize(InitializationService.java:57)
	at org.opensaml.core.testing.OpenSAMLInitBaseTestCase.initOpenSAML(OpenSAMLInitBaseTestCase.java:36)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:65)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:381)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:319)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:368)
	at org.testng.SuiteRunner.run(SuiteRunner.java:326)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
	at org.testng.TestNG.runSuites(TestNG.java:1092)
	at org.testng.TestNG.run(TestNG.java:1060)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:151)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:192)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:93)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Caused by: org.opensaml.core.xml.config.XMLConfigurationException: Cannot create instance of org.opensaml.core.xml.schema.impl.XSAnyBuilder
	at org.opensaml.core.xml.config.XMLConfigurator.createClassInstance(XMLConfigurator.java:321)
	at org.opensaml.core.xml.config.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:243)
	at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:207)
	at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:191)
	at org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:165)
	at org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:56)
	... 26 more
Caused by: java.lang.ClassNotFoundException: org.opensaml.core.xml.schema.impl.XSAnyBuilder
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at org.opensaml.core.xml.config.XMLConfigurator.createClassInstance(XMLConfigurator.java:315)
	... 31 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   AttributeTest>OpenSAMLInitBaseTestCase.initOpenSAML:36 » Initialization Problem loading configuration resource
[INFO] 
[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 21
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Resolver API
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Filter API
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: SAML Attribute API
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Testing
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Resolver Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: SAML Attribute Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Filter Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Resolver Spring Integration
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Attribute :: Attribute Filter Spring Integration
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] -----------------< net.shibboleth:shib-attribute-bom >------------------
[INFO] Building Shibboleth Attribute :: BOM 5.0.0-SNAPSHOT               [3/13]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-attribute-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-attribute-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-attribute-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Attribute Components 5.0.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Attribute Components .................... SUCCESS [  0.719 s]
[INFO] Shibboleth Attribute :: Attribute API .............. FAILURE [ 15.257 s]
[INFO] Shibboleth Attribute :: Attribute Resolver API ..... SKIPPED
[INFO] Shibboleth Attribute :: Attribute Filter API ....... SKIPPED
[INFO] Shibboleth Attribute :: SAML Attribute API ......... SKIPPED
[INFO] Shibboleth Attribute :: Attribute Implementation ... SKIPPED
[INFO] Shibboleth Attribute :: Testing .................... SKIPPED
[INFO] Shibboleth Attribute :: Attribute Resolver Implementation SKIPPED
[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 ........................ SUCCESS [  0.182 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  25.343 s
[INFO] Finished at: 2023-02-22T04:17:59Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project shib-attribute-api: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-shib-attribute-v5-multi\jdk\Oracle-17\label\Windows2022\shib-attribute-api\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :shib-attribute-api
Build step 'Invoke top-level Maven targets' marked build as failure
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
Saving reports...
Processing '/var/lib/jenkins/jobs/java-shib-attribute-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/243/testng/testng-results.xml'
TestNG Reports Processing: FINISH


More information about the commits mailing list