Executing Sonar tasks

Build: #2854 failed Scheduled

Build result summary

Details

Completed
Duration
24 minutes
Labels
None
Agent
bamboo-16.af.pivotal.io
Revision
ce22cddbbccc5a753541821bd5eb878032f2fda5 ce22cddbbccc5a753541821bd5eb878032f2fda5
Fixed in
#2937 (Manual run by Mahmoud Ben Hassine)
No failed test found. A possible compilation error occurred.

Responsible

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.

    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/kafka/KafkaItemReaderTests.java:361: warning: [rawtypes] found raw type: ListenableFuture
                List<ListenableFuture> futures = new ArrayList<>();
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/kafka/KafkaItemReaderTests.java:371: warning: [rawtypes] found raw type: ListenableFuture
                for (ListenableFuture future : futures) {
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/kafka/KafkaItemReaderTests.java:398: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(items, containsInAnyOrder("val4", "val6", "val7"));
                ^
  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-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/builder/AvroItemWriterBuilderTests.java:117: warning: [rawtypes] found raw type: AvroItemWriterBuilder
                new AvroItemWriterBuilder()
                    ^
  missing type arguments for generic class AvroItemWriterBuilder<T>
  where T is a type-variable:
    T extends Object declared in class AvroItemWriterBuilder
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/builder/StaxEventItemReaderBuilderTests.java:56: warning: [deprecation] initMocks(Object) in MockitoAnnotations has been deprecated
                MockitoAnnotations.initMocks(this);
                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxEventItemReaderTests.java:636: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                        Assert.assertThat(e.getMessage(), Matchers.containsString("Undeclared general entity \"entityex\""));
                              ^
  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-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/amqp/builder/AmqpItemReaderBuilderTests.java:43: warning: [deprecation] initMocks(Object) in MockitoAnnotations has been deprecated
                MockitoAnnotations.initMocks(this);
                                  ^
78 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.0-M2/96cbc22387c6b891bb0d8a106379fbaf6ddce50c/spring-core-5.3.0-M2.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/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/json/JsonItemReaderFunctionalTests.java:43: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/Jaxb2NamespaceMarshallingTests.java:102: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(
                ^
  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-SONAR-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/xml/AbstractStaxEventWriterItemWriterTests.java:100: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(
                ^
  where T is a type-variable:
    T extends Object declared in method <T>assertThat(T,Matcher<? super T>)
5 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.0-M2/96cbc22387c6b891bb0d8a106379fbaf6ddce50c/spring-core-5.3.0-M2.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/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingManagerStepBuilderTest.java:79: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/chunk/RemoteChunkingWorkerBuilderTest.java:35: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:50: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:62: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").inputChannel(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:75: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").outputChannel(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:88: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").messagingTemplate(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:101: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").jobExplorer(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:114: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").pollInterval(-1);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                                                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:149: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").partitionHandler(partitionHandler);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:167: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:210: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningWorkerStepBuilderTests.java:33: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
16 warnings
Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.