Build failed in Jenkins: java-shib-metadata-v5-multi » OpenJDK-22,Windows2022 #877

Shibboleth Jenkins noreply at shibboleth.net
Thu Nov 7 02:27:08 UTC 2024


See <http://127.0.0.1:1583/jenkins/job/java-shib-metadata-v5-multi/jdk=OpenJDK-22,label=Windows2022/877/display/redirect?page=changes>

Changes:

[Brent Putman] JSMD-11: Add support for HttpClient responseTimeout


------------------------------------------
[...truncated 26.50 KiB...]
[INFO] --- compiler:3.10.1:compile (default-compile) @ shib-metadata-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-impl\target\classes
[INFO] 
[INFO] --- resources:3.2.0:testResources (default-testResources) @ shib-metadata-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 20 resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ shib-metadata-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-impl\target\test-classes
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ shib-metadata-impl ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.77 s -- in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ----------------< net.shibboleth:shib-metadata-testing >----------------
[INFO] Building Shibboleth Metadata :: Testing 5.2.0-SNAPSHOT             [4/6]
[INFO]   from shib-metadata-testing\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-testing/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.2.0-SNAPSHOT/maven-metadata.xml (2.0 kB at 49 kB/s)
[INFO] 
[INFO] --- clean:3.1.0:clean (default-clean) @ shib-metadata-testing ---
[INFO] Deleting C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-testing\target
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ shib-metadata-testing ---
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-testing ---
[INFO] 
[INFO] --- resources:3.2.0:resources (default-resources) @ shib-metadata-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 C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-testing\src\main\resources
[INFO] 
[INFO] --- compiler:3.10.1:compile (default-compile) @ shib-metadata-testing ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-testing\target\classes
[INFO] 
[INFO] --- resources:3.2.0:testResources (default-testResources) @ shib-metadata-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 C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-testing\src\test\resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ shib-metadata-testing ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ shib-metadata-testing ---
[INFO] No tests to run.
[INFO] 
[INFO] ----------------< net.shibboleth:shib-metadata-spring >-----------------
[INFO] Building Shibboleth Metadata :: Spring Integration 5.2.0-SNAPSHOT  [5/6]
[INFO]   from shib-metadata-spring\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-spring/5.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/org/opensaml/opensaml-spring/5.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-spring/5.2.0-SNAPSHOT/maven-metadata.xml (2.0 kB at 87 kB/s)
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-networking-spring/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking-spring/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking-spring/9.2.0-SNAPSHOT/maven-metadata.xml (2.0 kB at 96 kB/s)
[INFO] Downloading from shibboleth-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 75 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/shib-velocity-spring-9.2.0-20241107.010539-124.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/shib-velocity-spring-9.2.0-20241107.010539-124.pom (2.3 kB at 92 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/shib-velocity-spring-9.2.0-20241107.010539-124.jar
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.2.0-SNAPSHOT/shib-velocity-spring-9.2.0-20241107.010539-124.jar (19 kB at 813 kB/s)
[INFO] 
[INFO] --- clean:3.1.0:clean (default-clean) @ shib-metadata-spring ---
[INFO] Deleting C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-spring\target
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ shib-metadata-spring ---
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-spring ---
[INFO] 
[INFO] --- resources:3.2.0:resources (default-resources) @ shib-metadata-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- compiler:3.10.1:compile (default-compile) @ shib-metadata-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 65 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-spring\target\classes
[INFO] 
[INFO] --- resources:3.2.0:testResources (default-testResources) @ shib-metadata-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 196 resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ shib-metadata-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 38 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-spring\target\test-classes
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ shib-metadata-spring ---
[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: 153, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.12 s <<< FAILURE! -- in TestSuite
[ERROR] net.shibboleth.spring.metadata.FileBackedHTTPMetadataProviderParserTest.httpsTrustEngineValidPKIX -- Time elapsed: 0.077 s <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HTTPSEntity': Cannot create inner bean '(inner bean)#614cd187' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver] while setting bean property 'embeddedResolver'
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanValue(BeanDefinitionValueResolver.java:421)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.lambda$resolveValueIfNecessary$1(BeanDefinitionValueResolver.java:153)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:262)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:152)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1705)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1454)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:225)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1323)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1284)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:486)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:341)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:334)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1261)
	at net.shibboleth.spring.metadata.AbstractMetadataParserTest.getBean(AbstractMetadataParserTest.java:160)
	at net.shibboleth.spring.metadata.FileBackedHTTPMetadataProviderParserTest.httpsTrustEngineValidPKIX(FileBackedHTTPMetadataProviderParserTest.java:239)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
	at org.testng.TestRunner.privateRun(TestRunner.java:829)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
	at org.testng.TestNG.runSuites(TestNG.java:1099)
	at org.testng.TestNG.run(TestNG.java:1067)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:169)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:88)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#614cd187': Error refreshing metadata during init
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1806)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanValue(BeanDefinitionValueResolver.java:407)
	... 50 more
