Build #4,313

Build: #4313 failed Scheduled with changes by Mahmoud Ben Hassine

Build result summary

Details

Completed
Duration
6 minutes
Labels
None
Agent
bamboo-04.af.pivotal.io
Revision
edfbdbb82a61294c2ea7eaabeb1add29ca6cb068 edfbdbb82a61294c2ea7eaabeb1add29ca6cb068
Failing since
#4302 (Scheduled – )
Fixed in
#4316 (Scheduled)

No failed tests found, a possible compilation error occurred.

Responsible

This build has been failing since #4302
No one has taken responsibility

Code commits

Author Commit Message Commit date
Mahmoud Ben Hassine Mahmoud Ben Hassine edfbdbb82a61294c2ea7eaabeb1add29ca6cb068 edfbdbb82a61294c2ea7eaabeb1add29ca6cb068 Tweak XmlInputFactory settings

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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() {
               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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));
                       ^
15 warnings
warning: No processor claimed any of these annotations: org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Import,org.aspectj.lang.annotation.Around,org.springframework.context.annotation.Scope,org.springframework.context.annotation.Configuration,org.springframework.lang.NonNullApi,org.springframework.stereotype.Component,org.aspectj.lang.annotation.Aspect,org.springframework.beans.factory.annotation.Qualifier,com.fasterxml.jackson.annotation.JsonIgnore,javax.annotation.PostConstruct,org.springframework.lang.Nullable,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-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(
                          ^
3 warnings
warning: No processor claimed any of these annotations: org.springframework.integration.annotation.Payloads,org.springframework.messaging.handler.annotation.Header,org.springframework.integration.support.management.IntegrationManagedResource,org.springframework.integration.annotation.MessageEndpoint,org.springframework.integration.annotation.Aggregator,org.springframework.context.annotation.Import,org.springframework.beans.factory.annotation.Autowired,org.springframework.integration.config.EnableIntegration,org.springframework.integration.annotation.ServiceActivator,org.springframework.context.annotation.Configuration,org.springframework.lang.NonNullApi,org.springframework.lang.Nullable,org.springframework.context.annotation.Bean
1 warning
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/launch/JsrJobOperator.java:182: warning - Tag @link: reference not found: javax.transaction.TransactionManager
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/function/package-info.java:22: warning - Tag @link: reference not found: java.util.function
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/function/package-info.java:22: warning - Tag @link: reference not found: java.util.function
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/function/package-info.java:22: warning - Tag @link: reference not found: java.util.function
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
/opt/bamboo-home/xml-data/build-dir/BATCH-NIGHTLY-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/function/package-info.java:22: warning - Tag @link: reference not found: java.util.function
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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
warning: No processor claimed any of these annotations: org.springframework.test.context.TestExecutionListeners,org.springframework.lang.NonNullApi,org.springframework.beans.factory.annotation.Autowired,org.springframework.lang.Nullable
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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.1.2.RELEASE/b9b00d4075c92761cfd4e527e0bdce1931b4f3dc/spring-core-5.1.2.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
10 warnings
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.springframework.batch.core.annotation.BeforeChunk,org.springframework.context.annotation.Primary,org.springframework.beans.factory.annotation.Autowired,org.aspectj.lang.annotation.AfterReturning,org.springframework.test.context.TestExecutionListeners,org.springframework.batch.core.configuration.annotation.StepScope,org.aspectj.lang.annotation.Aspect,org.junit.After,org.springframework.batch.core.annotation.AfterChunk,org.springframework.batch.core.annotation.BeforeRead,javax.annotation.Resource,org.springframework.context.annotation.ImportResource,javax.batch.api.BatchProperty,org.springframework.context.annotation.Configuration,org.springframework.batch.core.annotation.OnProcessError,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.springframework.batch.core.annotation.AfterJob,javax.annotation.PostConstruct,org.springframework.batch.core.annotation.OnReadError,org.junit.FixMethodOrder,org.springframework.batch.core.annotation.OnWriteError,org.springframework.batch.core.annotation.AfterStep,org.springframework.batch.core.annotation.AfterChunkError,org.junit.BeforeClass,org.springframework.batch.core.configuration.annotation.JobScope,org.mockito.Mock,org.junit.runner.RunWith,org.junit.runners.Parameterized.Parameters,org.springframework.context.annotation.Scope,org.springframework.beans.factory.annotation.Value,javax.inject.Inject,org.junit.runners.Suite.SuiteClasses,org.springframework.batch.core.annotation.BeforeStep,org.springframework.batch.core.annotation.BeforeJob,org.springframework.batch.core.annotation.AfterWrite,org.springframework.batch.core.annotation.BeforeWrite,org.springframework.beans.factory.annotation.Qualifier,org.junit.Before,org.springframework.core.annotation.Order,org.springframework.context.annotation.Import,org.junit.Test,org.springframework.batch.core.annotation.BeforeProcess,org.springframework.stereotype.Component,org.junit.Rule,org.springframework.batch.core.annotation.AfterProcess,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.batch.core.annotation.AfterRead,org.springframework.transaction.annotation.Transactional
1 warning
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.junit.Test,org.springframework.context.annotation.Configuration,org.junit.runners.Suite.SuiteClasses,org.junit.Ignore,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.springframework.test.context.ContextConfiguration,org.junit.After,org.springframework.beans.factory.annotation.Qualifier,org.springframework.context.annotation.Bean,org.junit.Before
1 warning
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.junit.BeforeClass,org.mockito.Mock,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Scope,javax.validation.constraints.NotEmpty,javax.persistence.Table,org.junit.After,org.springframework.lang.Nullable,org.junit.Before,javax.persistence.Id,javax.persistence.Entity,org.springframework.batch.support.AnnotationMethodResolverTests.TestAnnotation,org.junit.AfterClass,org.springframework.test.context.transaction.AfterTransaction,org.junit.Test,javax.xml.bind.annotation.XmlRootElement,org.springframework.context.annotation.Configuration,org.junit.Rule,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
1 warning
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,javax.xml.bind.annotation.XmlAccessorType,javax.persistence.Entity,org.junit.AfterClass,org.springframework.test.context.transaction.AfterTransaction,org.junit.BeforeClass,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.junit.Test,javax.xml.bind.annotation.XmlRootElement,org.junit.Rule,javax.xml.bind.annotation.XmlType,javax.persistence.Table,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.junit.After,org.springframework.transaction.annotation.Transactional,org.junit.Before,org.springframework.test.context.transaction.BeforeTransaction,javax.xml.bind.annotation.XmlElement,javax.persistence.Id
1 warning
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.springframework.messaging.handler.annotation.Header,org.junit.BeforeClass,org.springframework.integration.annotation.MessageEndpoint,org.mockito.Mock,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.junit.Test,org.springframework.integration.annotation.Splitter,org.springframework.integration.annotation.ServiceActivator,org.springframework.context.annotation.Configuration,org.springframework.test.context.TestExecutionListeners,org.junit.runners.Suite.SuiteClasses,org.springframework.stereotype.Component,org.junit.Rule,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.junit.After,org.springframework.beans.factory.annotation.Qualifier,org.junit.Before
1 warning
warning: No processor claimed any of these annotations: org.springframework.batch.integration.config.annotation.EnableBatchIntegration,javax.persistence.Entity,org.springframework.context.annotation.PropertySource,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Import,org.springframework.integration.config.EnableIntegration,javax.batch.api.BatchProperty,javax.validation.constraints.NotEmpty,org.springframework.context.annotation.Configuration,org.springframework.beans.factory.annotation.Value,javax.inject.Inject,org.springframework.batch.core.annotation.BeforeStep,javax.persistence.Table,org.springframework.batch.core.annotation.AfterWrite,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.springframework.batch.core.configuration.annotation.StepScope,javax.annotation.PostConstruct,org.springframework.context.annotation.Bean,javax.persistence.Id
1 warning
warning: No processor claimed any of these annotations: org.springframework.batch.core.annotation.AfterStep,org.junit.BeforeClass,org.junit.runner.RunWith,org.springframework.batch.core.annotation.OnSkipInProcess,org.springframework.context.annotation.PropertySource,org.springframework.beans.factory.annotation.Autowired,org.springframework.beans.factory.annotation.Value,org.springframework.test.context.TestExecutionListeners,org.junit.runners.Suite.SuiteClasses,org.springframework.batch.core.annotation.BeforeStep,org.junit.After,org.springframework.beans.factory.annotation.Qualifier,org.junit.Before,org.springframework.test.context.transaction.BeforeTransaction,org.junit.AfterClass,org.springframework.test.context.transaction.AfterTransaction,org.junit.Test,org.springframework.context.annotation.Configuration,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.batch.core.annotation.OnSkipInWrite,org.springframework.transaction.annotation.Transactional
1 warning

128 tests completed, 1 failed

FAILURE: Build failed with an exception.

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