Jira: https://issues.apache.org/jira/browse/OOZIE-3121
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/378/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 1.69 MB...]
+1 There are no new bugs found in [sharelib/distcp].
+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/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 [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 [2] new bugs found below threshold in [sharelib/hive] that must
be fixed.
You can find the FindBugs diff here (look for the red and orange ones):
sharelib/hive/findbugs-new.html
The most important FindBugs errors are:
At HiveMain.java:[line 317]:
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose
location might be specified by user input
At HiveMain.java:[line 226]: At HiveMain.java:[line 207]
At HiveMain.java:[line 210]: java/io/File.<init>(Ljava/lang/String;)V
reads a file whose location might be specified by user input
At HiveMain.java:[line 207]
-1 There are [2] new bugs found below threshold in [sharelib/spark] that must
be fixed.
You can find the FindBugs diff here (look for the red and orange ones):
sharelib/spark/findbugs-new.html
The most important FindBugs errors are:
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
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location
might be specified by user input: At SparkMain.java:[line 128]
At SparkMain.java:[line 161]: At SparkMain.java:[line 168]
At SparkMain.java:[line 167]
-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 [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 no new bugs found in [docs].
-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: 2089
Tests failed: 1
Tests errors: 0
The patch failed the following testcases:
testHiveAction(org.apache.oozie.action.hadoop.TestHiveActionExecutor)
Tests failing with errors:
Tests failed at first run:
TestJavaActionExecutor#testCredentialsSkip
TestCoordActionsKillXCommand#testActionKillCommandDate
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/378/
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/16354036","id":"16354036","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 [128] new bugs found below threshold
in total that must be fixed.\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:[line 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 [31] 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 561]:
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 127]: At
OozieDBCLI.java:[line 123]\n. At OozieDBCLI.java:[line 232]: At
OozieDBCLI.java:[line 134]\n. At OozieDBCLI.java:[line 716]: At
OozieDBCLI.java:[line 257]\n. At OozieDBCLI.java:[line 590]:
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 [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/distcp].\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/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 [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: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 [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>100
21766 0 11627 100 10139 13708 11954 --:--:-- --:--:-- --:--:-- 13711
(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 [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:green}+1{color} There are no new bugs found in [docs].\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: 2089\n. Tests failed: 1\n. Tests errors:
0\n\n. The patch failed the following
testcases:\n\ntestHiveAction(org.apache.oozie.action.hadoop.TestHiveActionExecutor)\n\n.
Tests failing with errors:\n\n\n. {color:orange}Tests failed at first
run:{color}\nTestJavaActionExecutor#testCredentialsSkip\nTestCoordActionsKillXCommand#testActionKillCommandDate\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/378/\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-06T15:46:28.287+0000","updated":"2018-02-06T15:46:28.287+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.45 MB of artifacts by 26.8% relative to #376
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
1 tests failed.
FAILED: org.apache.oozie.action.hadoop.TestHiveActionExecutor.testHiveAction
Error Message:
YARN App state for app application_1517930744553_0003 expected:<FINISHED> but
was:<RUNNING>
Stack Trace:
junit.framework.AssertionFailedError: YARN App state for app
application_1517930744553_0003 expected:<FINISHED> but was:<RUNNING>
at
org.apache.oozie.action.hadoop.TestHiveActionExecutor.testHiveAction(TestHiveActionExecutor.java:158)