Executing Sonar tasks

Build: #2212 failed Scheduled

Build result summary

Details

Completed
Duration
41 minutes
Labels
None
Agent
bamboo-07.af.pivotal.io
Revision
ed84a8cb29ba987cd58aaf67293e423ec54aed14 ed84a8cb29ba987cd58aaf67293e423ec54aed14
Failing since
#1784 (Scheduled with changes by Michael Minella and Glenn Renfro)

No failed tests found, a possible compilation error occurred.

Responsible

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

Comments on Default Job

  1. Anonymous user

    Detected hung build state. Attempting to generate stack trace and terminate spawned sub-processes.

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-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/database/support/DefaultDataFieldMaxValueIncrementerFactoryTests.java:96: warning: [deprecation] DB2MainframeSequenceMaxValueIncrementer in org.springframework.jdbc.support.incrementer has been deprecated
                assertTrue(factory.getIncrementer("db2zos", "NAME") instanceof DB2MainframeSequenceMaxValueIncrementer);
                                                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/database/support/DefaultDataFieldMaxValueIncrementerFactoryTests.java:117: warning: [deprecation] PostgreSQLSequenceMaxValueIncrementer in org.springframework.jdbc.support.incrementer has been deprecated
                assertTrue(factory.getIncrementer("postgres", "NAME") instanceof PostgreSQLSequenceMaxValueIncrementer);
                                                                                 ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/json/JsonFileItemWriterTests.java:43: warning: [unchecked] unchecked conversion
                this.jsonObjectMarshaller = Mockito.mock(JsonObjectMarshaller.class);
                                                        ^
  required: JsonObjectMarshaller<String>
  found:    JsonObjectMarshaller
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:31: warning: [rawtypes] found raw type: Class
            Method m = r.getClass().getDeclaredMethod("getXMLEventWriter", new Class[]{});
                                                                               ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:40: warning: [rawtypes] found raw type: Class
            Method m = s.getClass().getDeclaredMethod("getXMLEventReader", new Class[]{});
                                                                               ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
19 warnings
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorMarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorUnmarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
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
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorMarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorUnmarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorMarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorUnmarshallingTests.java:20: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
import org.springframework.oxm.castor.CastorMarshaller;
                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorMarshallingTests.java:27: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
                CastorMarshaller marshaller = new CastorMarshaller();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorMarshallingTests.java:27: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
                CastorMarshaller marshaller = new CastorMarshaller();
                                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorUnmarshallingTests.java:26: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
                CastorMarshaller unmarshaller = new CastorMarshaller();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/CastorUnmarshallingTests.java:26: warning: [deprecation] CastorMarshaller in org.springframework.oxm.castor has been deprecated
                CastorMarshaller unmarshaller = new CastorMarshaller();
                                                    ^
11 warnings
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
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:249: warning: [unchecked] unchecked conversion
                ItemReadListener<String> itemReadListener = mock(ItemReadListener.class);
                                                                ^
  required: ItemReadListener<String>
  found:    ItemReadListener
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:250: warning: [unchecked] unchecked conversion
                ItemWriteListener<String> itemWriteListener = mock(ItemWriteListener.class);
                                                                  ^
  required: ItemWriteListener<String>
  found:    ItemWriteListener
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:252: warning: [unchecked] unchecked conversion
                SkipListener<String, String> skipListener = mock(SkipListener.class);
                                                                ^
  required: SkipListener<String,String>
  found:    SkipListener
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:335: warning: [rawtypes] found raw type: ChunkOrientedTasklet
                ChunkOrientedTasklet tasklet = (ChunkOrientedTasklet) ReflectionTestUtils.getField(taskletStep, "tasklet");
                ^
  missing type arguments for generic class ChunkOrientedTasklet<I>
  where I is a type-variable:
    I extends Object declared in class ChunkOrientedTasklet
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:336: warning: [rawtypes] found raw type: SimpleChunkProvider
                SimpleChunkProvider provider = (SimpleChunkProvider) ReflectionTestUtils.getField(tasklet, "chunkProvider");
                ^
  missing type arguments for generic class SimpleChunkProvider<I>
  where I is a type-variable:
    I extends Object declared in class SimpleChunkProvider
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:337: warning: [rawtypes] found raw type: SimpleChunkProcessor
                SimpleChunkProcessor processor = (SimpleChunkProcessor) ReflectionTestUtils.getField(tasklet, "chunkProcessor");
                ^
  missing type arguments for generic class SimpleChunkProcessor<I,O>
  where I,O are type-variables:
    I extends Object declared in class SimpleChunkProcessor
    O extends Object declared in class SimpleChunkProcessor
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingMasterStepBuilderTest.java:338: warning: [rawtypes] found raw type: ItemWriter
                ItemWriter itemWriter = (ItemWriter) ReflectionTestUtils.getField(processor, "itemWriter");
                ^
  missing type arguments for generic class ItemWriter<T>
  where T is a type-variable:
    T extends Object declared in interface ItemWriter
8 warnings
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.