Jira: https://issues.apache.org/jira/browse/OOZIE-1980
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/381/

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 700.68 KB...]


error: patch failed: 
core/src/main/java/org/apache/oozie/sla/SLACalculator.java:19
error: core/src/main/java/org/apache/oozie/sla/SLACalculator.java: patch does 
not apply
Checking patch 
core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java...
error: while searching for:
    public boolean addRegistration(String jobId, SLARegistrationBean reg) 
throws JPAExecutorException {
        try {
            if (slaMap.size() < capacity) {
                SLACalcStatus slaCalc = new SLACalcStatus(reg);
                slaCalc.setSLAStatus(SLAStatus.NOT_STARTED);
                slaCalc.setJobStatus(getJobStatus(reg.getAppType()));
                slaMap.put(jobId, slaCalc);
                List<JsonBean> insertList = new ArrayList<JsonBean>();
                final SLASummaryBean summaryBean = new SLASummaryBean(slaCalc);
                final Timestamp currentTime = 
DateUtils.convertDateToTimestamp(new Date());
                reg.setCreatedTimestamp(currentTime);
                summaryBean.setCreatedTimestamp(currentTime);
                insertList.add(reg);
                insertList.add(summaryBean);
                
BatchQueryExecutor.getInstance().executeBatchInsertUpdateDelete(insertList, 
null, null);
                LOG.trace("SLA Registration Event - Job:" + jobId);
                return true;

error: patch failed: 
core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java:613
error: core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java: patch 
does not apply
Checking patch core/src/main/java/org/apache/oozie/sla/SLAOperations.java...
error: while searching for:

import java.text.ParseException;
import java.util.Date;

import org.apache.oozie.AppType;
import org.apache.oozie.ErrorCode;
import org.apache.oozie.client.event.SLAEvent.EventStatus;
import org.apache.oozie.command.CommandException;
import org.apache.oozie.executor.jpa.JPAExecutorException;
import org.apache.oozie.executor.jpa.SLARegistrationQueryExecutor;

error: patch failed: 
core/src/main/java/org/apache/oozie/sla/SLAOperations.java:19
error: core/src/main/java/org/apache/oozie/sla/SLAOperations.java: patch does 
not apply
Checking patch 
core/src/main/java/org/apache/oozie/sla/service/SLAService.java...
error: while searching for:
 */
package org.apache.oozie.sla.service;

import java.util.Date;

import org.apache.hadoop.conf.Configuration;
import org.apache.oozie.ErrorCode;
import org.apache.oozie.client.event.JobEvent.EventStatus;
import org.apache.oozie.executor.jpa.JPAExecutorException;
import org.apache.oozie.service.EventHandlerService;
import org.apache.oozie.service.SchedulerService;

error: patch failed: 
core/src/main/java/org/apache/oozie/sla/service/SLAService.java:17
error: core/src/main/java/org/apache/oozie/sla/service/SLAService.java: patch 
does not apply
Checking patch 
core/src/main/java/org/apache/oozie/util/db/SLADbOperations.java...
error: while searching for:
 */
package org.apache.oozie.util.db;

import java.util.Date;

import org.apache.oozie.ErrorCode;

error: patch failed: 
core/src/main/java/org/apache/oozie/util/db/SLADbOperations.java:17
error: core/src/main/java/org/apache/oozie/util/db/SLADbOperations.java: patch 
does not apply
Checking patch 
src/main/java/org/apache/oozie/command/coord/CoordMaterializeTransitionXCommand.java...
error: 
src/main/java/org/apache/oozie/command/coord/CoordMaterializeTransitionXCommand.java:
 No such file or directory
Checking patch src/main/java/org/apache/oozie/command/wf/ReRunXCommand.java...
error: src/main/java/org/apache/oozie/command/wf/ReRunXCommand.java: No such 
file or directory
Checking patch src/main/java/org/apache/oozie/sla/SLACalculator.java...
error: src/main/java/org/apache/oozie/sla/SLACalculator.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java...
error: src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java: No such 
file or directory
Checking patch src/main/java/org/apache/oozie/sla/SLAOperations.java...
error: src/main/java/org/apache/oozie/sla/SLAOperations.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/sla/service/SLAService.java...
error: src/main/java/org/apache/oozie/sla/service/SLAService.java: No such file 
or directory
Checking patch src/main/java/org/apache/oozie/util/db/SLADbOperations.java...
error: src/main/java/org/apache/oozie/util/db/SLADbOperations.java: No such 
file or directory
Patch failed to apply to head of branch

Adding comment to JIRA
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 
 1886    0  1687  100   199   2150    253 --:--:-- --:--:-- --:--:--  2149
{"self":"https://issues.apache.org/jira/rest/api/2/issue/12736730/comment/16354184","id":"16354184","author":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","emailAddress":"blackhole
 at hadoop dot apache dot 
org","avatarUrls":{"48x48":"https://issues.apache.org/jira/secure/useravatar?ownerId=hadoopqa&avatarId=10393","24x24":"https://issues.apache.org/jira/secure/useravatar?size=small&ownerId=hadoopqa&avatarId=10393","16x16":"https://issues.apache.org/jira/secure/useravatar?size=xsmall&ownerId=hadoopqa&avatarId=10393","32x32":"https://issues.apache.org/jira/secure/useravatar?size=medium&ownerId=hadoopqa&avatarId=10393"},"displayName":"Hadoop
 QA","active":true,"timeZone":"Etc/UTC"},"body":"\nTesting JIRA 
OOZIE-1980\n\nCleaning local git 
workspace\n\n----------------------------\n\n{color:red}-1{color} Patch failed 
to apply to head of 
branch\n\n----------------------------\n","updateAuthor":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","emailAddress":"blackhole
 at hadoop dot apache dot 
org","avatarUrls":{"48x48":"https://issues.apache.org/jira/secure/useravatar?ownerId=hadoopqa&avatarId=10393","24x24":"https://issues.apache.org/jira/secure/useravatar?size=small&ownerId=hadoopqa&avatarId=10393","16x16":"https://issues.apache.org/jira/secure/useravatar?size=xsmall&ownerId=hadoopqa&avatarId=10393","32x32":"https://issues.apache.org/jira/secure/useravatar?size=medium&ownerId=hadoopqa&avatarId=10393"},"displayName":"Hadoop
 
QA","active":true,"timeZone":"Etc/UTC"},"created":"2018-02-06T17:26:53.213+0000","updated":"2018-02-06T17:26:53.213+0000"}
test-patch exit code: 1

Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-1980
Archiving artifacts
[Fast Archiver] Compressed 1.09 MB of artifacts by 51.8% relative to #376
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) 
##############################
No tests ran.

Reply via email to