Jira: https://issues.apache.org/jira/browse/OOZIE-3592
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1312/

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 2.17 MB...]
[TRACE] Modernizer errors after patch: 52


Testing JIRA OOZIE-3592

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 does not add/modify any testcase
+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 [7] new bugs found below threshold in total that must be fixed.
    +1 There are no new bugs found in [fluent-job/fluent-job-api].
    +1 There are no new bugs found in [docs].
    -1 There are [6] new bugs found below threshold in [core] that must be 
fixed, listing only the first [5] ones.
    You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
    The top [5] most important SpotBugs errors are:
    At BulkJPAExecutor.java:[line 206]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection
    At BulkJPAExecutor.java:[line 176]: At BulkJPAExecutor.java:[line 175]
    At BulkJPAExecutor.java:[line 205]: At BulkJPAExecutor.java:[line 199]
    This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 206]
    At BulkJPAExecutor.java:[line 111]: At BulkJPAExecutor.java:[line 127]
    +1 There are no new bugs found in [sharelib/spark].
    +1 There are no new bugs found in [sharelib/git].
    +1 There are no new bugs found in [sharelib/sqoop].
    +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 [1] new bugs found below threshold in [sharelib/oozie] that 
must be fixed.
    You can find the SpotBugs diff here (look for the red and orange ones): 
sharelib/oozie/findbugs-new.html
    The most important SpotBugs errors are:
    At ErrorHolder.java:[line 64]: Possible information exposure through an 
error message
    +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/distcp].
    +1 There are no new bugs found in [tools].
    0 There are [4] new bugs found in [server] that would be nice to have fixed.
    You can find the SpotBugs diff here: server/findbugs-new.html
    +1 There are no new bugs found in [client].
    +1 There are no new bugs found in [examples].
    +1 There are no new bugs found in [webapp].
+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        : 3209
    Tests failed     : 0
    Tests in error   : 2
    Tests timed out  : 0

-1 [ERROR] There are [2] test errors in [sharelib]. Listing only the first [5] 
ones
testActionThrowsLauncherException:org.apache.oozie.action.hadoop.TestLauncherAM
testActionThrowsSecurityExceptionWithExitCode1:org.apache.oozie.action.hadoop.TestLauncherAM

Check console output for the full list of errors/failures
    Tests failed at first run:
TestBlockingInputStream#testLimitedWritingBlockingInputStream
    For the complete list of flaky tests, see TEST-SUMMARY-FULL files.
+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/1312/

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 --:--:-- --:--:-- --:--:--     0  
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 
 5082    0     0  100  5082      0   3753  0:00:01  0:00:01 --:--:--  
3750{"self":"https://issues.apache.org/jira/rest/api/2/issue/13289818/comment/17053488","id":"17053488","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-3592\n\nCleaning local git 
workspace\n\n----------------------------\n\n{color:green}+1 
PATCH_APPLIES{color}\n{color:green}+1 CLEAN{color}\n{color:red}-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:red}-1{color} the patch does not add/modify 
any testcase\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 [7] new bugs found below threshold in 
total that must be fixed.\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 [docs].\n.    {color:red}-1{color} There are [6] new bugs 
found below threshold in [core] 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): core/findbugs-new.html\n.    The top [5] most important SpotBugs errors 
are:\n.    At BulkJPAExecutor.java:[line 206]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection\n.    At BulkJPAExecutor.java:[line 
176]: At BulkJPAExecutor.java:[line 175]\n.    At BulkJPAExecutor.java:[line 
205]: At BulkJPAExecutor.java:[line 199]\n.    This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 206]\n. 
   At BulkJPAExecutor.java:[line 111]: At BulkJPAExecutor.java:[line 127]\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/git].\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/hive2].\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/pig].\n.    
{color:red}-1{color} There are [1] new bugs found below threshold in 
[sharelib/oozie] that must be fixed.\n.    You can find the SpotBugs diff here 
(look for the red and orange ones): sharelib/oozie/findbugs-new.html\n.    The 
most important SpotBugs errors are:\n.    At ErrorHolder.java:[line 64]: 
Possible information exposure through an error message\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/hcatalog].\n.   
 {color:green}+1{color} There are no new bugs found in [sharelib/distcp].\n.    
{color:green}+1{color} 100 11540    0  6458  100  5082   4481   3526  0:00:01  
0:00:01 --:--:--  8002
There are no new bugs found in [tools].\n.    {color:orange}0{color} There are 
[4] new bugs found in [server] that would be nice to have fixed.\n.    You can 
find the SpotBugs diff here: server/findbugs-new.html\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 [examples].\n.    
{color:green}+1{color} There are no new bugs found in 
[webapp].\n{color:green}+1 BACKWARDS_COMPATIBILITY{color}\n.    
{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations\n.    {color:green}+1{color} the 
patch does not modify JPA files\n{color:red}-1 TESTS{color}\n.    Tests run     
   : 3209\n.    Tests failed     : 0\n.    Tests in error   : 2\n.    Tests 
timed out  : 0\n\n{color:red}-1{color} [ERROR] There are [2] test errors in 
[sharelib]. Listing only the first [5] 
ones\ntestActionThrowsLauncherException:org.apache.oozie.action.hadoop.TestLauncherAM\ntestActionThrowsSecurityExceptionWithExitCode1:org.apache.oozie.action.hadoop.TestLauncherAM\n\nCheck
 console output for the full list of errors/failures\n.    {color:orange}Tests 
failed at first 
run:{color}\nTestBlockingInputStream#testLimitedWritingBlockingInputStream\n.   
 For the complete list of flaky tests, see TEST-SUMMARY-FULL 
files.\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/1312/\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":"2020-03-06T14:52:13.513+0000","updated":"2020-03-06T14:52:13.513+0000"}
test-patch exit code: 1

Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3592
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) 
##############################
2 tests failed.
FAILED:  
org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsLauncherException

Error Message:
null

Stack Trace:
java.lang.NullPointerException
        at 
org.apache.oozie.action.hadoop.ErrorHolder.printStackTraceIfNotIgnorable(ErrorHolder.java:64)
        at 
org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:419)
        at 
org.apache.oozie.action.hadoop.LauncherAM.access$400(LauncherAM.java:54)
        at org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.java:225)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:219)
        at 
org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:501)
        at 
org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsLauncherException(TestLauncherAM.java:273)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44)
        at 
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        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.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        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.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74)
        at 
org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80)
        at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
        at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
        at 
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
        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.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        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.action.hadoop.TestLauncherAM.testActionThrowsSecurityExceptionWithExitCode1

Error Message:
null

Stack Trace:
java.lang.NullPointerException
        at 
org.apache.oozie.action.hadoop.ErrorHolder.printStackTraceIfNotIgnorable(ErrorHolder.java:64)
        at 
org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:419)
        at 
org.apache.oozie.action.hadoop.LauncherAM.access$400(LauncherAM.java:54)
        at org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.java:225)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:219)
        at 
org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:501)
        at 
org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsSecurityExceptionWithExitCode1(TestLauncherAM.java:300)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44)
        at 
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        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.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        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.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74)
        at 
org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80)
        at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
        at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
        at 
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
        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.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        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)

Reply via email to