Build #233

Build: #233 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Agent
bamboo-21.af.pivotal.io
Revision
c4a440ef780563db1ae03e074ad5c526dc2ec745 c4a440ef780563db1ae03e074ad5c526dc2ec745
Total tests
1916
Fixed in
#235 (Scheduled)

Tests

  • 1,916 tests in total
  • 1 test failed
  • 1 failure is new
  • 7 tests were quarantined / skipped
  • 44 seconds taken in total.
New test failures 1
Status Test Duration
Collapse Failed JsrSplitParsingTests test History
< 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:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.springframework.batch.core.jsr.configuration.xml.JsrSplitParsingTests.test(JsrSplitParsingTests.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(48 more lines...)

Error summary

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

        private static final Set<String> TRUSTED_CLASS_NAMES = Collections.unmodifiableSet(new HashSet(Arrays.asList(
                                                                                          ^
  required: Set<String>
  found:    Set
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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);
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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(
                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:543: warning: [deprecation] resolveParameterType(MethodParameter,Class<?>) in GenericTypeResolver has been deprecated
                        GenericTypeResolver.resolveParameterType(methodParam, bean.getClass());
                                           ^
15 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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;
                                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemReaderBuilder.java:104: warning: no @return
        public AvroItemReaderBuilder<T> embeddedSchema(boolean embeddedSchema) {
                                        ^
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.7.RELEASE/56e14a3a5e2813534b5db2da1502cd58ab5bc61d/spring-core-5.2.7.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
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.7.RELEASE/56e14a3a5e2813534b5db2da1502cd58ab5bc61d/spring-core-5.2.7.RELEASE.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
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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;
                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersBuilderTests.java:63: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/SimpleStepFactoryBeanTests.java:70: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantStepFactoryBeanTests.java:84: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantStepFactoryBeanRollbackTests.java:137: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(e, instanceOf(FatalStepExecutionException.class));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantStepFactoryBeanRollbackTests.java:138: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(e.getCause(), instanceOf(IllegalArgumentException.class));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantStepFactoryBeanRollbackTests.java:150: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(e, instanceOf(FatalStepExecutionException.class));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantStepFactoryBeanRollbackTests.java:151: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(e.getCause(), instanceOf(IllegalArgumentException.class));
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/configuration/annotation/StepScopeConfigurationTests.java:59: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expected = ExpectedException.none();
                                                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/configuration/annotation/JobScopeConfigurationTests.java:61: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expected = ExpectedException.none();
                                                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/configuration/xml/JsrSplitParsingTests.java:44: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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;
        ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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);
                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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);
                          ^
14 warnings

1916 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:///opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY4-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 2m 57s