Build: #2918 failed Child of BATCH-NIGHTLY-3944

Build result summary

Details

Completed
Duration
7 minutes
Labels
None
Agent
bamboo-07.af.pivotal.io
Revision
020d0519ace886df3a5a97c16bf3b62b3e8ad67a 020d0519ace886df3a5a97c16bf3b62b3e8ad67a
Failing since
#2823 (Child of BATCH-NIGHTLY-3826)

No failed tests found, a possible compilation error occurred.

Responsible

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

Code commits

Author Commit Message Commit date
Mahmoud Ben Hassine Mahmoud Ben Hassine 020d0519ace886df3a5a97c16bf3b62b3e8ad67a 020d0519ace886df3a5a97c16bf3b62b3e8ad67a BATCH-2669: Fix code examples in "Configuring and Running a Job" section  of the documentation
Mahmoud Ben Hassine Mahmoud Ben Hassine 390786dc9079dde3192078602356cda087cca9e4 390786dc9079dde3192078602356cda087cca9e4 Fix dead links in CONTRIBUTING.md
Mahmoud Ben Hassine Mahmoud Ben Hassine 658aa69c6b2a55b40717b563ad35973908e4b9c5 658aa69c6b2a55b40717b563ad35973908e4b9c5 Fix typos in README.md
Mahmoud Ben Hassine Mahmoud Ben Hassine a0773cac9bb2a33ba00369586871bf5719f0da28 a0773cac9bb2a33ba00369586871bf5719f0da28 BATCH-2668: Fixed failing test on CET timezone
In order to convert a String value to a Date, The `DefaultConversionService`
uses the constructor `java.util.Date(java.lang.String)` behind the scene
(from `org.springframework.core.convert.support.ObjectToObjectConverter.convert`).

This constructor throws a `java.lang.IllegalArgumentException` for values in
CET timezone, for example: "Thu Jan 04 09:05:50 CET 2018".

This commit updates the failing test to use a fixed timezone (UTC).

Resolves BATCH-2668

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeBATCH-2668Could not obtain issue details from JIRA
Unknown Issue TypeBATCH-2669Could not obtain issue details from JIRA

Error summary for Default Job

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

  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemWriterBuilder.java:106: 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-INT-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemWriterBuilder.java:143: warning: [unchecked] unchecked cast
                        return (T) enhancer.create();
                                                  ^
  required: T
  found:    Object
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-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));
                       ^
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java:55: 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-INT-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java:204: warning: [rawtypes] found raw type: RepositoryMethodReference
        public RepositoryItemReaderBuilder<T> repository(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-INT-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java:270: warning: [unchecked] unchecked cast
                        return (T) enhancer.create();
                                                  ^
  required: T
  found:    Object
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
23 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
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.stereotype.Component,org.aspectj.lang.annotation.Aspect,org.springframework.beans.factory.annotation.Qualifier,javax.annotation.PostConstruct,org.springframework.beans.factory.annotation.Required,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/SimpleStepBuilder.java:231: 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-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:251: warning: [rawtypes] found raw type: Constructor
                        candidateConstructors = candidates.toArray(new Constructor[candidates.size()]);
                                                                       ^
  missing type arguments for generic class Constructor<T>
  where T is a type-variable:
    T extends Object declared in class Constructor
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:254: warning: [rawtypes] found raw type: Constructor
                        candidateConstructors = new Constructor[0];
                                                    ^
  missing type arguments for generic class Constructor<T>
  where T is a type-variable:
    T extends Object declared in class Constructor
7 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-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
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
javadoc: warning - Tag @link: reference not found: PlayerSummary
warning: No processor claimed any of these annotations: org.springframework.integration.annotation.ServiceActivator,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
1 warning
warning: No processor claimed any of these annotations: org.springframework.beans.factory.annotation.Autowired
1 warning
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.springframework.batch.core.annotation.BeforeChunk,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
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/XStreamExecutionContextStringSerializerTests.java:31: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
                XStreamExecutionContextStringSerializer serializerDeserializer = new XStreamExecutionContextStringSerializer();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-INT-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/XStreamExecutionContextStringSerializerTests.java:31: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
                XStreamExecutionContextStringSerializer serializerDeserializer = new XStreamExecutionContextStringSerializer();
                                                                                     ^
3 warnings
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

45 tests completed, 11 failed

FAILURE: Build failed with an exception.

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