See <https://builds.apache.org/job/oozie-trunk-precommit-build/3657/display/redirect>
------------------------------------------ [...truncated 1.44 MB...] [INFO] Apache Oozie Examples .............................. SUCCESS [ 6.010 s] [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [ 22.987 s] [INFO] Apache Oozie Share Lib ............................. SUCCESS [01:02 min] [INFO] Apache Oozie Docs .................................. SUCCESS [ 25.087 s] [INFO] Apache Oozie WebApp ................................ SUCCESS [01:09 min] [INFO] Apache Oozie Tools ................................. SUCCESS [ 1.518 s] [INFO] Apache Oozie MiniOozie ............................. SUCCESS [ 0.753 s] [INFO] Apache Oozie Server ................................ SUCCESS [ 3.823 s] [INFO] Apache Oozie Distro ................................ SUCCESS [01:37 min] [INFO] Apache Oozie ZooKeeper Security Tests .............. SUCCESS [ 3.222 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:59 min [INFO] Finished at: 2017-02-24T04:22:36+00:00 [INFO] Final Memory: 93M/1020M [INFO] ------------------------------------------------------------------------ Reports Running test-patch task CLEAN Running test-patch task RAW_PATCH_ANALYSIS Running test-patch task RAT Running test-patch task JAVADOC Running test-patch task COMPILE Running test-patch task FINDBUGS_DIFF [TRACE] Folder [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/sharelib/spark/target/findbugs/]> does not exist, creating [TRACE] XML file [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/sharelib/spark/target/findbugs/findbugsXml.xml]> does not exist, creating [TRACE] Folder [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/docs/target/findbugs/]> does not exist, creating [TRACE] XML file [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/docs/target/findbugs/findbugsXml.xml]> does not exist, creating [TRACE] Folder [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/server/target/findbugs/]> does not exist, creating [TRACE] XML file [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/server/target/findbugs/findbugsXml.xml]> does not exist, creating [TRACE] Folder [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/examples/target/findbugs/]> does not exist, creating [TRACE] XML file [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/examples/target/findbugs/findbugsXml.xml]> does not exist, creating [TRACE] Folder [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/tools/target/findbugs/]> does not exist, creating [TRACE] XML file [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/pre/tools/target/findbugs/findbugsXml.xml]> does not exist, creating [TRACE] Downloading FindBugs diff JAR from https://repo1.maven.org/maven2/me/andrz/findbugs/findbugs-diff/0.1.0/findbugs-diff-0.1.0-all.jar [TRACE] FindBugs diff JAR downloaded grep: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/bin/findbugs-diff-0.1.0-all.jar.md5sum>: No such file or directory [TRACE] FindBugs diff JAR checked, is safe to use [TRACE] Performing FindBugs diffs [TRACE] FindBugs diffs performed [TRACE] Checking FindBugs diffs and creating reports [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [client]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/hive]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/sqoop]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [2] new bugs found below threshold in [sharelib/spark]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/spark/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/streaming]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/hive2]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/oozie]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/hcatalog]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/pig]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/distcp]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [docs]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [server]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [core]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [hadooplibs/hadoop-utils-2]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [6] new bugs found below threshold in [examples]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): examples/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [42] new bugs found below threshold in [tools]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): tools/findbugs-new.html [ERROR] There are [50] new bugs found below threshold in total that must be fixed. [TRACE] FindBugs diffs checked and reports created [TRACE] File [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]> removed [TRACE] File [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5sum]> removed Running test-patch task BACKWARDS_COMPATIBILITY Running test-patch task TESTS Running test-patch task DISTRO Testing JIRA OOZIE-2807 Cleaning local git workspace ---------------------------- +1 PATCH_APPLIES +1 CLEAN -1 RAW_PATCH_ANALYSIS +1 the patch does not introduce any @author tags +1 the patch does not introduce any tabs +1 the patch does not introduce any trailing spaces +1 the patch does not introduce any line longer than 132 -1 the patch does not add/modify any testcase +1 RAT +1 the patch does not seem to introduce new RAT warnings +1 JAVADOC +1 the patch does not seem to introduce new Javadoc warnings +1 COMPILE +1 HEAD compiles +1 patch compiles +1 the patch does not seem to introduce new javac warnings -1 There are [50] new bugs found below threshold in total that must be fixed. +1 There are no new bugs found in [client]. +1 There are no new bugs found in [sharelib/hive]. +1 There are no new bugs found in [sharelib/sqoop]. -1 There are [2] new bugs found below threshold in [sharelib/spark] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/spark/findbugs-new.html The most important FindBugs errors are: At SparkMain.java:[line 477]: org.apache.oozie.action.hadoop.SparkMain.getJarVersion(File) may fail to close stream At SparkMain.java:[line 300]: Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oozie.action.hadoop.SparkMain.createPySparkLibFolder() +1 There are no new bugs found in [sharelib/streaming]. +1 There are no new bugs found in [sharelib/hive2]. +1 There are no new bugs found in [sharelib/oozie]. +1 There are no new bugs found in [sharelib/hcatalog]. +1 There are no new bugs found in [sharelib/pig]. +1 There are no new bugs found in [sharelib/distcp]. +1 There are no new bugs found in [docs]. +1 There are no new bugs found in [server]. +1 There are no new bugs found in [core]. +1 There are no new bugs found in [hadooplibs/hadoop-utils-2]. -1 There are [6] new bugs found below threshold in [examples] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): examples/findbugs-new.html The most important FindBugs errors are: At DateList.java:[line 55]: Nullcheck of date at line 55 of value previously dereferenced in org.apache.oozie.example.DateList.main(String[]) Private method org.apache.oozie.example.DateList.formatDateUTC(Calendar) is never called: Redundant null check at DateList.java:[line 62] org.apache.oozie.example.LocalOozieExample.execute(String[]) may fail to clean up java.io.InputStream: At DateList.java:[line 97] Path continues at LocalOozieExample.java:[line 76]: Obligation to clean up resource created at LocalOozieExample.java:[line 72] is not discharged Path continues at LocalOozieExample.java:[line 78]: Path continues at LocalOozieExample.java:[line 77] Path continues at LocalOozieExample.java:[line 88]: Path continues at LocalOozieExample.java:[line 81] Path continues at LocalOozieExample.java:[line 91]: Path continues at LocalOozieExample.java:[line 89] org.apache.oozie.example.LocalOozieExample.execute(String[]) may fail to close stream: Path continues at LocalOozieExample.java:[line 100] org.apache.oozie.example.Repeatable.getBaseline() may expose internal representation by returning Repeatable.baseline: At LocalOozieExample.java:[line 72] org.apache.oozie.example.Repeatable.setBaseline(Date) may expose internal representation by storing an externally mutable object into Repeatable.baseline: At Repeatable.java:[line 168] At Repeatable.java:[line 172] -1 There are [42] new bugs found below threshold in [tools] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): tools/findbugs-new.html The most important FindBugs errors are: At OozieDBCLI.java:[line 548]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInMysql(String, Connection): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 577]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInPostgres(String, Connection, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 983]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.createOozieSysTable(String, boolean, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 759]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaks(String, boolean): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 712]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 344]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.postUpgradeTasks(String, boolean, boolean): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 420]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.postUpgradeTasksFor40(String, boolean): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 258]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.upgradeOozieDBVersion(String, boolean, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 679]: org.apache.oozie.tools.OozieDBCLI.getAddColumnQuery(String, String, String) invokes inefficient new String(String) constructor At OozieDBCLI.java:[line 675]: org.apache.oozie.tools.OozieDBCLI.getDropColumnQuery(String, String) invokes inefficient new String(String) constructor At OozieDBCLI.java:[line 671]: org.apache.oozie.tools.OozieDBCLI.getRenameColumnQuery(String, String, String) invokes inefficient new String(String) constructor At OozieDBCLI.java:[line 69]: org.apache.oozie.tools.OozieDBCLI.HELP_INFO should be package protected Obligation to clean up resource created at OozieDBCLI.java:[line 721] is not discharged: org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean, String) may fail to clean up java.sql.Statement Path continues at OozieDBCLI.java:[line 728]: Path continues at OozieDBCLI.java:[line 722] Path continues at OozieDBCLI.java:[line 730]: Path continues at OozieDBCLI.java:[line 729] org.apache.oozie.tools.OozieDBCLI.checkDBExists() may fail to clean up java.sql.ResultSet on checked exception: Path continues at OozieDBCLI.java:[line 734] Path continues at OozieDBCLI.java:[line 892]: Obligation to clean up resource created at OozieDBCLI.java:[line 891] is not discharged Path continues at OozieDBCLI.java:[line 898]: Path continues at OozieDBCLI.java:[line 897] org.apache.oozie.tools.OozieDBCLI.checkDBExists() may fail to clean up java.sql.Statement on checked exception: Path continues at OozieDBCLI.java:[line 901] Path continues at OozieDBCLI.java:[line 891]: Obligation to clean up resource created at OozieDBCLI.java:[line 890] is not discharged Path continues at OozieDBCLI.java:[line 897]: Path continues at OozieDBCLI.java:[line 892] Path continues at OozieDBCLI.java:[line 901]: Path continues at OozieDBCLI.java:[line 898] Obligation to clean up resource created at OozieDBCLI.java:[line 550] is not discharged: org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInMysql(String, Connection) may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 552]: Path continues at OozieDBCLI.java:[line 551] Path continues at OozieDBCLI.java:[line 554]: Path continues at OozieDBCLI.java:[line 553] Path continues at OozieDBCLI.java:[line 556]: Path continues at OozieDBCLI.java:[line 555] Path continues at OozieDBCLI.java:[line 560]: Path continues at OozieDBCLI.java:[line 559] Path continues at OozieDBCLI.java:[line 562]: Path continues at OozieDBCLI.java:[line 561] Obligation to clean up resource created at OozieDBCLI.java:[line 998] is not discharged: org.apache.oozie.tools.OozieDBCLI.createOozieSysTable(String, boolean, String) may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 1007]: Path continues at OozieDBCLI.java:[line 999] Path continues at OozieDBCLI.java:[line 1011]: Path continues at OozieDBCLI.java:[line 1008] org.apache.oozie.tools.OozieDBCLI.ddlTweaks(String, boolean) may fail to clean up java.sql.Statement on checked exception: Path continues at OozieDBCLI.java:[line 1012] Path continues at OozieDBCLI.java:[line 835]: Obligation to clean up resource created at OozieDBCLI.java:[line 834] is not discharged Path continues at OozieDBCLI.java:[line 856]: Path continues at OozieDBCLI.java:[line 855] Obligation to clean up resource created at OozieDBCLI.java:[line 946] is not discharged: org.apache.oozie.tools.OozieDBCLI.getOozieDBVersion() may fail to clean up java.sql.ResultSet on checked exception Path continues at OozieDBCLI.java:[line 956]: Path continues at OozieDBCLI.java:[line 947] Path continues at OozieDBCLI.java:[line 960]: Path continues at OozieDBCLI.java:[line 957] Obligation to clean up resource created at OozieDBCLI.java:[line 945] is not discharged: org.apache.oozie.tools.OozieDBCLI.getOozieDBVersion() may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 947]: Path continues at OozieDBCLI.java:[line 946] Path continues at OozieDBCLI.java:[line 957]: Path continues at OozieDBCLI.java:[line 956] org.apache.oozie.tools.OozieDBCLI.postUpgradeTasks(String, boolean, boolean) may fail to clean up java.sql.Statement on checked exception: Path continues at OozieDBCLI.java:[line 960] Path continues at OozieDBCLI.java:[line 354]: Obligation to clean up resource created at OozieDBCLI.java:[line 353] is not discharged Path continues at OozieDBCLI.java:[line 414]: Path continues at OozieDBCLI.java:[line 413] Obligation to clean up resource created at OozieDBCLI.java:[line 435] is not discharged: org.apache.oozie.tools.OozieDBCLI.postUpgradeTasksFor40(String, boolean) may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 448]: Path continues at OozieDBCLI.java:[line 436] org.apache.oozie.tools.OozieDBCLI.showOozieSysInfo() may fail to clean up java.sql.ResultSet on checked exception: Path continues at OozieDBCLI.java:[line 449] Path continues at OozieDBCLI.java:[line 1029]: Obligation to clean up resource created at OozieDBCLI.java:[line 1028] is not discharged Path continues at OozieDBCLI.java:[line 1038]: Path continues at OozieDBCLI.java:[line 1037] org.apache.oozie.tools.OozieDBCLI.showOozieSysInfo() may fail to clean up java.sql.Statement on checked exception: Path continues at OozieDBCLI.java:[line 1041] Path continues at OozieDBCLI.java:[line 1028]: Obligation to clean up resource created at OozieDBCLI.java:[line 1027] is not discharged Path continues at OozieDBCLI.java:[line 1037]: Path continues at OozieDBCLI.java:[line 1029] Path continues at OozieDBCLI.java:[line 1041]: Path continues at OozieDBCLI.java:[line 1038] Obligation to clean up resource created at OozieDBCLI.java:[line 268] is not discharged: org.apache.oozie.tools.OozieDBCLI.upgradeOozieDBVersion(String, boolean, String) may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 273]: Path continues at OozieDBCLI.java:[line 269] Path continues at OozieDBCLI.java:[line 277]: Path continues at OozieDBCLI.java:[line 274] Obligation to clean up resource created at OozieDBCLI.java:[line 1050] is not discharged: org.apache.oozie.tools.OozieDBCLI.verifyDBState() may fail to clean up java.sql.ResultSet on checked exception Path continues at OozieDBCLI.java:[line 1062]: Path continues at OozieDBCLI.java:[line 1051] Obligation to clean up resource created at OozieDBCLI.java:[line 1049] is not discharged: org.apache.oozie.tools.OozieDBCLI.verifyDBState() may fail to clean up java.sql.Statement on checked exception Path continues at OozieDBCLI.java:[line 1051]: Path continues at OozieDBCLI.java:[line 1050] org.apache.oozie.tools.OozieDBCLI.verifyOozieSysTable(boolean, boolean) may fail to clean up java.sql.ResultSet on checked exception: Path continues at OozieDBCLI.java:[line 1062] Path continues at OozieDBCLI.java:[line 920]: Obligation to clean up resource created at OozieDBCLI.java:[line 919] is not discharged Path continues at OozieDBCLI.java:[line 926]: Path continues at OozieDBCLI.java:[line 925] org.apache.oozie.tools.OozieDBCLI.verifyOozieSysTable(boolean, boolean) may fail to clean up java.sql.Statement on checked exception: Path continues at OozieDBCLI.java:[line 929] Path continues at OozieDBCLI.java:[line 919]: Obligation to clean up resource created at OozieDBCLI.java:[line 918] is not discharged Path continues at OozieDBCLI.java:[line 925]: Path continues at OozieDBCLI.java:[line 920] Path continues at OozieDBCLI.java:[line 929]: Path continues at OozieDBCLI.java:[line 926] At OozieDBCLI.java:[line 721]: org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean, String) may fail to close Statement At OozieDBCLI.java:[line 460]: org.apache.oozie.tools.OozieDBCLI.replaceForDerby(String, String) may fail to close Statement At OozieDBCLI.java:[line 1003]: org.apache.oozie.tools.OozieDBCLI.createOozieSysTable(String, boolean, String) passes a nonconstant String to an execute method on an SQL statement At OozieDBCLI.java:[line 269]: org.apache.oozie.tools.OozieDBCLI.upgradeOozieDBVersion(String, boolean, String) passes a nonconstant String to an execute method on an SQL statement At OozieDBCLI.java:[line 562]: org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInMysql(String, Connection) passes a nonconstant String to an execute method on an SQL statement At OozieDBCLI.java:[line 604]: org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInPostgres(String, Connection, String) passes a nonconstant String to an execute method on an SQL statement Another occurrence at OozieDBCLI.java:[line 606]: Another occurrence at OozieDBCLI.java:[line 605] org.apache.oozie.tools.OozieDBCLI.postUpgradeTasks(String, boolean, boolean) passes a nonconstant String to an execute method on an SQL statement: Another occurrence at OozieDBCLI.java:[line 607] Exception is caught when Exception is not thrown in org.apache.oozie.tools.OozieDBExportCLI.queryAllDBTables(String): At OozieDBCLI.java:[line 401] Exceptional return value of java.io.File.delete() ignored in org.apache.oozie.tools.OozieDBExportCLI.queryAllDBTables(String): At OozieDBExportCLI.java:[line 162] Boxing/unboxing to parse a primitive org.apache.oozie.tools.OozieSharelibCLI.run(String[]): At OozieDBExportCLI.java:[line 168] org.apache.oozie.tools.OozieSharelibCLI.HELP_INFO should be package protected: At OozieSharelibCLI.java:[line 114] Exceptional return value of java.io.File.delete() ignored in org.apache.oozie.tools.OozieSharelibCLI.run(String[]): At OozieSharelibCLI.java:[line 51] Exceptional return value of java.io.File.mkdir() ignored in org.apache.oozie.tools.OozieSharelibCLI.run(String[]): At OozieSharelibCLI.java:[line 138] At OozieSharelibCLI.java:[line 139] +1 BACKWARDS_COMPATIBILITY +1 the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations +1 the patch does not modify JPA files -1 TESTS - patch does not compile, cannot run testcases +1 DISTRO +1 distro tarball builds with the patch ---------------------------- -1 Overall result, please check the reported -1(s) The full output of the test-patch run is available at https://builds.apache.org/job/oozie-trunk-precommit-build/3657/ Adding comment to JIRA Comment added. test-patch exit code: 1 Build step 'Execute shell' marked build as failure Archiving artifacts Compressed 1.57 MB of artifacts by 17.9% relative to #3648 Recording test results