Build #159

Build plan for MS Windows

Build: #159 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Agent
bamboo-2k16-02
Revision
3466f32fbab3ffa568999d2fa1674b83ca29d379 3466f32fbab3ffa568999d2fa1674b83ca29d379
Total tests
3796
Failing since
#157 (Code changes detected – )
Fixed in
#177 (Code changes detected)

Tests

  • 3,796 tests in total
  • 1 test failed
  • 1 failure is new
  • 1 test was fixed
  • 10 tests were quarantined / skipped
  • 3 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:121)
	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...)
Fixed tests 1
Status Test Failing since Duration
Successful JsrPartitionHandlerTests testPollingPartitionsCompletion History
Failing since build #157 (Code changes detected) 1 sec

Error summary

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

C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\data\builder\MongoItemReaderBuilderTests.java:103: warning: [deprecation] getHint() in Query has been deprecated
                assertEquals("{ $natural : 1}", query.getHint());
                                                     ^
C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RELEASE\e0e1b3c304f70ed19d7905975f6f990916ada219\spring-core-5.2.0.RELEASE.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
2 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:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RELEASE\e0e1b3c304f70ed19d7905975f6f990916ada219\spring-core-5.2.0.RELEASE.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
2 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\data\MongoItemReaderTests.java:194: warning: [deprecation] getHint() in Query has been deprecated
                assertEquals("{ $natural : 1}", query.getHint());
                                                     ^
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-core\src\test\java\org\springframework\batch\core\resource\ListPreparedStatementSetterTests.java:37: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
import org.springframework.batch.item.database.support.ListPreparedStatementSetter;
                                                      ^
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
5 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\test\java\org\springframework\batch\core\resource\ListPreparedStatementSetterTests.java:55: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
        ListPreparedStatementSetter pss;
        ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\test\java\org\springframework\batch\core\resource\ListPreparedStatementSetterTests.java:81: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
                pss = new ListPreparedStatementSetter(parameters);
                          ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\test\java\org\springframework\batch\core\resource\ListPreparedStatementSetterTests.java:105: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
                pss = new ListPreparedStatementSetter(null);
                          ^
4 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:73: 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:73: 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:73: warning - Tag @link: reference not found: Timer.Sample
C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RELEASE\e0e1b3c304f70ed19d7905975f6f990916ada219\spring-core-5.2.0.RELEASE.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
2 warnings

1913 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 3m 8s