Caused by: net.shibboleth.shared.component.ComponentInitializationException: Error refreshing metadata during init
	at org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver.initMetadataResolver(AbstractReloadingMetadataResolver.java:342)
	at org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver.initMetadataResolver(FileBackedHTTPMetadataResolver.java:204)
	at org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.doInitialize(AbstractMetadataResolver.java:373)
	at net.shibboleth.shared.component.AbstractInitializableComponent.initialize(AbstractInitializableComponent.java:62)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1910)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802)
	... 53 more
Caused by: net.shibboleth.shared.resolver.ResolverException: Exception during refresh
	at org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver.refresh(AbstractReloadingMetadataResolver.java:398)
	at org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver.initMetadataResolver(AbstractReloadingMetadataResolver.java:340)
	... 61 more
Caused by: net.shibboleth.shared.resolver.ResolverException: Unable to read metadata from remote server and backup does not exist
	at org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver.fetchMetadata(FileBackedHTTPMetadataResolver.java:315)
	at org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver.refresh(AbstractReloadingMetadataResolver.java:382)
	... 62 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   FileBackedHTTPMetadataProviderParserTest.httpsTrustEngineValidPKIX:239->AbstractMetadataParserTest.getBean:160 » BeanCreation Error creating bean with name 'HTTPSEntity': Cannot create inner bean '(inner bean)#614cd187' of type [org.opensaml.saml.metadata.resolver.impl.FileBackedHTTPMetadataResolver] while setting bean property 'embeddedResolver'
[INFO] 
[ERROR] Tests run: 153, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------< net.shibboleth:shib-metadata-bom >------------------
[INFO] Building Shibboleth Metadata :: BOM 5.2.0-SNAPSHOT                 [6/6]
[INFO]   from shib-metadata-bom\pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.1.0:clean (default-clean) @ shib-metadata-bom ---
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ shib-metadata-bom ---
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Metadata Components 5.2.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Metadata Components ..................... SUCCESS [  0.936 s]
[INFO] Shibboleth Metadata :: API ......................... SUCCESS [ 16.596 s]
[INFO] Shibboleth Metadata :: Implementation .............. SUCCESS [ 15.039 s]
[INFO] Shibboleth Metadata :: Testing ..................... SUCCESS [  0.631 s]
[INFO] Shibboleth Metadata :: Spring Integration .......... FAILURE [ 39.127 s]
[INFO] Shibboleth Metadata :: BOM ......................... SUCCESS [  0.222 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:21 min
[INFO] Finished at: 2024-11-07T02:27:08Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project shib-metadata-spring: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\OpenJDK-22\label\Windows2022\shib-metadata-spring\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-metadata-spring
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-metadata-v5-multi/configurations/axis-jdk/OpenJDK-22/axis-label/Windows2022/builds/877/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-shib-metadata-v5-multi/configurations/axis-jdk/OpenJDK-22/axis-label/Windows2022/builds/877/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-shib-metadata-v5-multi/configurations/axis-jdk/OpenJDK-22/axis-label/Windows2022/builds/877/testng/testng-results.xml'
0.495050% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list