Plan for building against test branches

Build: #46 failed Manual run by Artem Bilan

Build result summary

Details

Completed
Duration
17 minutes
Labels
None
Revision
29b2c7665b8bc374f25d8d80db926c3095cb31f9 29b2c7665b8bc374f25d8d80db926c3095cb31f9
Total tests
4724
Fixed in
#50 (Manual run by Artem Bilan)

Tests

Responsible

Code commits

Author Commit Message Commit date
[unknown] [unknown] 29b2c7665b8bc374f25d8d80db926c3095cb31f9 29b2c7665b8bc374f25d8d80db926c3095cb31f9 Bamboo was unable to extract changes between revision 4aee8416a4db9dc72d83019acb75a3e10b082720 and 29b2c7665b8bc374f25d8d80db926c3095cb31f9.
Artem Bilan Artem Bilan 29b2c7665b8bc374f25d8d80db926c3095cb31f9 29b2c7665b8bc374f25d8d80db926c3095cb31f9 Fix IntegrationFlowContext concurrency issue
When we register `IntegrationFlow` s concurrently at runtime, we may
end up with the problem when we register the same object with the same
bean name, but in different places.
Or when we turn off bean overriding, we end up with the exception that
bean with the name already registered

* Wrap `IntegrationFlow` bean registration in the
`StandardIntegrationFlowContext` into the `Lock` when its bean name
is generating
* Make `StandardIntegrationFlowContext.registry` as `ConcurrentHashMap`
to avoid `ConcurrentModificationException` during `put()` and `remove()`
* Fix concurrency for beans registration with the generation names in
the `IntegrationFlowBeanPostProcessor` using an `IntegrationFlow` id
as a prefix for uniqueness.

**Cherry-pick to 5.0.x**

Tests

New test failures 4
Status Test View job Duration
Collapse Failed WebFluxDslTests testHttpReactiveProxyFlow History
Default Job < 1 sec
org.springframework.beans.factory.BeanCreationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:399)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
(74 more lines...)
Collapse Failed WebFluxDslTests testWebFluxFlowWithReplyPayloadToFlux History
Default Job < 1 sec
org.springframework.beans.factory.BeanCreationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:399)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
(74 more lines...)
Collapse Failed WebFluxDslTests testHttpReactivePost History
Default Job < 1 sec
org.springframework.beans.factory.BeanCreationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:399)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
(74 more lines...)
Collapse Failed WebFluxDslTests testSse History
Default Job < 1 sec
org.springframework.beans.factory.BeanCreationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.webflux.dsl.WebFluxDslTests': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.integration.webflux.outbound.WebFluxRequestExecutingMessageHandler#1' available
	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:399)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
(74 more lines...)