Executing Sonar tasks

Build: #2836 failed Scheduled

Build result summary

Details

Completed
Duration
10 minutes
Labels
None
Agent
bamboo-17.af.pivotal.io
Revision
9dde5864421974d2580bdadce0f39da26db4b6e4 9dde5864421974d2580bdadce0f39da26db4b6e4
Failing since
#2766 (Scheduled – )
No failed test found. A possible compilation error occurred.

Responsible

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: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: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>)
46 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/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/JdbcCustomerDao.java:49: warning: [deprecation] <T>query(String,Object[],RowMapper<T>) in JdbcTemplate has been deprecated
                List<CustomerCredit> customers = getJdbcTemplate().query(GET_CUSTOMER_BY_NAME, new Object[]{name},
                                                                  ^
  where T is a type-variable:
    T extends Object declared in method <T>query(String,Object[],RowMapper<T>)
1 warning
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.0-M1/74b7587143a044647d1bdae833cd3be299244840/spring-core-5.3.0-M1.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