Jira: https://issues.apache.org/jira/browse/OOZIE-3542
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1218/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 3.10 MB...]
Running test-patch task MODERNIZER
Running modernizer op=report
[TRACE] grep -c '.*ERROR.*Prefer'
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/reports/MODERNIZER-clean.txt
[TRACE] Modernizer errors before patch: 69
[TRACE] grep -c '.*ERROR.*Prefer'
/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/reports/MODERNIZER-patch.txt
[TRACE] Modernizer errors after patch: 69
Testing JIRA OOZIE-3542
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 star imports
+1 the patch does not introduce any line longer than 132
+1 the patch adds/modifies 2 testcase(s)
+1 RAT
+1 the patch does not seem to introduce new RAT warnings
+1 JAVADOC
+1 Javadoc generation succeeded with the patch
+1 the patch does not seem to introduce new Javadoc warning(s)
+1 COMPILE
+1 HEAD compiles
+1 patch compiles
+1 the patch does not seem to introduce new javac warnings
-1 There are [15] new bugs found below threshold in total that must be fixed.
+1 There are no new bugs found in [core].
+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 [fluent-job/fluent-job-api].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [examples].
-1 There are [15] new bugs found below threshold in [tools] that must be
fixed, listing only the first [5] ones.
You can find the SpotBugs diff here (look for the red and orange ones):
tools/findbugs-new.html
The top [5] most important SpotBugs errors are:
At OozieDBCLI.java:[line 584]: This use of
java/sql/Statement.executeUpdate(Ljava/lang/String;)I can be vulnerable to SQL
injection
At OozieDBCLI.java:[line 574]: At OozieDBCLI.java:[line 573]
At OozieDBCLI.java:[line 577]: At OozieDBCLI.java:[line 575]
At OozieDBCLI.java:[line 579]: At OozieDBCLI.java:[line 578]
At OozieDBCLI.java:[line 584]: At OozieDBCLI.java:[line 581]
+1 There are no new bugs found in [webapp].
+1 There are no new bugs found in [sharelib/distcp].
+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/hcatalog].
+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/sqoop].
+1 There are no new bugs found in [sharelib/hive].
+1 There are no new bugs found in [sharelib/pig].
+1 There are no new bugs found in [sharelib/git].
+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
Tests run : 3180
Tests failed : 4
Tests in error : 0
Tests timed out : 0
-1 [ERROR] There are [4] test failures in [tools]. Listing only the first [5]
ones
testOtherRuntimeExceptionThrown:org.apache.oozie.tools.TestECPolicyDisabler
testOkNotChanged:org.apache.oozie.tools.TestECPolicyDisabler
testOkChanged:org.apache.oozie.tools.TestECPolicyDisabler
testServerNotSupports:org.apache.oozie.tools.TestECPolicyDisabler
Check console output for the full list of errors/failures
+1 DISTRO
+1 distro tarball builds with the patch
+1 MODERNIZER
----------------------------
-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/PreCommit-OOZIE-Build/1218/
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 4407 0 0 100 4407 0 3565 0:00:01 0:00:01 --:--:--
3565{"self":"https://issues.apache.org/jira/rest/api/2/issue/13255219/comment/16927439","id":"16927439","author":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","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-3542\n\nCleaning local git
workspace\n\n----------------------------\n\n{color:green}+1
PATCH_APPLIES{color}\n{color:green}+1 CLEAN{color}\n{color:green}+1
RAW_PATCH_ANALYSIS{color}\n. {color:green}+1{color} the patch does not
introduce any @author tags\n. {color:green}+1{color} the patch does not
introduce any tabs\n. {color:green}+1{color} the patch does not introduce
any trailing spaces\n. {color:green}+1{color} the patch does not introduce
any star imports\n. {color:green}+1{color} the patch does not introduce any
line longer than 132\n. {color:green}+1{color} the patch adds/modifies 2
testcase(s)\n{color:green}+1 RAT{color}\n. {color:green}+1{color} the patch
does not seem to introduce new RAT warnings\n{color:green}+1 JAVADOC{color}\n.
{color:green}+1{color} Javadoc generation succeeded with the patch\n.
{color:green}+1{color} the patch does not seem to introduce new Javadoc
warning(s)\n{color:green}+1 COMPILE{color}\n. {color:green}+1{color} HEAD
compiles\n. {color:green}+1{color} patch compiles\n.
{color:green}+1{color} the patch does not seem to introduce new javac
warnings\n{color:red}-1{color} There are [15] new bugs found below threshold in
total that must be fixed.\n. {color:green}+1{color} There are no new bugs
found in [core].\n. {color:green}+1{color} There are no new bugs found in
[client].\n. {color:green}+1{color} There are no new bugs found in
[docs].\n. {color:green}+1{color} There are no new bugs found in
[fluent-job/fluent-job-api].\n. {color:green}+1{color} There are no new bugs
found in [server].\n. {color:green}+1{color} There are no new bugs found in
[examples].\n. {color:red}-1{color} There are [15] new bugs found below
threshold in [tools] that must be fixed, listing only the first [5] ones.\n.
You can find the SpotBugs diff here (look for the red and orange ones):
tools/findbugs-new.html\n. The top [5] most important SpotBugs errors
are:\n. At OozieDBCLI.java:[line 584]: This use of
java/sql/Statement.executeUpdate(Ljava/lang/String;)I can be vulnerable to SQL
injection\n. At OozieDBCLI.java:[line 574]: At OozieDBCLI.java:[line 573]\n.
At OozieDBCLI.java:[line 577]: At OozieDBCLI.java:[line 575]\n. At
OozieDBCLI.java:[line 579]: At OozieDBCLI.java:[line 578]\n. At
OozieDBCLI.java:[line 584]: At OozieDBCLI.java:[line 581]\n.
{color:green}+1{color} There are no new bugs found in [webapp].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/distcp].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/spark].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/oozie].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/streaming].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/hive2].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/sqoop].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/hive].\n.
{color:green}+1{color} There are no new bugs found in [sharelib/pig].\n.
{color:green}+1{color} There are no new bugs found in
[sharelib/git].\n{color:green}+1 BACKWARDS_COMPATIBILITY{color}\n.
{color:green}+1{color} the patch does not change any JPA
Entity/Colum/Basic/Lob/Transient annota100 10190 0 5783 100 4407 4675
3562 0:00:01 0:00:01 --:--:-- 8244
tions\n. {color:green}+1{color} the patch does not modify JPA
files\n{color:red}-1 TESTS{color}\n. Tests run : 3180\n. Tests
failed : 4\n. Tests in error : 0\n. Tests timed out :
0\n\n{color:red}-1{color} [ERROR] There are [4] test failures in [tools].
Listing only the first [5]
ones\ntestOtherRuntimeExceptionThrown:org.apache.oozie.tools.TestECPolicyDisabler\ntestOkNotChanged:org.apache.oozie.tools.TestECPolicyDisabler\ntestOkChanged:org.apache.oozie.tools.TestECPolicyDisabler\ntestServerNotSupports:org.apache.oozie.tools.TestECPolicyDisabler\n\nCheck
console output for the full list of errors/failures\n{color:green}+1
DISTRO{color}\n. {color:green}+1{color} distro tarball builds with the patch
\n{color:green}+1
MODERNIZER{color}\n\n----------------------------\n{color:red}*-1 Overall
result, please check the reported -1(s)*{color}\n\n\nThe full output of the
test-patch run is available at\n\n.
https://builds.apache.org/job/PreCommit-OOZIE-Build/1218/\n\n","updateAuthor":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","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":"2019-09-11T09:39:38.304+0000","updated":"2019-09-11T09:39:38.304+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3542
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
4 tests failed.
FAILED:
org.apache.oozie.tools.TestECPolicyDisabler.testOtherRuntimeExceptionThrown
Error Message:
exception expected
Stack Trace:
java.lang.AssertionError: exception expected
at org.junit.Assert.fail(Assert.java:88)
at
org.apache.oozie.tools.TestECPolicyDisabler.testOtherRuntimeExceptionThrown(TestECPolicyDisabler.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
FAILED: org.apache.oozie.tools.TestECPolicyDisabler.testOkNotChanged
Error Message:
result is expected expected:<ALREADY_SET> but was:<NOT_SUPPORTED>
Stack Trace:
java.lang.AssertionError: result is expected expected:<ALREADY_SET> but
was:<NOT_SUPPORTED>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at
org.apache.oozie.tools.TestECPolicyDisabler.testOkNotChanged(TestECPolicyDisabler.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
FAILED: org.apache.oozie.tools.TestECPolicyDisabler.testOkChanged
Error Message:
result is expected expected:<DONE> but was:<NOT_SUPPORTED>
Stack Trace:
java.lang.AssertionError: result is expected expected:<DONE> but
was:<NOT_SUPPORTED>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at
org.apache.oozie.tools.TestECPolicyDisabler.testOkChanged(TestECPolicyDisabler.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
FAILED: org.apache.oozie.tools.TestECPolicyDisabler.testServerNotSupports
Error Message:
result is expected expected:<NO_SUCH_METHOD> but was:<NOT_SUPPORTED>
Stack Trace:
java.lang.AssertionError: result is expected expected:<NO_SUCH_METHOD> but
was:<NOT_SUPPORTED>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at
org.apache.oozie.tools.TestECPolicyDisabler.testServerNotSupports(TestECPolicyDisabler.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)