Build #147

Build plan for MS Windows

Build: #147 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Agent
bamboo-2k16-02
Revision
85a4301c4c09f0feb1bd182626996ebf7cb472bd 85a4301c4c09f0feb1bd182626996ebf7cb472bd
Total tests
3657
Failing since
#141 (Code changes detected – )
Fixed in
#156 (Code changes detected)

Tests

  • 3,657 tests in total
  • 2 tests failed
  • 1 failure is new
  • 1 test was fixed
  • 10 tests were quarantined / skipped
  • 4 minutes taken in total.
New test failures 1
Status Test Duration
Collapse Failed RetryRepeatTransactionalPollingIntegrationTests testSunnyDay History
< 1 sec
java.lang.AssertionError: java.lang.AssertionError: expected:<4> but was:<0>
java.lang.AssertionError: expected:<4> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.springframework.batch.integration.retry.RetryRepeatTransactionalPollingIntegrationTests.testSunnyDay(RetryRepeatTransactionalPollingIntegrationTests.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(53 more lines...)
Existing test failures 1
Status Test Failing since Duration
java.lang.AssertionError: java.lang.AssertionError: expected:<COMPLETED> but was:<FAILED>
java.lang.AssertionError: expected:<COMPLETED> but was:<FAILED>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.springframework.batch.core.jsr.configuration.xml.JsrSplitParsingTests.test(JsrSplitParsingTests.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(46 more lines...)
Fixed tests 1
Status Test Failing since Duration
Successful ConcurrentTransactionAwareProxyTests testConcurrentTransactionalSet History
Failing since build #146 (Code changes detected) < 1 sec

Error summary

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

                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:\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
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-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, 1 failed, 7 skipped

133 tests completed, 1 failed, 2 skipped

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-batch-integration:test'.
> There were failing tests. See the report at: file:///C:/opt/bamboo-home/xml-data/build-dir/BATCH-BATCHWIN-JOB1/spring-batch-integration/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.
==============================================================================

2: Task 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 47s