Build #80

Build plan for MS Windows

Build: #80 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
bamboo-2k16-00
Revision
edfbdbb82a61294c2ea7eaabeb1add29ca6cb068 edfbdbb82a61294c2ea7eaabeb1add29ca6cb068
Total tests
1903
Failing since
#1 (First build for this plan – )
Fixed in
#87 (Code changes detected)

Tests

  • 1,903 tests in total
  • 2 tests failed
  • 3 tests were fixed
  • 7 tests were quarantined / skipped
  • 44 seconds taken in total.
Existing test failures 2
Status Test Failing since Duration
java.lang.NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
	at org.springframework.batch.core.step.tasklet.SystemCommandTasklet.execute(SystemCommandTasklet.java:124)
	at org.springframework.batch.core.step.tasklet.SystemCommandTaskletIntegrationTests.testExecuteTimeout(SystemCommandTaskletIntegrationTests.java:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
(42 more lines...)
org.junit.ComparisonFailure: org.junit.ComparisonFailure: expected:<[COMPLET]ED> but was:<[STOPP]ED>
org.junit.ComparisonFailure: expected:<[COMPLET]ED> but was:<[STOPP]ED>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.springframework.batch.core.step.tasklet.SystemCommandTaskletIntegrationTests.testStopped(SystemCommandTaskletIntegrationTests.java:284)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(43 more lines...)
Fixed tests 3
Status Test Failing since Duration
Successful JsrSplitParsingTests test History
Failing since build #79 (Code changes detected) < 1 sec
Successful JsrPartitionHandlerTests testHardcodedNumberOfPartitions History
Failing since build #79 (Code changes detected) < 1 sec
Successful FaultTolerantExceptionClassesTests testNoRollbackTaskletRollbackException History
Failing since build #79 (Code changes detected) < 1 sec

Error summary

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

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: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\support\builder\CompositeItemWriterBuilder.java:81: warning: [unchecked] Possible heap pollution from parameterized vararg type ItemWriter<? super T>
        public CompositeItemWriterBuilder<T> delegates(ItemWriter<? super T>... delegates) {
                                                                                ^
  where T is a type-variable:
    T extends Object declared in class CompositeItemWriterBuilder
15 warnings
warning: No processor claimed any of these annotations: org.springframework.context.annotation.Import,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Scope,org.aspectj.lang.annotation.Around,org.springframework.context.annotation.Configuration,org.springframework.lang.NonNullApi,org.springframework.stereotype.Component,org.aspectj.lang.annotation.Aspect,org.springframework.beans.factory.annotation.Qualifier,javax.annotation.PostConstruct,com.fasterxml.jackson.annotation.JsonIgnore,org.springframework.lang.Nullable,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
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\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.annotation.MessageEndpoint,org.springframework.integration.support.management.IntegrationManagedResource,org.springframework.integration.annotation.Aggregator,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Import,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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-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
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-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
C:\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
C:\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
C:\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
C:\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
C:\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
C:\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: 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.junit.BeforeClass,org.springframework.batch.core.annotation.AfterChunkError,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.BeforeJob,org.springframework.batch.core.annotation.BeforeStep,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.junit.Ignore,org.springframework.batch.core.annotation.AfterProcess,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.batch.core.annotation.AfterRead,org.springframework.transaction.annotation.Transactional
1 warning

1903 tests completed, 2 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:///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.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 29s