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

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 1.69 MB...]
 -1 There are [3] 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 PigMain.java:[line 258]: java/io/File.<init>(Ljava/lang/String;)V 
reads a file whose location might be specified by user input
 At PigMain.java:[line 141]: At PigMain.java:[line 131]
 At PigMain.java:[line 245]: At PigMain.java:[line 199]
 At PigMain.java:[line 137]: java/io/File.<init>(Ljava/lang/String;)V 
reads a file whose location might be specified by user input
 java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At PigMain.java:[line 131]
 +1 There are no new bugs found in [sharelib/sqoop].
 -1 There are [9] new bugs found below threshold in [sharelib/oozie] 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/oozie/findbugs-new.html
 The top [5] most important FindBugs errors are:
 At LauncherMain.java:[line 473]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 At LauncherMain.java:[line 463]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 At LauncherMain.java:[line 140]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 java/io/FileReader.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At LauncherMain.java:[line 176]
 At LauncherMain.java:[line 176]: At LauncherMain.java:[line 144]
 -1 There are [2] 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 LocalOozieExample.java:[line 47]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At LocalOozieExample.java:[line 35]
 At LocalOozieExample.java:[line 35]: At LocalOozieExample.java:[line 72]
 -1 There are [8] 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 OozieCLI.java:[line 841]: java/io/File.<init>(Ljava/lang/String;)V 
reads a file whose location might be specified by user input
 java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At OozieCLI.java:[line 839]
 At OozieCLI.java:[line 839]: At OozieCLI.java:[line 849]
 At OozieCLI.java:[line 876]: java/io/File.<init>(Ljava/lang/String;)V 
reads a file whose location might be specified by user input
 java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At OozieCLI.java:[line 871]
 -1 There are [67] 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 EmailActionExecutor.java:[line 268]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 At EmailActionExecutor.java:[line 163]: At EmailActionExecutor.java:[line 161]
 At EmailActionExecutor.java:[line 177]: At EmailActionExecutor.java:[line 172]
 At SshActionExecutor.java:[line 135]: This usage of 
