Jira: https://issues.apache.org/jira/browse/OOZIE-3464
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1088/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 1.94 MB...]
[TRACE] File
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/SPOTBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5]
removed
Running test-patch task BACKWARDS_COMPATIBILITY
Running test-patch task TESTS
Running test-patch task DISTRO
Testing JIRA OOZIE-3464
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 107 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 [31] 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 [24] 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 570]:
java/io/FileOutputStream.<init>(Ljava/lang/String;Z)V writes to a file
whose location might be specified by user input
At OozieDBCLI.java:[line 132]: At OozieDBCLI.java:[line 128]
At OozieDBCLI.java:[line 238]: At OozieDBCLI.java:[line 139]
At OozieDBCLI.java:[line 727]: At OozieDBCLI.java:[line 263]
At OozieDBCLI.java:[line 600]:
java/io/FileOutputStream.<init>(Ljava/lang/String;Z)V writes to a file
whose location might be specified by user input
-1 There are [2] 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 LauncherMain.java:[line 148]:
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose
location might be specified by user input
This usage of java/lang/ProcessBuilder.<init>(Ljava/util/List;)V can
be vulnerable to Command Injection: At LauncherMain.java:[line 181]
At ShellMain.java:[line 91]: At ShellMain.java:[line 94]
At ShellMain.java:[line 93]: At ShellMain.java:[line 92]
+1 There are no new bugs found in [sharelib/streaming].
+1 There are no new bugs found in [sharelib/spark].
+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/git].
+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 [sharelib/hive2].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [examples].
-1 There are [5] new bugs found below threshold in [core] that must be
fixed.
You can find the SpotBugs diff here (look for the red and orange ones):
core/findbugs-new.html
The most important SpotBugs errors are:
At BulkJPAExecutor.java:[line 207]: This use of
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
can be vulnerable to SQL/JPQL injection
At BulkJPAExecutor.java:[line 177]: At BulkJPAExecutor.java:[line 176]
At BulkJPAExecutor.java:[line 206]: At BulkJPAExecutor.java:[line 200]
This use of
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 207]
At BulkJPAExecutor.java:[line 112]: At BulkJPAExecutor.java:[line 128]
+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 [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: 3169
+1 DISTRO
+1 distro tarball builds with the patch
----------------------------
-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/1088/
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 5378 0 0 100 5378 0 5692 --:--:-- --:--:-- --:--:--
5691{"self":"https://issues.apache.org/jira/rest/api/2/issue/13226636/comment/16817365","id":"16817365","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-3464\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 107
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 [31] 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:red}-1{color} There are [24]
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 570]:
java/io/FileOutputStream.<init>(Ljava/lang/String;Z)V writes to a file
whose location might be specified by user input\n. At OozieDBCLI.java:[line
132]: At OozieDBCLI.java:[line 128]\n. At OozieDBCLI.java:[line 238]: At
OozieDBCLI.java:[line 139]\n. At OozieDBCLI.java:[line 727]: At
OozieDBCLI.java:[line 263]\n. At OozieDBCLI.java:[line 600]:
java/io/FileOutputStream.<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 [2] 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 LauncherMain.java:[line 148]:
java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose
location might be specified by user input\n. This usage of
java/lang/ProcessBuilder.<init>(Ljava/util/List;)V can be vulnerable to
Command Injection: At LauncherMain.java:[line 181]\n. At
ShellMain.java:[line 91]: At ShellMain.java:[line 94]\n. At
ShellMain.java:[line 93]: At ShellMain.java:[line 92]\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/spark].\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/sqoop].\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/hive].\n.
{color:green}+1{color} There are no new bugs found in [100 12132 0 6754
100 5378 7144 5689 --:--:-- --:--:-- --:--:-- 7139
sharelib/hcatalog].\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/hive2].\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 [5] new bugs found below
threshold in [core] that must be fixed.\n. You can find the SpotBugs diff
here (look for the red and orange ones): core/findbugs-new.html\n. The most
important SpotBugs errors are:\n. At BulkJPAExecutor.java:[line 207]: 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
177]: At BulkJPAExecutor.java:[line 176]\n. At BulkJPAExecutor.java:[line
206]: At BulkJPAExecutor.java:[line 200]\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 207]\n.
At BulkJPAExecutor.java:[line 112]: At BulkJPAExecutor.java:[line 128]\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
[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:green}+1 TESTS{color}\n. Tests run:
3169\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\nThe full output of the
test-patch run is available at\n\n.
https://builds.apache.org/job/PreCommit-OOZIE-Build/1088/\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-04-14T17:19:29.345+0000","updated":"2019-04-14T17:19:29.345+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3464
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
No tests ran.