Build #241

Build plan for MS Windows

Build: #241 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
5 minutes
Agent
bamboo-2k16-02
Revision
ac485ee326b1d75b1d83326998b84b8076c82c90 ac485ee326b1d75b1d83326998b84b8076c82c90
Total tests
3542
Failing since
#233 (Code changes detected – )

Tests

  • 3,542 tests in total
  • 4 tests failed
  • 4 failures are new
  • 1 test was fixed
  • 8 tests were quarantined / skipped
  • 1 minute taken in total.
New test failures 4
Status Test Duration
Collapse Failed KafkaItemReaderTests testReadFromMultiplePartitions History
4 secs
java.lang.AssertionError: java.lang.AssertionError: 
Expected: iterable with items ["val0", "val1", "val2", "val3"] in any order
     but: not matched: null
java.lang.AssertionError: 
Expected: iterable with items ["val0", "val1", "val2", "val3"] in any order
     but: not matched: null
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:964)
(54 more lines...)
Collapse Failed KafkaItemReaderTests testReadFromMultiplePartitionsAfterRestart History
< 1 sec
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.springframework.kafka.core.KafkaProducerException: Failed to send; nested exception is org.apache.kafka.common.errors.UnknownServerException: The server experienced an unexpected error when processing the request.
java.util.concurrent.ExecutionException: org.springframework.kafka.core.KafkaProducerException: Failed to send; nested exception is org.apache.kafka.common.errors.UnknownServerException: The server experienced an unexpected error when processing the request.
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.springframework.util.concurrent.SettableListenableFuture.get(SettableListenableFuture.java:119)
	at org.springframework.batch.item.kafka.KafkaItemReaderTests.testReadFromMultiplePartitionsAfterRestart(KafkaItemReaderTests.java:286)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(68 more lines...)
Collapse Failed KafkaItemReaderTests testReadFromSinglePartition History
1 sec
java.lang.AssertionError: java.lang.AssertionError: 
Expected: is "val0"
     but: was null
java.lang.AssertionError: 
Expected: is "val0"
     but: was null
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:964)
(54 more lines...)
Collapse Failed KafkaItemReaderTests testReadFromSinglePartitionAfterRestart History
3 secs
java.lang.AssertionError: java.lang.AssertionError: 
Expected: iterable with items ["val2", "val3", "val4"] in any order
     but: not matched: null
java.lang.AssertionError: 
Expected: iterable with items ["val2", "val3", "val4"] in any order
     but: not matched: null
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:964)
(54 more lines...)
Fixed tests 1
Status Test Failing since Duration
Successful JsrPartitionHandlerTests testPollingPartitionsCompletion History
Failing since build #233 (Code changes detected) 1 sec

Error summary

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

        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\builder\KafkaItemReaderBuilderTests.java:47: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException thrown = ExpectedException.none();
                                                           ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\builder\KafkaItemWriterBuilderTests.java:40: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException thrown = ExpectedException.none();
                                                           ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:198: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(item, is("val0"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:201: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(item, is("val1"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:204: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(item, is("val2"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:207: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(item, is("val3"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:232: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(items, containsInAnyOrder("val0", "val1", "val2", "val3"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:266: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(items, containsInAnyOrder("val2", "val3", "val4"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\kafka\KafkaItemReaderTests.java:312: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(items, containsInAnyOrder("val4", "val6", "val7"));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\support\AbstractSynchronizedItemStreamWriterTests.java:43: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\item\xml\StaxEventItemReaderTests.java:636: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                        Assert.assertThat(e.getMessage(), Matchers.containsString("Undeclared general entity \"entityex\""));
                              ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:43: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                              ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:63: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                              ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:82: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                              ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:115: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                              ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:145: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                        TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                                      ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:170: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                        TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                                      ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\test\java\org\springframework\batch\support\transaction\ResourcelessTransactionManagerTests.java:206: warning: [deprecation] TransactionSynchronizationAdapter in org.springframework.transaction.support has been deprecated
                                        TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
                                                                                                      ^
46 warnings

1623 tests completed, 4 failed, 1 skipped

FAILURE: Build failed with an exception.

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