See <https://builds.apache.org/job/oozie-trunk-precommit-build/3767/display/redirect>
------------------------------------------ [...truncated 912.56 KB...] [INFO] Apache Oozie WebApp ................................ SUCCESS [ 37.539 s] [INFO] Apache Oozie Tools ................................. SUCCESS [ 1.791 s] [INFO] Apache Oozie MiniOozie ............................. SUCCESS [ 0.987 s] [INFO] Apache Oozie Server ................................ FAILURE [ 4.196 s] [INFO] Apache Oozie Distro ................................ SKIPPED [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:06 min [INFO] Finished at: 2017-04-04T08:48:03+00:00 [INFO] Final Memory: 107M/1028M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project oozie-server: Compilation failure [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/server/src/test/java/org/apache/oozie/server/guice/TestConstraintSecurityHandlerProvider.java>:[45,91] error: CONTEXT_PATH is not public in EmbeddedOozieServer; cannot be accessed from outside package [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :oozie-server 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] 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 bin/test-patch-11-findbugs-diff: line 253: : No such file or directory bin/test-patch-11-findbugs-diff: line 255: [: -le: unary operator expected Exception in thread "main" groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class java.net.URI] at groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3202) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3154) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3097) at groovy.lang.MetaClassImpl.createConstructorSite(MetaClassImpl.java:3384) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:88) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at me.andrz.findbugs.diff.FindBugsDiff.diffFromFilePaths(FindBugsDiff.groovy:33) at me.andrz.findbugs.diff.FindBugsDiff$diffFromFilePaths.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at me.andrz.findbugs.diff.FindBugsDiffIo.run(FindBugsDiffIo.groovy:21) at me.andrz.findbugs.diff.FindBugsDiffIo$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at me.andrz.findbugs.diff.FindBugsDiffCli.handleFileOpts(FindBugsDiffCli.groovy:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148) at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169) at me.andrz.findbugs.diff.FindBugsDiffCli.main(FindBugsDiffCli.groovy:51) [TRACE] FindBugs diffs performed [TRACE] Checking FindBugs diffs and creating reports [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [98] new bugs found below threshold in [server]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): server/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [327] new bugs found below threshold in [client]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): client/findbugs-new.html [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 [docs]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [42] new bugs found below threshold in [hadooplibs/hadoop-utils-2]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): hadooplibs/hadoop-utils-2/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [6] 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 [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [1] 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 [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/sqoop]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [19] new bugs found below threshold in [sharelib/distcp]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/distcp/findbugs-new.html [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 [ERROR] There are [3] new bugs found below threshold in [sharelib/hcatalog]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/hcatalog/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [3] new bugs found below threshold in [sharelib/hive]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [8] new bugs found below threshold in [sharelib/hive2]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive2/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [2] new bugs found below threshold in [sharelib/pig]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/pig/findbugs-new.html [ERROR] There are [509] new bugs found below threshold in total that must be fixed. [TRACE] FindBugs diffs checked and reports created [TRACE] Summary file size is 10719 bytes [TRACE] Full summary file size is 109107 bytes [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-2850 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 contains 1 line(s) with 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 adds/modifies 3 testcase(s) -1 RAT -1 the patch seems to introduce 1 new RAT warning(s) +1 JAVADOC +1 the patch does not seem to introduce new Javadoc warnings -1 COMPILE +1 HEAD compiles -1 patch does not compile +1 the patch does not seem to introduce new javac warnings -1 There are [509] new bugs found below threshold in total that must be fixed. -1 There are [98] new bugs found below threshold in [server] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): server/findbugs-new.html The top [5] most important FindBugs errors are: At CLIParser.java:[line 169]: Found reliance on default encoding in org.apache.oozie.cli.CLIParser.showHelp(CommandLine): new java.io.PrintWriter(OutputStream) At CLIParser.java:[line 57]: new org.apache.oozie.cli.CLIParser(String, String[]) may expose internal representation by storing an externally mutable object into CLIParser.cliHelp At CLIParser.java:[lines 80-104]: Should org.apache.oozie.cli.CLIParser$Command be a _static_ inner class? At OozieCLI.java:[line 845]: Found reliance on default encoding in org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine): new java.io.FileReader(File) At OozieCLI.java:[line 2175]: Found reliance on default encoding in org.apache.oozie.cli.OozieCLI.validateCommandV41(CommandLine): new java.io.FileReader(File) -1 There are [327] new bugs found below threshold in [client] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): client/findbugs-new.html The top [5] most important FindBugs errors are: At BinaryBlob.java:[line 68]: org.apache.oozie.BinaryBlob.getBytes() may expose internal representation by returning BinaryBlob.bytes org.apache.oozie.BinaryBlob.getRawBlob() may expose internal representation by returning BinaryBlob.rawBlob: Another occurrence at BinaryBlob.java:[line 88] Another occurrence at BinaryBlob.java:[line 116]: At BinaryBlob.java:[line 99] At BinaryBlob.java:[line 43]: new org.apache.oozie.BinaryBlob(byte[], boolean) may expose internal representation by storing an externally mutable object into BinaryBlob.bytes At BinaryBlob.java:[line 47]: new org.apache.oozie.BinaryBlob(byte[], boolean) may expose internal representation by storing an externally mutable object into BinaryBlob.rawBlob +1 There are no new bugs found in [core]. +1 There are no new bugs found in [docs]. -1 There are [42] new bugs found below threshold in [hadooplibs/hadoop-utils-2] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): hadooplibs/hadoop-utils-2/findbugs-new.html The top [5] 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) -1 There are [6] new bugs found below threshold in [tools] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): tools/findbugs-new.html The top [5] 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] -1 There are [1] 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 StreamingMain.java:[line 70]: org.apache.oozie.action.hadoop.StreamingMain.addActionConf(JobConf, Configuration) concatenates strings using + in a loop +1 There are no new bugs found in [sharelib/streaming]. +1 There are no new bugs found in [sharelib/sqoop]. -1 There are [19] new bugs found below threshold in [sharelib/distcp] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): sharelib/distcp/findbugs-new.html The top [5] most important FindBugs errors are: At LauncherMain.java:[line 73]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMain.getHadoopJobIds(String, Pattern[]): new java.io.FileReader(String) At LauncherMain.java:[line 109]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMain.writeExternalChildIDs(String, Pattern[], String): String.getBytes() At LauncherMain.java:[line 59]: org.apache.oozie.action.hadoop.LauncherMain.HADOOP_SITE_FILES should be both final and package protected At LauncherMain.java:[line 276]: Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oozie.action.hadoop.LauncherMain.writeHadoopConfig(String, File) At LauncherMapper.java:[line 407]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMapper.getLocalFileContentStr(File, String, int): new java.io.FileReader(File) +1 There are no new bugs found in [sharelib/oozie]. -1 There are [3] new bugs found below threshold in [sharelib/hcatalog] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hcatalog/findbugs-new.html The most important FindBugs errors are: At HiveMain.java:[line 349]: Found reliance on default encoding in org.apache.oozie.action.hadoop.HiveMain.readStringFromFile(String): new java.io.FileReader(String) Obligation to clean up resource created at HiveMain.java:[line 178] is not discharged: org.apache.oozie.action.hadoop.HiveMain.setUpHiveLog4J(Configuration) may fail to clean up java.io.OutputStream on checked exception org.apache.oozie.action.hadoop.HiveMain.setUpHiveSite() may fail to clean up java.io.OutputStream on checked exception: Path continues at HiveMain.java:[line 179] Path continues at HiveMain.java:[line 194]: Obligation to clean up resource created at HiveMain.java:[line 193] is not discharged -1 There are [3] new bugs found below threshold in [sharelib/hive] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive/findbugs-new.html The most important FindBugs errors are: At Hive2Main.java:[line 281]: Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.readStringFromFile(String): new java.io.FileReader(String) At Hive2Main.java:[line 270]: Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String): new java.io.PrintStream(OutputStream) At Hive2Main.java:[line 273]: org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String) invokes System.exit(...), which shuts down the entire virtual machine -1 There are [8] new bugs found below threshold in [sharelib/hive2] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive2/findbugs-new.html The top [5] most important FindBugs errors are: At OoziePigStats.java:[line 130]: org.apache.oozie.action.hadoop.OoziePigStats.toJSONFromMultiStoreCounters(Map) makes inefficient use of keySet iterator instead of entrySet iterator At PigMain.java:[line 344]: Dead store to klass in org.apache.oozie.action.hadoop.PigMain.runPigJob(String[], String, boolean, boolean) At PigMain.java:[line 316]: Found reliance on default encoding in org.apache.oozie.action.hadoop.PigMain.handleError(String): new java.io.FileReader(String) At PigMain.java:[line 417]: Found reliance on default encoding in org.apache.oozie.action.hadoop.PigMain.writeExternalData(String, File): new java.io.FileWriter(File) Obligation to clean up resource created at PigMain.java:[line 131] is not discharged: org.apache.oozie.action.hadoop.PigMain.run(String[]) may fail to clean up java.io.OutputStream on checked exception -1 There are [2] new bugs found below threshold in [sharelib/pig] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/pig/findbugs-new.html The most important FindBugs errors are: At SparkMain.java:[line 506]: org.apache.oozie.action.hadoop.SparkMain.getJarVersion(File) may fail to close stream At SparkMain.java:[line 328]: Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oozie.action.hadoop.SparkMain.createPySparkLibFolder() +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 fails 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/3767/ Adding comment to JIRA Comment added. test-patch exit code: 1 Build step 'Execute shell' marked build as failure Archiving artifacts Compressed 1.18 MB of artifacts by 50.5% relative to #3766 Recording test results