See 
<https://builds.apache.org/job/oozie-trunk-precommit-build/3840/display/redirect>

------------------------------------------
[...truncated 499.66 KB...]
[INFO] 
[INFO] --- maven-assembly-plugin:2.2.1:single (default-cli) @ 
oozie-sharelib-distcp ---
[INFO] Reading assembly descriptor: 
../../src/main/assemblies/partial-sharelib.xml
[WARNING] The following patterns were never triggered in this artifact 
exclusion filter:
o  'org.apache.oozie:oozie-hadoop-distcp:jar'

[INFO] Copying files to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/sharelib/distcp/target/partial-sharelib>
[WARNING] Assembly file: 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/sharelib/distcp/target/partial-sharelib>
 is not a regular file (it may be a directory). It cannot be attached to the 
project build for installation or deployment.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie Core 4.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-core 
---
[INFO] Compiling 304 source files to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[66,23]
 error: getLauncherClasses() in GitActionExecutor cannot override 
getLauncherClasses() in JavaActionExecutor
[ERROR]   return type List<Class> is not compatible with List<Class<?>>
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[67,54]
 error: incompatible types
[ERROR]     List<Class<?>>
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[65,4]
 error: method does not override or implement a method from a supertype
[INFO] 3 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Oozie Main .................................. SUCCESS [  2.067 s]
[INFO] Apache Oozie Client ................................ SUCCESS [ 14.085 s]
[INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [  3.088 s]
[INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  2.179 s]
[INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  0.352 s]
[INFO] Apache Oozie Core .................................. FAILURE [  9.595 s]
[INFO] Apache Oozie Share Lib Streaming ................... SKIPPED
[INFO] Apache Oozie Share Lib Pig ......................... SKIPPED
[INFO] Apache Oozie Share Lib Git ......................... SKIPPED
[INFO] Apache Oozie Share Lib Hive ........................ SKIPPED
[INFO] Apache Oozie Share Lib Hive 2 ...................... SKIPPED
[INFO] Apache Oozie Share Lib Sqoop ....................... SKIPPED
[INFO] Apache Oozie Examples .............................. SKIPPED
[INFO] Apache Oozie Share Lib Spark ....................... SKIPPED
[INFO] Apache Oozie Share Lib ............................. SKIPPED
[INFO] Apache Oozie Docs .................................. SKIPPED
[INFO] Apache Oozie WebApp ................................ SKIPPED
[INFO] Apache Oozie Tools ................................. SKIPPED
[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: 33.279 s
[INFO] Finished at: 2017-05-30T01:29:35+00:00
[INFO] Final Memory: 74M/1136M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project oozie-core: Compilation failure: Compilation failure:
[ERROR] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[66,23]
 error: getLauncherClasses() in GitActionExecutor cannot override 
getLauncherClasses() in JavaActionExecutor
[ERROR] return type List<Class> is not compatible with List<Class<?>>
[ERROR] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[67,54]
 error: incompatible types
[ERROR] List<Class<?>>
[ERROR] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java>:[65,4]
 error: method does not override or implement a method from a supertype
[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-core

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 [server].
[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 [docs].
[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/spark].
[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/hive2].
[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/pig].
[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/distcp].
[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 [42] new bugs found below threshold in [core].
[DEBUG] You can find the FindBugs diff here (look for the red and orange ones): 
core/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
[ERROR] There are [48] new bugs found below threshold in total that must be 
fixed.
[TRACE] FindBugs diffs checked and reports created
[TRACE] Summary file size is 4198 bytes
[TRACE] Full summary file size is 14422 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-2877

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 contains 3 line(s) with trailing spaces
    -1 the patch contains 5 line(s) longer than 132 characters
    +1 the patch does adds/modifies 3 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 [48] new bugs found below threshold in total that must be fixed.
 +1 There are no new bugs found in [server].
 +1 There are no new bugs found in [client].
 +1 There are no new bugs found in [docs].
 +1 There are no new bugs found in [sharelib/hive].
 +1 There are no new bugs found in [sharelib/spark].
 +1 There are no new bugs found in [sharelib/hcatalog].
 +1 There are no new bugs found in [sharelib/hive2].
 +1 There are no new bugs found in [sharelib/streaming].
 +1 There are no new bugs found in [sharelib/pig].
 +1 There are no new bugs found in [sharelib/sqoop].
 +1 There are no new bugs found in [sharelib/distcp].
 +1 There are no new bugs found in [sharelib/oozie].
 -1 There are [42] new bugs found below threshold in [core] that must be fixed, 
listing only the first [5] ones.
 You can find the FindBugs diff here (look for the red and orange ones): 
core/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 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/3840/

Adding comment to JIRA
Comment added.

test-patch exit code: 1

Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results

Reply via email to