Build #150

Build plan for MS Windows

Build: #150 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
bamboo-2k16-02
Revision
230614182667378924ec557913df75b72af0ddc5 230614182667378924ec557913df75b72af0ddc5
Total tests
3796
Failing since
#141 (Code changes detected – )
Fixed in
#156 (Code changes detected)

Tests

  • 3,796 tests in total
  • 2 tests failed
  • 1 failure is new
  • 2 tests were fixed
  • 10 tests were quarantined / skipped
  • 3 minutes taken in total.
New test failures 1
Status Test Duration
Collapse Failed JsrPartitionHandlerTests testPollingPartitionsCompletion History
< 1 sec
java.lang.AssertionError: java.lang.AssertionError
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.springframework.batch.core.jsr.partition.JsrPartitionHandlerTests.testPollingPartitionsCompletion(JsrPartitionHandlerTests.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(44 more lines...)
Existing test failures 1
Status Test Failing since Duration
org.junit.ComparisonFailure: org.junit.ComparisonFailure: expected:<[STOPPED]> but was:<[NOOP]>
org.junit.ComparisonFailure: expected:<[STOPPED]> but was:<[NOOP]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.springframework.batch.core.configuration.xml.SplitInterruptedJobParserTests.testSplitInterrupted(SplitInterruptedJobParserTests.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(51 more lines...)
Fixed tests 2
Status Test Failing since Duration
Successful RetryTransactionalPollingIntegrationTests testRollback History
Failing since build #149 (Code changes detected) < 1 sec
Successful TransactionalPollingIntegrationTests testRollback History
Failing since build #149 (Code changes detected) < 1 sec

Error summary

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

                                           ^
6 warnings
C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RC2\338a5bc5b73b608ddf5e24003c5661f0dd45da4b\spring-core-5.2.0.RC2.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.RC2\338a5bc5b73b608ddf5e24003c5661f0dd45da4b\spring-core-5.2.0.RC2.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-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\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.RC2\338a5bc5b73b608ddf5e24003c5661f0dd45da4b\spring-core-5.2.0.RC2.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:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RC2\338a5bc5b73b608ddf5e24003c5661f0dd45da4b\spring-core-5.2.0.RC2.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:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.RC2\338a5bc5b73b608ddf5e24003c5661f0dd45da4b\spring-core-5.2.0.RC2.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:\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-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\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

1913 tests completed, 2 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 55s