Jira: https://issues.apache.org/jira/browse/OOZIE-2953
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/511/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 760.88 KB...]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @
oozie-zookeeper-security-tests ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
oozie-zookeeper-security-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build@2/zookeeper-security-tests/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
oozie-zookeeper-security-tests ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @
oozie-zookeeper-security-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build@2/zookeeper-security-tests/src/test/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[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@2/zookeeper-security-tests/target/test-classes
[INFO]
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build@2/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@2/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 [ 2.838 s]
[INFO] Apache Oozie Client ................................ SUCCESS [ 27.585 s]
[INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ 20.993 s]
[INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [ 9.540 s]
[INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [ 8.918 s]
[INFO] Apache Oozie Core .................................. SUCCESS [01:40 min]
[INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [ 10.701 s]
[INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [ 10.191 s]
[INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [ 10.565 s]
[INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [ 12.439 s]
[INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [ 7.612 s]
[INFO] Apache Oozie Examples .............................. SUCCESS [ 12.258 s]
[INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [ 14.829 s]
[INFO] Apache Oozie Share Lib ............................. SUCCESS [ 0.019 s]
[INFO] Apache Oozie Docs .................................. SUCCESS [ 3.516 s]
[INFO] Apache Oozie WebApp ................................ SUCCESS [ 11.135 s]
[INFO] Apache Oozie Tools ................................. SUCCESS [ 19.207 s]
[INFO] Apache Oozie MiniOozie ............................. SUCCESS [ 1.864 s]
[INFO] Apache Oozie Server ................................ SUCCESS [ 13.373 s]
[INFO] Apache Oozie Distro ................................ SUCCESS [ 2.670 s]
[INFO] Apache Oozie ZooKeeper Security Tests .............. SUCCESS [ 3.837 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:07 min
[INFO] Finished at: 2018-05-04T11:47:40Z
[INFO] Final Memory: 170M/1346M
[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/OozieDBImportCLI.java =>
b/tools/src/main/java/org/apache/oozie/tools/OozieDBImportCLI.java...
error: a/tools/src/main/java/org/apache/oozie/tools/OozieDBImportCLI.java: No
such file or directory
Checking patch
tools/src/main/java/org/apache/oozie/tools/OozieDBImportCLI.java...
error: while searching for:
private static void checkDBVersion(EntityManager entityManager, ZipFile
zipFile) throws IOException {
try {
String currentDBVersion = (String)
entityManager.createNativeQuery("select data from OOZIE_SYS where
name='db.version'").getSingleResult();
String dumpDBVersion = null;
ZipEntry entry = zipFile.getEntry(OOZIEDB_SYS_INFO_JSON);
BufferedReader reader = new BufferedReader(new
InputStreamReader(zipFile.getInputStream(entry), "UTF-8"));
error: patch failed:
tools/src/main/java/org/apache/oozie/tools/OozieDBImportCLI.java:145
error: tools/src/main/java/org/apache/oozie/tools/OozieDBImportCLI.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 2610 307 --:--:-- --:--:-- --:--:-- 2611
{"self":"https://issues.apache.org/jira/rest/api/2/issue/13080598/comment/16463777","id":"16463777","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-2953\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-04T11:47:42.055+0000","updated":"2018-05-04T11:47:42.055+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-2953
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.