Build plan for MS Windows
Build: #128 failed
Job: Default Job failed
Job result summary
- Completed
- Duration
- 5 minutes
- Revision
-
9135423424fe9a608446f70c4584219ae212d84f
9135423424fe9a608446f70c4584219ae212d84f - Total tests
- 3738
- Failing since
- #124 (Code changes detected – )
- Fixed in
- #129 (Code changes detected)
Tests
- 3,738 tests in total
- 2 tests failed
- 2 failures are new
- 1 test was fixed
- 10 tests were quarantined / skipped
- 4 minutes taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
JsrSplitParsingTests
test
|
< 1 sec | |
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...) |
|||
Collapse |
KafkaItemReaderTests
testReadFromMultiplePartitionsAfterRestart
|
3 secs | |
java.lang.AssertionError: java.lang.AssertionError: Expected: iterable over ["val4", "val6", "val7"] in any order but: Not matched: null java.lang.AssertionError: Expected: iterable over ["val4", "val6", "val7"] in any order but: Not matched: null at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:956) (51 more lines...) |
Status | Test | Failing since | Duration |
---|---|---|---|
SplitInterruptedJobParserTests
testSplitInterrupted
|
Failing since build #126 (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\main\java\org\springframework\batch\item\data\MongoItemReader.java:26: warning: [deprecation] JSON in com.mongodb.util has been deprecated
import com.mongodb.util.JSON;
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:23: warning: [deprecation] Query in org.hibernate has been deprecated
import org.hibernate.Query;
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:264: warning: [deprecation] JSON in com.mongodb.util has been deprecated
return JSON.serialize(values.get(index));
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:43: warning: [rawtypes] found raw type: RepositoryMethodReference
private RepositoryMethodReference repositoryMethodReference;
^
missing type arguments for generic class RepositoryMethodReference<T>
where T is a type-variable:
T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:90: warning: [rawtypes] found raw type: RepositoryMethodReference
public RepositoryItemWriterBuilder<T> repository(RepositoryItemWriterBuilder.RepositoryMethodReference repositoryMethodReference) {
^
missing type arguments for generic class RepositoryMethodReference<T>
where T is a type-variable:
T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:104: warning: [unchecked] unchecked conversion
this.repository = this.repositoryMethodReference.getRepository();
^
required: CrudRepository<T,?>
found: CrudRepository
where T is a type-variable:
T extends Object declared in class RepositoryItemWriterBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:123: warning: [deprecation] Query in org.hibernate has been deprecated
Query query = createQuery();
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:135: warning: [deprecation] Query in org.hibernate has been deprecated
public Query createQuery() {
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:222: warning: [deprecation] Query in org.hibernate has been deprecated
Query query = createQuery();
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\kafka\KafkaItemReader.java:150: warning: [unchecked] unchecked cast
Map<TopicPartition, Long> offsets = (Map<TopicPartition, Long>) executionContext.get(TOPIC_PARTITION_OFFSETS);
^
required: Map<TopicPartition,Long>
found: Object
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:\Users\bamboo\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M2\9a84d456ad8d5151da06fc8a85540da9cc95d734\spring-core-5.2.0.M2.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:\Users\bamboo\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M2\9a84d456ad8d5151da06fc8a85540da9cc95d734\spring-core-5.2.0.M2.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-core\src\main\java\org\springframework\batch\core\metrics\BatchMetrics.java:67: 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:67: 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:67: warning - Tag @link: reference not found: Timer.Sample
1903 tests completed, 1 failed, 7 skipped
1528 tests completed, 1 failed, 1 skipped
FAILURE: Build completed with 2 failures.
1: 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.
==============================================================================
2: Task 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 6s
import com.mongodb.util.JSON;
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:23: warning: [deprecation] Query in org.hibernate has been deprecated
import org.hibernate.Query;
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:264: warning: [deprecation] JSON in com.mongodb.util has been deprecated
return JSON.serialize(values.get(index));
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:43: warning: [rawtypes] found raw type: RepositoryMethodReference
private RepositoryMethodReference repositoryMethodReference;
^
missing type arguments for generic class RepositoryMethodReference<T>
where T is a type-variable:
T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:90: warning: [rawtypes] found raw type: RepositoryMethodReference
public RepositoryItemWriterBuilder<T> repository(RepositoryItemWriterBuilder.RepositoryMethodReference repositoryMethodReference) {
^
missing type arguments for generic class RepositoryMethodReference<T>
where T is a type-variable:
T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:104: warning: [unchecked] unchecked conversion
this.repository = this.repositoryMethodReference.getRepository();
^
required: CrudRepository<T,?>
found: CrudRepository
where T is a type-variable:
T extends Object declared in class RepositoryItemWriterBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:123: warning: [deprecation] Query in org.hibernate has been deprecated
Query query = createQuery();
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:135: warning: [deprecation] Query in org.hibernate has been deprecated
public Query createQuery() {
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:222: warning: [deprecation] Query in org.hibernate has been deprecated
Query query = createQuery();
^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\kafka\KafkaItemReader.java:150: warning: [unchecked] unchecked cast
Map<TopicPartition, Long> offsets = (Map<TopicPartition, Long>) executionContext.get(TOPIC_PARTITION_OFFSETS);
^
required: Map<TopicPartition,Long>
found: Object
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:\Users\bamboo\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M2\9a84d456ad8d5151da06fc8a85540da9cc95d734\spring-core-5.2.0.M2.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:\Users\bamboo\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.2.0.M2\9a84d456ad8d5151da06fc8a85540da9cc95d734\spring-core-5.2.0.M2.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-core\src\main\java\org\springframework\batch\core\metrics\BatchMetrics.java:67: 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:67: 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:67: warning - Tag @link: reference not found: Timer.Sample
1903 tests completed, 1 failed, 7 skipped
1528 tests completed, 1 failed, 1 skipped
FAILURE: Build completed with 2 failures.
1: 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.
==============================================================================
2: Task 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 6s