java/lang/Runtime.exec([Ljava/lang/String;)Ljava/lang/Process; can be 
vulnerable to Command Injection
 At SshActionExecutor.java:[line 132]: At SshActionExecutor.java:[line 131]
 -1 There are [29] 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 OozieDBCLI.java:[line 548]: 
java/io/FileWriter.<init>(Ljava/lang/String;Z)V writes to a file whose 
location might be specified by user input
 At OozieDBCLI.java:[line 126]: At OozieDBCLI.java:[line 122]
 At OozieDBCLI.java:[line 229]: At OozieDBCLI.java:[line 133]
 At OozieDBCLI.java:[line 703]: At OozieDBCLI.java:[line 249]
 At OozieDBCLI.java:[line 577]: 
java/io/FileWriter.<init>(Ljava/lang/String;Z)V writes to a file whose 
location might be specified by user input
 -1 There are [1] new bugs found below threshold in [server] that must be fixed.
 You can find the FindBugs diff here (look for the red and orange ones): 
server/findbugs-new.html
 The most important FindBugs errors are:
 At JspHandlerProvider.java:[line 43]: 
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file 
whose location might be specified by user input
 At JspHandlerProvider.java:[line 43]
+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: 2088
    Tests failed: 4
    Tests errors: 1

    The patch failed the following testcases:

testPartitionDependency(org.apache.oozie.service.TestPartitionDependencyManagerService)
testCoordActionRecoveryServiceForWaitingRegisterPartition(org.apache.oozie.service.TestRecoveryService)
testConnectionDrop(org.apache.oozie.jms.TestJMSJobEventListener)
testPartitionDependency(org.apache.oozie.service.TestPartitionDependencyManagerEhcache)

    Tests failing with errors:
testConnectionRetry(org.apache.oozie.service.TestJMSAccessorService)

    Tests failed at first run:
TestJavaActionExecutor#testCredentialsSkip
    For the complete list of flaky tests, see TEST-SUMMARY-FULL files.
+1 DISTRO
    +1 distro tarball builds 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/PreCommit-OOZIE-Build/368/

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{"self":"https://issues.apache.org/jira/rest/api/2/issue/13117644/comment/16350551","id":"16350551","author":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","emailAddress":"blackhole
 at hadoop dot apache dot 
org","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-3121\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 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} the patch 
does not seem to introduce new Javadoc warnings\n.    
{color:red}WARNING{color}: the current HEAD has 100 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 [126] new bugs found below threshold 
in total that must be fixed.\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 
[sharelib/distcp].\n. {color:red}-1{color} There are [2] new bugs found below 
threshold in [sharelib/hive] that must be fixed.\n. You can find the FindBugs 
diff here (look for the red and orange ones): 
sharelib/hive/findbugs-new.html\n. The most important FindBugs errors are:\n. 
At HiveMain.java:[line 317]: 
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input\n. At HiveMain.java:[line 226]: At 
HiveMain.java:[line 207]\n. At HiveMain.java:[line 210]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At HiveMain.java:[line 207]\n. 
{color:red}-1{color} There are [2] new bugs found below threshold in 
[sharelib/spark] that must be fixed.\n. You can find the FindBugs diff here 
(look for the red and orange ones): sharelib/spark/findbugs-new.html\n. The 
most important FindBugs errors are:\n. At SparkMain.java:[line 128]: 
java/io/File.<init>(Ljava/io/File;Ljava/lang/String;)V reads a file whose 
location might be specified by user input\n. 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At SparkMain.java:[line 128]\n. At 
SparkMain.java:[line 161]: At SparkMain.java:[line 168]\n. At 
SparkMain.java:[line 167]\n. {color:red}-1{color} There are [3] new bugs found 
below threshold in [sharelib/hive2] that must be fixed.\n. You can find the 
FindBugs diff here (look for the red and orange ones): 
sharelib/hive2/findbugs-new.html\n. The most important FindBugs errors are:\n. 
At Hive2Main.java:[line 279]: 
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input\n. At Hive2Main.java:[line 165]: At 
Hive2Main.java:[line 146]\n. At Hive2Main.java:[line 149]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. 
java/io/FileOutputStream.<init>(Ljava/lang/String;)V writes to a file 
whose location might be specified by user input: At Hive2Main.java:[line 
146]\n. At Hive2Main.java:[line 118]: At Hive2Main.java:[line 267]\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:red}-1{color} There are [3] new bugs found below threshold in 
[sharelib/pig] that must be fixed.\n. You can find the FindBugs diff here (look 
for the red and orange ones): sharelib/pig/findbugs-new.html\n. The most 
important FindBugs errors are:\n. At PigMain.java:[line 258]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At PigMain.java:[line 141]: At 
PigMain.java:[line 131]\n. At PigMain.java:[line 245]: At PigMain.java:[line 
199]\n. At PigMain.java:[line 137]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At PigMain.java:[line 131]\n. 
{color:green}+1{color} There are no new bugs found in [sharelib/sqoop].\n. 
{color:red}-1{color} There are [9] new bugs found below threshold in 
[sharelib/oozie] that must be fixed, listing only the first [5] ones.\n. You 
can find the FindBugs diff here (look for the red and orange ones): 
sharelib/oozie/findbugs-new.html\n. The top [5] most important FindBugs errors 
are:\n. At LauncherMain.java:[line 473]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At LauncherMain.java:[line 463]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At LauncherMain.java:[line 140]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. 
java/io/FileReader.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At LauncherMain.java:[line 176]\n. 
At LauncherMain.java:[line 176]: At LauncherMain.java:[line 144]\n. 
{color:red}-1{color} There are [2] new bugs found below threshold in [examples] 
that must be fixed.\n. You can find the FindBugs diff here (look for the red 
and orange ones): examples/findbugs-new.html\n. The most important FindBugs 
errors are:\n. At LocalOozieExample.java:[line 47]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. 
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At LocalOozieExample.java:[line 
35]\n. At LocalOozieExample.java:[line 35]: At LocalOozieExample.java:[line 
72]\n. {color:red}-1{color} There are [8] new bugs found below threshold in 
[client] that must be fixed, listing only the first [5] ones.\n. You can find 
the FindBugs diff here (look for the red and orange ones): 
client/findbugs-new.html\n. The top [5] most important FindBugs errors are:\n. 
At OozieCLI.java:[line 841]: java/io/File.<init>(Ljava/lang/String;)V 
reads a file whose location might be specified by user input\n. 
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input: At OozieCLI.java:[line 839]\n. At 
OozieCLI.java:[line 839]: At OozieCLI.java:[line 849]\n. At OozieCLI.java:[line 
876]: java/io/File.<init>(Ljava/lang/String;)V reads a file whose 
location might be specified by user input\n. 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At OozieCLI.java:[line 871]\n. 
{color:red}-1{color} There are [67] new bugs found below threshold in [core] 
that must be fixed, listing only the first [5] ones.\n. You can find the 
FindBugs diff here (look for the red and orange ones): 
core/findbugs-new.html\n. The top [5] most important FindBugs errors are:\n. At 
EmailActionExecutor.java:[line 268]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At EmailActionExecutor.java:[l100 22346    
0 11917  100 10429  13337  11672 --:--:-- --:--:-- --:--:-- 13344
ine 163]: At EmailActionExecutor.java:[line 161]\n. At 
EmailActionExecutor.java:[line 177]: At EmailActionExecutor.java:[line 172]\n. 
At SshActionExecutor.java:[line 135]: This usage of 
java/lang/Runtime.exec([Ljava/lang/String;)Ljava/lang/Process; can be 
vulnerable to Command Injection\n. At SshActionExecutor.java:[line 132]: At 
SshActionExecutor.java:[line 131]\n. {color:red}-1{color} There are [29] new 
bugs found below threshold in [tools] that must be fixed, listing only the 
first [5] ones.\n. You can find the FindBugs diff here (look for the red and 
orange ones): tools/findbugs-new.html\n. The top [5] most important FindBugs 
errors are:\n. At OozieDBCLI.java:[line 548]: 
java/io/FileWriter.<init>(Ljava/lang/String;Z)V writes to a file whose 
location might be specified by user input\n. At OozieDBCLI.java:[line 126]: At 
OozieDBCLI.java:[line 122]\n. At OozieDBCLI.java:[line 229]: At 
OozieDBCLI.java:[line 133]\n. At OozieDBCLI.java:[line 703]: At 
OozieDBCLI.java:[line 249]\n. At OozieDBCLI.java:[line 577]: 
java/io/FileWriter.<init>(Ljava/lang/String;Z)V writes to a file whose 
location might be specified by user input\n. {color:red}-1{color} There are [1] 
new bugs found below threshold in [server] that must be fixed.\n. You can find 
the FindBugs diff here (look for the red and orange ones): 
server/findbugs-new.html\n. The most important FindBugs errors are:\n. At 
JspHandlerProvider.java:[line 43]: 
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file 
whose location might be specified by user input\n. At 
JspHandlerProvider.java:[line 43]\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: 2088\n.    Tests failed: 4\n.    Tests errors: 
1\n\n.    The patch failed the following 
testcases:\n\ntestPartitionDependency(org.apache.oozie.service.TestPartitionDependencyManagerService)\ntestCoordActionRecoveryServiceForWaitingRegisterPartition(org.apache.oozie.service.TestRecoveryService)\ntestConnectionDrop(org.apache.oozie.jms.TestJMSJobEventListener)\ntestPartitionDependency(org.apache.oozie.service.TestPartitionDependencyManagerEhcache)\n\n.
    Tests failing with 
errors:\ntestConnectionRetry(org.apache.oozie.service.TestJMSAccessorService)\n\n.
    {color:orange}Tests failed at first 
run:{color}\nTestJavaActionExecutor#testCredentialsSkip\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\n----------------------------\n{color:red}*-1 Overall result, please check 
the reported -1(s)*{color}\n\n{color:red}. There is at least one warning, 
please check{color}\n\nThe full output of the test-patch run is available 
at\n\n. 
https://builds.apache.org/job/PreCommit-OOZIE-Build/368/\n\n","updateAuthor":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","emailAddress":"blackhole
 at hadoop dot apache dot 
org","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":"2018-02-02T15:52:50.735+0000","updated":"2018-02-02T15:52:50.735+0000"}
test-patch exit code: 1

Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3121
Archiving artifacts
[Fast Archiver] Compressed 2.44 MB of artifacts by 28.2% relative to #363
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) 
##############################
5 tests failed.
FAILED:  
org.apache.oozie.service.TestPartitionDependencyManagerEhcache.testPartitionDependency

Error Message:
null

Stack Trace:
junit.framework.AssertionFailedError
        at 
org.apache.oozie.service.TestPartitionDependencyManagerEhcache.testPartitionDependency(TestPartitionDependencyManagerEhcache.java:47)


FAILED:  org.apache.oozie.jms.TestJMSJobEventListener.testConnectionDrop

Error Message:
org.apache.activemq:type=Broker,brokerName=localhost

Stack Trace:
junit.framework.AssertionFailedError: 
org.apache.activemq:type=Broker,brokerName=localhost
        at 
org.apache.oozie.jms.TestJMSJobEventListener.testConnectionDrop(TestJMSJobEventListener.java:365)


FAILED:  org.apache.oozie.service.TestJMSAccessorService.testConnectionRetry

Error Message:
null

Stack Trace:
junit.framework.AssertionFailedError
        at 
org.apache.oozie.service.TestJMSAccessorService.testConnectionRetry(TestJMSAccessorService.java:183)


FAILED:  
org.apache.oozie.service.TestPartitionDependencyManagerService.testPartitionDependency

Error Message:
null

Stack Trace:
junit.framework.AssertionFailedError
        at 
org.apache.oozie.service.TestPartitionDependencyManagerService.testPartitionDependency(TestPartitionDependencyManagerService.java:95)


FAILED:  
org.apache.oozie.service.TestRecoveryService.testCoordActionRecoveryServiceForWaitingRegisterPartition

Error Message:
null

Stack Trace:
junit.framework.AssertionFailedError
        at 
org.apache.oozie.service.TestRecoveryService.testCoordActionRecoveryServiceForWaitingRegisterPartition(TestRecoveryService.java:505)

Reply via email to