Jira: https://issues.apache.org/jira/browse/OOZIE-2339
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/455/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 1.84 MB...]
+1 JAVADOC
+1 the patch does not seem to introduce new Javadoc warnings
WARNING: the current HEAD has 100 Javadoc warning(s)
-1 COMPILE
+1 HEAD compiles
+1 patch compiles
-1 the patch seems to introduce 11 new javac warning(s)
-1 There are [120] new bugs found below threshold in total that must be fixed.
+1 There are no new bugs found in [docs].
-1 There are [114] new bugs found below threshold in [jobs/jobs-api] that must
be fixed, listing only the first [5] ones.
You can find the FindBugs diff here (look for the red and orange ones):
jobs/jobs-api/findbugs-new.html
The top [5] most important FindBugs errors are:
At GraphVisualization.java:[line 102]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input
At GraphVisualization.java:[line 108]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input
At NodeBuilderBaseImpl.java:[line 247]: The use of java.lang.Math.random() is
predictable
At SimpleWorkflowFactory.java:[line 54]: Dead store to happyPath in
org.apache.oozie.jobs.api.factory.SimpleWorkflowFactory.create()
At SimpleWorkflowFactory.java:[line 60]: Dead store to sadPath in
org.apache.oozie.jobs.api.factory.SimpleWorkflowFactory.create()
+1 There are no new bugs found in [sharelib/pig].
+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/hive2].
+1 There are no new bugs found in [sharelib/distcp].
+1 There are no new bugs found in [sharelib/hive].
+1 There are no new bugs found in [sharelib/spark].
+1 There are no new bugs found in [sharelib/streaming].
+1 There are no new bugs found in [sharelib/sqoop].
+1 There are no new bugs found in [webapp].
+1 There are no new bugs found in [examples].
-1 There are [5] new bugs found below threshold in [client] that must be fixed.
You can find the FindBugs diff here (look for the red and orange ones):
client/findbugs-new.html
The most important FindBugs errors are:
Dereferenced at ApiJarFactory.java:[line 86]: Possible null pointer
dereference in org.apache.oozie.cli.ApiJarFactory.addWorkflowJarEntry(File,
JarOutputStream) due to return value of called method
java/io/FileOutputStream.<init>(Ljava/lang/String;)V writes to a file
whose location might be specified by user input: Known null at
ApiJarFactory.java:[line 86]
At ApiJarFactory.java:[line 67]: At ApiJarFactory.java:[line 67]
At ApiJarLoader.java:[line 52]:
org.apache.oozie.cli.ApiJarLoader.loadAndGenerate() may fail to close stream
At OozieCLI.java:[line 1396]: Found reliance on default encoding in
org.apache.oozie.cli.OozieCLI.checkApiJar(XOozieClient, CommandLine, boolean):
String.getBytes()
+1 There are no new bugs found in [tools].
+1 There are no new bugs found in [server].
-1 There are [1] new bugs found below threshold in [core] that must be fixed.
You can find the FindBugs diff here (look for the red and orange ones):
core/findbugs-new.html
The most important FindBugs errors are:
At V1JobsServlet.java:[line 163]: Found reliance on default encoding in
org.apache.oozie.servlet.V1JobsServlet.checkAndWriteApplicationXMLToHDFS(String,
Configuration): new java.io.OutputStreamWriter(OutputStream)
+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: 2824
Tests failed: 5
Tests errors: 9
The patch failed the following testcases:
testSubmit(org.apache.oozie.servlet.TestV1JobsServlet)
testSubmitMapReduce2(org.apache.oozie.client.TestOozieCLI)
testSubmitMapReduce(org.apache.oozie.client.TestOozieCLI)
testSubmitPig(org.apache.oozie.client.TestOozieCLI)
testJobDryrun(org.apache.oozie.client.TestOozieCLI)
Tests failing with errors:
testSubmitMR(org.apache.oozie.client.TestWorkflowXClient)
testSubmitSqoop(org.apache.oozie.client.TestWorkflowXClient)
testSubmitPig(org.apache.oozie.client.TestWorkflowXClient)
testSubmitHive(org.apache.oozie.client.TestWorkflowXClient)
testValidateJar(org.apache.oozie.client.TestOozieCLI)
testRunJarWithoutAppPath(org.apache.oozie.client.TestOozieCLI)
testSubmitJarWithoutAppPath(org.apache.oozie.client.TestOozieCLI)
testSubmitJar(org.apache.oozie.client.TestOozieCLI)
testRunJar(org.apache.oozie.client.TestOozieCLI)
Tests failed at first run:
TestJavaActionExecutor#testCredentialsSkip
TestHiveActionExecutor#testHiveAction
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/455/
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 6431 0 0 100 6431 0 7048 --:--:-- --:--:-- --:--:--
7043{"self":"https://issues.apache.org/jira/rest/api/2/issue/12857962/comment/16407429","id":"16407429","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-2339\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:red}-1{color} the patch contains 12
line(s) with tabs\n. {color:green}+1{color} the patch does not introduce any
trailing spaces\n. {color:red}-1{color} the patch contains 37 line(s) longer
than 132 characters\n. {color:green}+1{color} the patch adds/modifies 97
testcase(s)\n{color:red}-1 RAT{color}\n. {color:red}-1{color} the patch
seems to introduce 1 new RAT warning(s)\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:red}-1 COMPILE{color}\n. {color:green}+1{color} HEAD
compiles\n. {color:green}+1{color} patch compiles\n. {color:red}-1{color}
the patch seems to introduce 11 new javac warning(s)\n{color:red}-1{color}
There are [120] 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:red}-1{color} There are [114] new bugs found below threshold in
[jobs/jobs-api] 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):
jobs/jobs-api/findbugs-new.html\n. The top [5] most important FindBugs errors
are:\n. At GraphVisualization.java:[line 102]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input\n. At
GraphVisualization.java:[line 108]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input\n. At
NodeBuilderBaseImpl.java:[line 247]: The use of java.lang.Math.random() is
predictable\n. At SimpleWorkflowFactory.java:[line 54]: Dead store to happyPath
in org.apache.oozie.jobs.api.factory.SimpleWorkflowFactory.create()\n. At
SimpleWorkflowFactory.java:[line 60]: Dead store to sadPath in
org.apache.oozie.jobs.api.factory.SimpleWorkflowFactory.create()\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/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/hive2].\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/hive].\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/streaming].\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 [webapp].\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 [client]
that must be fixed.\n. You can find the FindBugs diff here (look for the red
and orange ones): client/findbugs-new.html\n. The most important FindBugs
errors are:\n. Dereferenced at ApiJarFactory.java:[line 8100 14350 0 7919
100 6431 8677 7046 --:--:-- --:--:-- --:--:-- 8673
6]: Possible null pointer dereference in
org.apache.oozie.cli.ApiJarFactory.addWorkflowJarEntry(File, JarOutputStream)
due to return value of called method\n.
java/io/FileOutputStream.<init>(Ljava/lang/String;)V writes to a file
whose location might be specified by user input: Known null at
ApiJarFactory.java:[line 86]\n. At ApiJarFactory.java:[line 67]: At
ApiJarFactory.java:[line 67]\n. At ApiJarLoader.java:[line 52]:
org.apache.oozie.cli.ApiJarLoader.loadAndGenerate() may fail to close stream\n.
At OozieCLI.java:[line 1396]: Found reliance on default encoding in
org.apache.oozie.cli.OozieCLI.checkApiJar(XOozieClient, CommandLine, boolean):
String.getBytes()\n. {color:green}+1{color} There are no new bugs found in
[tools].\n. {color:green}+1{color} There are no new bugs found in [server].\n.
{color:red}-1{color} There are [1] new bugs found below threshold in [core]
that must be fixed.\n. You can find the FindBugs diff here (look for the red
and orange ones): core/findbugs-new.html\n. The most important FindBugs errors
are:\n. At V1JobsServlet.java:[line 163]: Found reliance on default encoding in
org.apache.oozie.servlet.V1JobsServlet.checkAndWriteApplicationXMLToHDFS(String,
Configuration): new java.io.OutputStreamWriter(OutputStream)\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: 2824\n. Tests failed: 5\n. Tests errors:
9\n\n. The patch failed the following
testcases:\n\ntestSubmit(org.apache.oozie.servlet.TestV1JobsServlet)\ntestSubmitMapReduce2(org.apache.oozie.client.TestOozieCLI)\ntestSubmitMapReduce(org.apache.oozie.client.TestOozieCLI)\ntestSubmitPig(org.apache.oozie.client.TestOozieCLI)\ntestJobDryrun(org.apache.oozie.client.TestOozieCLI)\n\n.
Tests failing with
errors:\ntestSubmitMR(org.apache.oozie.client.TestWorkflowXClient)\ntestSubmitSqoop(org.apache.oozie.client.TestWorkflowXClient)\ntestSubmitPig(org.apache.oozie.client.TestWorkflowXClient)\ntestSubmitHive(org.apache.oozie.client.TestWorkflowXClient)\ntestValidateJar(org.apache.oozie.client.TestOozieCLI)\ntestRunJarWithoutAppPath(org.apache.oozie.client.TestOozieCLI)\ntestSubmitJarWithoutAppPath(org.apache.oozie.client.TestOozieCLI)\ntestSubmitJar(org.apache.oozie.client.TestOozieCLI)\ntestRunJar(org.apache.oozie.client.TestOozieCLI)\n\n.
{color:orange}Tests failed at first
run:{color}\nTestJavaActionExecutor#testCredentialsSkip\nTestHiveActionExecutor#testHiveAction\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/455/\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-03-21T04:04:25.770+0000","updated":"2018-03-21T04:04:25.770+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-2339
Archiving artifacts
[Fast Archiver] Compressed 2.37 MB of artifacts by 34.3% relative to #446
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
14 tests failed.
FAILED: org.apache.oozie.client.TestOozieCLI.testValidateJar
Error Message:
/tmp/1521602139806-0 (Is a directory)
Stack Trace:
java.io.FileNotFoundException: /tmp/1521602139806-0 (Is a directory)
at
org.apache.oozie.client.TestOozieCLI.createWorkflowApiJar(TestOozieCLI.java:1852)
at
org.apache.oozie.client.TestOozieCLI.testValidateJar(TestOozieCLI.java:1724)
FAILED: org.apache.oozie.client.TestOozieCLI.testSubmitMapReduce2
Error Message:
expected:<0> but was:<-1>
Stack Trace:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at
org.apache.oozie.client.TestOozieCLI.testSubmitMapReduce2(TestOozieCLI.java:288)
FAILED: org.apache.oozie.client.TestOozieCLI.testSubmitMapReduce
Error Message:
expected:<0> but was:<-1>
Stack Trace:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at
org.apache.oozie.client.TestOozieCLI.testSubmitMapReduce(TestOozieCLI.java:268)
FAILED: org.apache.oozie.client.TestOozieCLI.testRunJarWithoutAppPath
Error Message:
/tmp/1521602141750-0 (Is a directory)
Stack Trace:
java.io.FileNotFoundException: /tmp/1521602141750-0 (Is a directory)
at
org.apache.oozie.client.TestOozieCLI.createWorkflowApiJar(TestOozieCLI.java:1852)
at
org.apache.oozie.client.TestOozieCLI.testRunJarWithoutAppPath(TestOozieCLI.java:1821)
FAILED: org.apache.oozie.client.TestOozieCLI.testSubmitJarWithoutAppPath
Error Message:
/tmp/1521602156278-0 (Is a directory)
Stack Trace:
java.io.FileNotFoundException: /tmp/1521602156278-0 (Is a directory)
at
org.apache.oozie.client.TestOozieCLI.createWorkflowApiJar(TestOozieCLI.java:1852)
at
org.apache.oozie.client.TestOozieCLI.testSubmitJarWithoutAppPath(TestOozieCLI.java:1769)
FAILED: org.apache.oozie.client.TestOozieCLI.testSubmitJar
Error Message:
/tmp/1521602164011-0 (Is a directory)
Stack Trace:
java.io.FileNotFoundException: /tmp/1521602164011-0 (Is a directory)
at
org.apache.oozie.client.TestOozieCLI.createWorkflowApiJar(TestOozieCLI.java:1852)
at
org.apache.oozie.client.TestOozieCLI.testSubmitJar(TestOozieCLI.java:1743)
FAILED: org.apache.oozie.client.TestOozieCLI.testSubmitPig
Error Message:
expected:<0> but was:<-1>
Stack Trace:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at
org.apache.oozie.client.TestOozieCLI.testSubmitPig(TestOozieCLI.java:248)
FAILED: org.apache.oozie.client.TestOozieCLI.testJobDryrun
Error Message:
expected:<0> but was:<-1>
Stack Trace:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at
org.apache.oozie.client.TestOozieCLI.testJobDryrun(TestOozieCLI.java:1431)
FAILED: org.apache.oozie.client.TestOozieCLI.testRunJar
Error Message:
/tmp/1521602186069-0 (Is a directory)
Stack Trace:
java.io.FileNotFoundException: /tmp/1521602186069-0 (Is a directory)
at
org.apache.oozie.client.TestOozieCLI.createWorkflowApiJar(TestOozieCLI.java:1852)
at
org.apache.oozie.client.TestOozieCLI.testRunJar(TestOozieCLI.java:1795)
FAILED: org.apache.oozie.client.TestWorkflowXClient.testSubmitMR
Error Message:
user cannot be null
Stack Trace:
org.apache.oozie.client.OozieClientException: user cannot be null
at
org.apache.oozie.client.TestWorkflowXClient.testSubmitMR(TestWorkflowXClient.java:136)
FAILED: org.apache.oozie.client.TestWorkflowXClient.testSubmitSqoop
Error Message:
user cannot be null
Stack Trace:
org.apache.oozie.client.OozieClientException: user cannot be null
at
org.apache.oozie.client.TestWorkflowXClient.testSubmitSqoop(TestWorkflowXClient.java:111)
FAILED: org.apache.oozie.client.TestWorkflowXClient.testSubmitPig
Error Message:
user cannot be null
Stack Trace:
org.apache.oozie.client.OozieClientException: user cannot be null
at
org.apache.oozie.client.TestWorkflowXClient.testSubmitPig(TestWorkflowXClient.java:52)
FAILED: org.apache.oozie.client.TestWorkflowXClient.testSubmitHive
Error Message:
user cannot be null
Stack Trace:
org.apache.oozie.client.OozieClientException: user cannot be null
at
org.apache.oozie.client.TestWorkflowXClient.testSubmitHive(TestWorkflowXClient.java:81)
FAILED: org.apache.oozie.servlet.TestV1JobsServlet.testSubmit
Error Message:
expected:<201> but was:<400>
Stack Trace:
junit.framework.AssertionFailedError: expected:<201> but was:<400>
at
org.apache.oozie.servlet.TestV1JobsServlet.testSubmit(TestV1JobsServlet.java:60)