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

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 761.32 KB...]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
oozie-zookeeper-security-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to 
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/zookeeper-security-tests/target/test-classes
[INFO] 
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/zookeeper-security-tests/src/test/java/org/apache/oozie/util/TestZKUtilsWithSecurity.java:
 Some input files use or override a deprecated API.
[INFO] 
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/zookeeper-security-tests/src/test/java/org/apache/oozie/util/TestZKUtilsWithSecurity.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.5:check (default-cli) > :findbugs @ 
oozie-zookeeper-security-tests >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ 
oozie-zookeeper-security-tests ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.5:check (default-cli) < :findbugs @ 
oozie-zookeeper-security-tests <<<
[INFO] 
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.5:check (default-cli) @ 
oozie-zookeeper-security-tests ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Oozie Main .................................. SUCCESS [  4.791 s]
[INFO] Apache Oozie Client ................................ SUCCESS [ 26.588 s]
[INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ 17.776 s]
[INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  8.476 s]
[INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  7.019 s]
[INFO] Apache Oozie Core .................................. SUCCESS [01:26 min]
[INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [  7.698 s]
[INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [  7.886 s]
[INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  8.517 s]
[INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  9.558 s]
[INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [  6.296 s]
[INFO] Apache Oozie Examples .............................. SUCCESS [  9.104 s]
[INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [ 10.910 s]
[INFO] Apache Oozie Share Lib ............................. SUCCESS [  0.021 s]
[INFO] Apache Oozie Docs .................................. SUCCESS [  3.070 s]
[INFO] Apache Oozie WebApp ................................ SUCCESS [  8.854 s]
[INFO] Apache Oozie Tools ................................. SUCCESS [ 13.812 s]
[INFO] Apache Oozie MiniOozie ............................. SUCCESS [  1.900 s]
[INFO] Apache Oozie Server ................................ SUCCESS [ 11.471 s]
[INFO] Apache Oozie Distro ................................ SUCCESS [  2.449 s]
[INFO] Apache Oozie ZooKeeper Security Tests .............. SUCCESS [  3.929 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:18 min
[INFO] Finished at: 2018-05-07T10:36:57Z
[INFO] Final Memory: 169M/1260M
[INFO] ------------------------------------------------------------------------
[TRACE] FindBugs output in HEAD verified and saved
  Running test-patch task BACKWARDS_COMPATIBILITY
  Running test-patch task TESTS
  Running test-patch task DISTRO

Applying patch

Checking patch 
a/tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java => 
b/tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java...
error: a/tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java: No 
such file or directory
Checking patch 
tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java...
error: while searching for:
            String hdfsUri = command.getCommandLine().getOptionValue(FS_OPT);
            Path srcPath = new Path(srcFile.toString());

            Services services = new Services();
            services.getConf().set(Services.CONF_SERVICE_CLASSES,
                "org.apache.oozie.service.LiteWorkflowAppService, 
org.apache.oozie.service.HadoopAccessorService");
            services.getConf().set(Services.CONF_SERVICE_EXT_CLASSES, "");
            services.init();
            WorkflowAppService lwas = services.get(WorkflowAppService.class);
            HadoopAccessorService has = 
services.get(HadoopAccessorService.class);
            Path dstPath = lwas.getSystemLibPath();

            if (sharelibAction.equals(CREATE_CMD) || 
sharelibAction.equals(UPGRADE_CMD)){
                dstPath= new Path(dstPath.toString() +  Path.SEPARATOR +  
SHARE_LIB_PREFIX + getTimestampDirectory()  );
            }

            System.out.println("the destination path for sharelib is: " + 
dstPath);

            URI uri = new Path(hdfsUri).toUri();
            Configuration fsConf = has.createJobConf(uri.getAuthority());
            FileSystem fs = FileSystem.get(uri, fsConf);


            if (!srcFile.exists()){

error: patch failed: 
tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java:152
error: tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java: patch 
does not apply
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 --:--:-- --:--:-- --:--:--     
0100  1886    0  1687  100   199   2751    324 --:--:-- --:--:-- --:--:--  2756
{"self":"https://issues.apache.org/jira/rest/api/2/issue/12995761/comment/16465756","id":"16465756","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-2629\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-05-07T10:36:59.801+0000","updated":"2018-05-07T10:36:59.801+0000"}
test-patch exit code: 1

Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-2629
Archiving artifacts
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