Run against the latest Java Version

Build: #89 failed Changes by Sam Brannen

Build result summary

Details

Completed
Duration
1 minute
Labels
None
Agent
bamboo-05.af.pivotal.io
Revision
d9bbb0ecda8c918ec4071a45865f5c4daf842225 d9bbb0ecda8c918ec4071a45865f5c4daf842225
Fixed in
#91 (Changes by Mahmoud Ben Hassine)

No failed tests found, a possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Sam Brannen Sam Brannen d9bbb0ecda8c918ec4071a45865f5c4daf842225 d9bbb0ecda8c918ec4071a45865f5c4daf842225 Simplify BatchTestContextCustomizerFactory
Since @SpringBatchTest is effectively a marker annotation from the
perspective of BatchTestContextCustomizerFactory, there is no need
to retrieve the merged, synthesized annotation.

Checking for the presence of @SpringBatchTest is sufficient.

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

Could not find test result reports in the /opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1 directory.
                JobExecution jobExecution = new JobExecution(new JobInstance(new Long(11), "testJob"), new JobParameters());
                                                                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/AbstractStepExecutionDaoTests.java:264: warning: [deprecation] Integer(int) in Integer has been deprecated
                assertEquals(new Integer(0), exec1.getVersion());
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/AbstractStepExecutionDaoTests.java:268: warning: [deprecation] Integer(int) in Integer has been deprecated
                assertEquals(new Integer(1), exec1.getVersion());
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/AbstractExecutionContextSerializerTests.java:50: warning: [deprecation] Double(double) in Double has been deprecated
        m1.put("object4", new Double(1234567.1234D));
                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/AbstractExecutionContextDaoTests.java:221: warning: [deprecation] Integer(int) in Integer has been deprecated
                ec.put("intValue", new Integer(343232));
                                   ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:41: warning: [deprecation] Long(long) in Long has been deprecated
        private StepExecution execution = newStepExecution(new StepSupport("stepName"), new Long(23));
                                                                                        ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:202: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution1 = newStepExecution(step, new Long(11));
                                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:203: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution2 = newStepExecution(step, new Long(11));
                                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:209: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution = newStepExecution(new StepSupport("stepName"), new Long(11));
                                                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:215: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution = newStepExecution(new StepSupport("stepName"), new Long(11));
                                                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:221: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution = newStepExecution(new StepSupport("stepName"), new Long(11));
                                                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:232: warning: [deprecation] Long(long) in Long has been deprecated
                Entity stepExecution = newStepExecution(new StepSupport("foo"), new Long(13));
                                                                                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:239: warning: [deprecation] Long(long) in Long has been deprecated
                execution = newStepExecution(step, new Long(31));
                                                   ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/StepExecutionTests.java:241: warning: [deprecation] Long(long) in Long has been deprecated
                StepExecution stepExecution = newStepExecution(step, new Long(31));
                                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobInstanceTests.java:30: warning: [deprecation] Long(long) in Long has been deprecated
        private JobInstance instance = new JobInstance(new Long(11), "job");
                                                       ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobInstanceTests.java:38: warning: [deprecation] Long(long) in Long has been deprecated
                instance = new JobInstance(new Long(1), "foo");
                                           ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobInstanceTests.java:62: warning: [deprecation] Long(long) in Long has been deprecated
                instance = new JobInstance(new Long(1), "jobName");
                                           ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersTests.java:89: warning: [deprecation] Double(double) in Double has been deprecated
                assertEquals(new Double(1.1), new Double(parameters.getDouble("double.key1")));
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersTests.java:89: warning: [deprecation] Double(double) in Double has been deprecated
                assertEquals(new Double(1.1), new Double(parameters.getDouble("double.key1")));
                                              ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersTests.java:90: warning: [deprecation] Double(double) in Double has been deprecated
                assertEquals(new Double(2.2), new Double(parameters.getDouble("double.key2")));
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersTests.java:90: warning: [deprecation] Double(double) in Double has been deprecated
                assertEquals(new Double(2.2), new Double(parameters.getDouble("double.key2")));
                                              ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobExecutionTests.java:38: warning: [deprecation] Long(long) in Long has been deprecated
        private JobExecution execution = new JobExecution(new JobInstance(new Long(11), "foo"),
                                                                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobExecutionTests.java:39: warning: [deprecation] Long(long) in Long has been deprecated
                        new Long(12), new JobParameters(), null);
                        ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/JobExecutionTests.java:138: warning: [deprecation] Long(long) in Long has been deprecated
                execution = new JobExecution(new JobInstance(new Long(23), "testJob"), null, new JobParameters(), null);
                                                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/configuration/xml/StepParserStepFactoryBeanTests.java:250: warning: [deprecation] Integer(int) in Integer has been deprecated
                assertEquals(new Integer(10), throttleLimit);
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/configuration/xml/PartitionStepParserTests.java:110: warning: [deprecation] isAccessible() in AccessibleObject has been deprecated
                boolean previouslyAccessibleValue = field.isAccessible();
                                                         ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/configuration/xml/StepParserTests.java:92: warning: [deprecation] Integer(int) in Integer has been deprecated
                assertEquals(new Integer(10), throttleLimit);
                             ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/resource/StepExecutionSimpleCompletionPolicyTests.java:56: warning: [deprecation] Long(long) in Long has been deprecated
                jobInstance = new JobInstance(new Long(0), "testJob");
                                              ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/converter/DefaultJobParametersConverterTests.java:257: warning: [deprecation] Long(long) in Long has been deprecated
                                .addString("job.key", "myKey").addLong("vendor.id", new Long(33243243)).addDouble("double.key", 1.23)
                                                                                    ^
50 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spring-batch-infrastructure:compileTestJava'.
> Compilation failed; see the compiler error output for details.

* 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 58s