Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to sub config file paths/svc connection for public + sovereign live tests #41267

Merged
merged 1 commit into from
Aug 28, 2024

Default to sub config file paths/svc connection for public + sovereig…

e16085c
Select commit
Loading
Failed to load commit list.
Merged

Default to sub config file paths/svc connection for public + sovereign live tests #41267

Default to sub config file paths/svc connection for public + sovereig…
e16085c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / java - spring - compatibility-tests failed Aug 26, 2024 in 13m 39s

Build #20240826.5 had test failures

Details

Tests

  • Failed: 2 (0.01%)
  • Passed: 16,324 (99.60%)
  • Other: 63 (0.38%)
  • Total: 16,389

Annotations

Check failure on line 9481 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - spring - compatibility-tests

Build log #L9481

Build failed.

Check failure on line 11098 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - spring - compatibility-tests

Build log #L11098

Build failed.

Check failure on line 1 in refreshNoChangeAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - spring - compatibility-tests

refreshNoChangeAsync

Wanted but not invoked:
eventDataMock.getDoRefresh();
-> at com.azure.spring.cloud.appconfiguration.config.implementation.AppConfigurationRefreshUtil$RefreshEventData.getDoRefresh(AppConfigurationRefreshUtil.java:289)
Actually, there were zero interactions with this mock.
Raw output
Wanted but not invoked:
eventDataMock.getDoRefresh();
-> at com.azure.spring.cloud.appconfiguration.config.implementation.AppConfigurationRefreshUtil$RefreshEventData.getDoRefresh(AppConfigurationRefreshUtil.java:289)
Actually, there were zero interactions with this mock.

	at com.azure.spring.cloud.appconfiguration.config.implementation.AppConfigurationRefreshUtil$RefreshEventData.getDoRefresh(AppConfigurationRefreshUtil.java:289)
	at com.azure.spring.cloud.appconfiguration.config.implementation.AppConfigurationPullRefreshTest.refreshNoChangeAsync(AppConfigurationPullRefreshTest.java:80)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Check failure on line 1 in test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - spring - compatibility-tests

test

Failed to load ApplicationContext for [MergedContextConfiguration@5f24248d testClass = com.azure.spring.cloud.testcontainers.implementation.service.connection.cosmos.CosmosContainerConnectionDetailsFactoryTests, locations = [], classes = [com.azure.spring.cloud.testcontainers.implementation.service.connection.cosmos.CosmosContainerConnectionDetailsFactoryTests.Config], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [org.springframework.boot.testcontainers.service.connection.ServiceConnectionContextCustomizer@fdb2ad], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
Raw output
java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@5f24248d testClass = com.azure.spring.cloud.testcontainers.implementation.service.connection.cosmos.CosmosContainerConnectionDetailsFactoryTests, locations = [], classes = [com.azure.spring.cloud.testcontainers.implementation.service.connection.cosmos.CosmosContainerConnectionDetailsFactoryTests.Config], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [org.springframework.boot.testcontainers.service.connection.ServiceConnectionContextCustomizer@fdb2ad], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:180)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:142)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:98)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
	at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:163)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
	at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
	at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
	at java.base/java.util.Optional.orElseGet(Optional.java:364)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cosmosContainerConnectionDetailsFactoryTests.PersonRepository' defined in com.azure.spring.cloud.testcontainers.implementation.service.connection.cosmos.CosmosContainerConnectionDetailsFactoryTests$PersonRepository defined in @EnableCosmosRepositories declared on CosmosContainerConnectionDetailsFactoryTests.Config: Failed to instantiate [com.azure.spring.data.cosmos.repository.support.SimpleCosmosRepository]: Constructor threw exception
	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.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFact