Executing Sonar tasks

Build: #2701 failed Scheduled

Build result summary

Details

Completed
Duration
5 minutes
Labels
None
Agent
bamboo-20.af.pivotal.io
Revision
6ab141bb44bb86ee7aacd5d604fd37971a7344ee 6ab141bb44bb86ee7aacd5d604fd37971a7344ee
Failing since
#2604 (Scheduled – )
No failed test found. A possible compilation error occurred.

Responsible

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

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 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:266: warning: [deprecation] <T>assertThat(T,Matcher<? super T>) in Assert has been deprecated
                assertThat(items, containsInAnyOrder("val2", "val3", "val4"));
                ^
  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/kafka/KafkaItemReaderTests.java:275: 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:285: 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:312: 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/StaxEventItemReaderTests.java:613: 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>)
24 warnings
/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>)
3 warnings
/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();
                                                                      ^
14 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.4.RELEASE/155344a8b1a5e98c03c0a102b2aa008d2178f7a1/spring-core-5.2.4.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/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-test/src/test/java/org/springframework/batch/test/context/BatchTestContextCustomizerTest.java:34: warning: [deprecation] none() in ExpectedException has been deprecated
        public ExpectedException expectedException = ExpectedException.none();
                                                                      ^
3 warnings