See <https://builds.apache.org/job/oozie-trunk-precommit-build/3842/display/redirect>
------------------------------------------ [...truncated 853.19 KB...] [INFO] Processing overlay [ id org.apache.oozie:oozie-docs] [INFO] Webapp assembled in [2488 msecs] [INFO] Building war: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/webapp/target/oozie-webapp-4.4.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:2.0-beta-6:attach-descriptor (attach-descriptor) @ oozie-webapp --- [INFO] [INFO] --- maven-assembly-plugin:2.2.1:single (default-cli) @ oozie-webapp --- [INFO] Reading assembly descriptor: ../src/main/assemblies/empty.xml [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Oozie Tools 4.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-tools --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ oozie-tools --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-tools --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ oozie-tools --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 11 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ oozie-tools --- [INFO] Compiling 6 source files to <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/target/test-classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/test/java/org/apache/oozie/tools/TestOozieSharelibCLI.java>:[132,27] error: checkIfSourceFilesExist(File,Path) in <anonymous org.apache.oozie.tools.TestOozieSharelibCLI$1> cannot override checkIfSourceFilesExist(File,Path) in OozieSharelibCLI [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Oozie Main .................................. SUCCESS [ 1.892 s] [INFO] Apache Oozie Client ................................ SUCCESS [ 21.287 s] [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ 3.053 s] [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [ 2.119 s] [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [ 0.355 s] [INFO] Apache Oozie Core .................................. SUCCESS [ 41.085 s] [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [ 3.124 s] [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [ 2.450 s] [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [ 4.869 s] [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [ 4.294 s] [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [ 0.542 s] [INFO] Apache Oozie Examples .............................. SUCCESS [ 2.266 s] [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [ 7.885 s] [INFO] Apache Oozie Share Lib ............................. SUCCESS [ 22.413 s] [INFO] Apache Oozie Docs .................................. SUCCESS [ 13.683 s] [INFO] Apache Oozie WebApp ................................ SUCCESS [ 44.488 s] [INFO] Apache Oozie Tools ................................. FAILURE [ 2.593 s] [INFO] Apache Oozie MiniOozie ............................. SKIPPED [INFO] Apache Oozie Server ................................ SKIPPED [INFO] Apache Oozie Distro ................................ SKIPPED [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:00 min [INFO] Finished at: 2017-05-30T14:35:41+00:00 [INFO] Final Memory: 108M/996M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project oozie-tools: Compilation failure [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/test/java/org/apache/oozie/tools/TestOozieSharelibCLI.java>:[132,27] error: checkIfSourceFilesExist(File,Path) in <anonymous org.apache.oozie.tools.TestOozieSharelibCLI$1> cannot override checkIfSourceFilesExist(File,Path) in OozieSharelibCLI [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-tools 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 [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/hcatalog]. [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 [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/streaming]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/spark]. [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/distcp]. [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 [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 [tools]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [98] new bugs found below threshold in [docs]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): docs/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 [client]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): client/findbugs-new.html [ERROR] There are [104] new bugs found below threshold in total that must be fixed. [TRACE] FindBugs diffs checked and reports created [TRACE] Summary file size is 4048 bytes [TRACE] Full summary file size is 24024 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-2829 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 adds/modifies 7 testcase(s) +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 WARNING: the current HEAD has 6 Javadoc warning(s) -1 COMPILE +1 HEAD compiles -1 patch does not compile +1 the patch does not seem to introduce new javac warnings -1 There are [104] new bugs found below threshold in total that must be fixed. +1 There are no new bugs found in [sharelib/hive]. +1 There are no new bugs found in [sharelib/hcatalog]. +1 There are no new bugs found in [sharelib/sqoop]. +1 There are no new bugs found in [sharelib/pig]. +1 There are no new bugs found in [sharelib/streaming]. +1 There are no new bugs found in [sharelib/spark]. +1 There are no new bugs found in [sharelib/oozie]. +1 There are no new bugs found in [sharelib/distcp]. +1 There are no new bugs found in [sharelib/hive2]. +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 [tools]. -1 There are [98] new bugs found below threshold in [docs] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): docs/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 2171]: Found reliance on default encoding in org.apache.oozie.cli.OozieCLI.validateCommandV41(CommandLine): new java.io.FileReader(File) -1 There are [6] 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 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 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) There is at least one warning, please check The full output of the test-patch run is available at https://builds.apache.org/job/oozie-trunk-precommit-build/3842/ Adding comment to JIRA Comment added. test-patch exit code: 1 Build step 'Execute shell' marked build as failure Archiving artifacts Recording test results
