Build #141

Build plan for MS Windows

Build: #141 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
5 minutes
Agent
bamboo-2k16-02
Revision
a15a6bfad805d72d94ae999ae0b7cd14e94f87a2 a15a6bfad805d72d94ae999ae0b7cd14e94f87a2
Total tests
3736
Fixed in
#156 (Code changes detected)

Tests

  • 3,736 tests in total
  • 1 test failed
  • 1 failure is new
  • 10 tests were quarantined / skipped
  • 2 minutes taken in total.
New test failures 1
Status Test Duration
Collapse Failed OptimisticLockingFailureTests testAsyncStopOfStartingJob History
2 secs
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException: org.springframework.batch.core.repository.JobExecutionAlreadyRunningException: A job execution for this job is already running: JobInstance: id=0, version=0, Job=[locking]
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException: A job execution for this job is already running: JobInstance: id=0, version=0, Job=[locking]
	at org.springframework.batch.core.repository.support.SimpleJobRepository.createJobExecution(SimpleJobRepository.java:122)
	at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
(55 more lines...)

Error summary

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

10 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\AbstractApplicationContextFactory.java:34: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\ClasspathXmlApplicationContextsFactoryBean.java:27: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\step\builder\SimpleStepBuilder.java:232: warning: [overloads] processor(ItemProcessor<? super I,? extends O>) in SimpleStepBuilder is potentially ambiguous with processor(Function<? super I,? extends O>) in SimpleStepBuilder
        public SimpleStepBuilder<I, O> processor(ItemProcessor<? super I, ? extends O> processor) {
                                       ^
  where I,O are type-variables:
    I extends Object declared in class SimpleStepBuilder
    O extends Object declared in class SimpleStepBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\AbstractApplicationContextFactory.java:75: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
                beanFactoryPostProcessorClasses.add(PropertyPlaceholderConfigurer.class);
                                                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\jsr\configuration\support\SpringAutowiredAnnotationBeanPostProcessor.java:264: warning: [deprecation] postProcessPropertyValues(PropertyValues,PropertyDescriptor[],Object,String) in InstantiationAwareBeanPostProcessorAdapter has been deprecated
    public PropertyValues postProcessPropertyValues(
                          ^
5 warnings
C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M3\63ff2e4cf81881c7a20b8e91e18c05f09a9e0eb7\spring-core-5.2.0.M3.jar(org/springframework/lang/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M3\63ff2e4cf81881c7a20b8e91e18c05f09a9e0eb7\spring-core-5.2.0.M3.jar(org/springframework/lang/NonNullApi.class): warning: Cannot find annotation method 'value()' in type 'TypeQualifierDefault': class file for javax.annotation.meta.TypeQualifierDefault not found
3 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\main\java\org\springframework\batch\integration\config\annotation\BatchIntegrationConfiguration.java:20: warning: [deprecation] RemoteChunkingMasterStepBuilderFactory in org.springframework.batch.integration.chunk has been deprecated
import org.springframework.batch.integration.chunk.RemoteChunkingMasterStepBuilderFactory;
                                                  ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\main\java\org\springframework\batch\integration\config\annotation\BatchIntegrationConfiguration.java:23: warning: [deprecation] RemotePartitioningMasterStepBuilderFactory in org.springframework.batch.integration.partition has been deprecated
import org.springframework.batch.integration.partition.RemotePartitioningMasterStepBuilderFactory;
                                                      ^
2 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:62: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").inputChannel(null);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:75: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").outputChannel(null);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:88: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").messagingTemplate(null);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:101: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").jobExplorer(null);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:114: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").pollInterval(-1);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                                                                  ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:149: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").partitionHandler(partitionHandler);
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:167: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-integration\src\test\java\org\springframework\batch\integration\partition\RemotePartitioningMasterStepBuilderTests.java:210: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
10 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\avro\builder\AvroItemWriterBuilderTests.java:117: warning: [rawtypes] found raw type: AvroItemWriterBuilder
                new AvroItemWriterBuilder()
                    ^
  missing type arguments for generic class AvroItemWriterBuilder<T>
  where T is a type-variable:
    T extends Object declared in class AvroItemWriterBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:275: warning: [rawtypes] found raw type: ListenableFuture
                List<ListenableFuture> futures = new ArrayList<>();
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:285: warning: [rawtypes] found raw type: ListenableFuture
                for (ListenableFuture future : futures) {
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
3 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\metrics\BatchMetrics.java:76: warning - Tag @link: reference not found: Timer.Sample
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\metrics\BatchMetrics.java:76: warning - Tag @link: reference not found: Timer.Sample
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\metrics\BatchMetrics.java:76: warning - Tag @link: reference not found: Timer.Sample

1909 tests completed, 1 failed, 7 skipped

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spring-batch-core:test'.
> There were failing tests. See the report at: file:///C:/opt/bamboo-home/xml-data/build-dir/BATCH-BATCHWIN-JOB1/spring-batch-core/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5m 45s