Build #539

Builds the Spring Cloud Task project

Build: #539 failed

Job: Build Spring Cloud Task Project failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Agent
bamboo-24.af.pivotal.io
Revision
7aa08f08e47c7f805c0a00f5f7c6ca6421ffbe5b 7aa08f08e47c7f805c0a00f5f7c6ca6421ffbe5b
Total tests
324
Fixed in
#541 (Manual run by Glenn Renfro)

Tests

  • 324 tests in total
  • 6 tests failed
  • 6 failures are new
  • 1 minute taken in total.
New test failures 6
Status Test Duration
Collapse Failed TaskBatchEventListenerBeanPostProcessorTests testPostProcessor History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Collapse Failed TaskLauncherSinkTests testInvalidJar History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'functionSupport' defined in class path resource [org/springframework/cloud/stream/function/FunctionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Collapse Failed TaskLauncherSinkTests testNoRun History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'functionSupport' defined in class path resource [org/springframework/cloud/stream/function/FunctionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Collapse Failed TaskLauncherSinkTests testSuccessNoParams History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'functionSupport' defined in class path resource [org/springframework/cloud/stream/function/FunctionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Collapse Failed TaskLauncherSinkTests testSuccessWithAppName History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'functionSupport' defined in class path resource [org/springframework/cloud/stream/function/FunctionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Collapse Failed TaskLauncherSinkTests testSuccessWithParams History
< 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'functionSupport' defined in class path resource [org/springframework/cloud/stream/function/FunctionConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.function.IntegrationFlowFunctionSupport]: Factory method 'functionSupport' threw exception; nested exception is java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton
Caused by: java.lang.ClassCastException: org.springframework.cloud.function.context.catalog.BeanFactoryAwareFunctionRegistry cannot be cast to org.springframework.beans.factory.SmartInitializingSingleton

Error summary

The build generated some errors. See the full build log for more details.

Jul 28, 2019 3:36:05 AM org.junit.platform.launcher.core.DefaultLauncher handleThrowable
WARNING: TestEngine with ID 'junit-jupiter' failed to discover tests
java.lang.NoClassDefFoundError: org/junit/jupiter/api/MethodOrdererContext
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.lambda$static$2(DiscoverySelectorResolver.java:39)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.lambda$instantiate$0(EngineDiscoveryRequestResolver.java:117)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.instantiate(EngineDiscoveryRequestResolver.java:117)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:111)
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:45)
        at org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot(DefaultLauncher.java:168)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:155)
        at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:120)
        at org.apache.maven.surefire.junitplatform.TestPlanScannerFilter.accept(TestPlanScannerFilter.java:56)
        at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:102)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.scanClasspath(JUnitPlatformProvider.java:143)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.MethodOrdererContext
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 24 more

Jul 28, 2019 3:36:05 AM org.junit.platform.launcher.core.DefaultLauncher handleThrowable
WARNING: TestEngine with ID 'junit-jupiter' failed to discover tests
java.lang.NoClassDefFoundError: org/junit/jupiter/api/MethodOrdererContext
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.lambda$static$2(DiscoverySelectorResolver.java:39)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.lambda$instantiate$0(EngineDiscoveryRequestResolver.java:117)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.instantiate(EngineDiscoveryRequestResolver.java:117)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:111)
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:45)
        at org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot(DefaultLauncher.java:168)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:155)
        at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:120)
        at org.apache.maven.surefire.junitplatform.TestPlanScannerFilter.accept(TestPlanScannerFilter.java:56)
        at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:102)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.scanClasspath(JUnitPlatformProvider.java:143)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.MethodOrdererContext
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 24 more

Jul 28, 2019 3:36:05 AM org.junit.platform.launcher.core.DefaultLauncher handleThrowable
WARNING: TestEngine with ID 'junit-jupiter' failed to discover tests
java.lang.NoClassDefFoundError: org/junit/jupiter/api/MethodOrdererContext
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.lambda$static$2(DiscoverySelectorResolver.java:39)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.lambda$instantiate$0(EngineDiscoveryRequestResolver.java:117)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.instantiate(EngineDiscoveryRequestResolver.java:117)
        at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:111)
        at org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:45)
        at org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot(DefaultLauncher.java:168)
        at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:155)
        at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
        at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.MethodOrdererContext
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 22 more