Jira: https://issues.apache.org/jira/browse/OOZIE-1717
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/357/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 1.58 MB...]
[TRACE] Full summary file size is 3190 bytes
[TRACE] File
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]
removed
[TRACE] File
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5sum]
removed
Running test-patch task BACKWARDS_COMPATIBILITY
Running test-patch task TESTS
Running test-patch task DISTRO
Testing JIRA OOZIE-1717
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 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 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 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 [client].
+1 There are no new bugs found in [sharelib/hive].
+1 There are no new bugs found in [sharelib/sqoop].
+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/hive2].
+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/pig].
+1 There are no new bugs found in [sharelib/distcp].
+1 There are no new bugs found in [docs].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [core].
+1 There are no new bugs found in [examples].
-1 There are [7] 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 755]: Found reliance on default encoding in
org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean): new
java.io.FileWriter(String, boolean)
At OozieDBCLI.java:[line 725]: Found reliance on default encoding in
org.apache.oozie.tools.OozieDBCLI.ddlTweaksForPre50(String, boolean, String):
new java.io.FileWriter(String, boolean)
Obligation to clean up resource created at OozieDBCLI.java:[line 734] is not
discharged: org.apache.oozie.tools.OozieDBCLI.ddlTweaksForPre50(String,
boolean, String) may fail to clean up java.sql.Statement
Path continues at OozieDBCLI.java:[line 741]: Path continues at
OozieDBCLI.java:[line 735]
Path continues at OozieDBCLI.java:[line 743]: Path continues at
OozieDBCLI.java:[line 742]
+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: 1
Tests errors: 0
The patch failed the following testcases:
testOozieDBCLI(org.apache.oozie.tools.TestOozieDBCLI)
Tests failing with errors:
Tests failed at first run:
TestCoordActionInputCheckXCommandNonUTC>TestCoordActionInputCheckXCommand#testNone
TestMetricsInstrumentation#testJMXInstrumentation
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/357/
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/12697804/comment/16343626","id":"16343626","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-1717\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 [7] new bugs found below threshold in
total that must be fixed.\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
[sharelib/hive].\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/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/hive2].\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/pig].\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
[docs].\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 [core].\n.
{color:green}+1{color} There are no new bugs found in [examples].\n.
{color:red}-1{color} There are [7] 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 755]: Found reliance on default encoding in
org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean): new
java.io.FileWriter(String, boolean)\n. At OozieDBCLI.java:[line 725]: Found
reliance on default encoding in
org.apache.oozie.tools.OozieDBCLI.ddlTweaksForPre50(String, boolean, String):
new java.io.FileWriter(String, boolean)\n. Obligation to clean up resource
created at OozieDBCLI.java:[line 734] is not discharged:
org.apache.oozie.tools.OozieDBCLI.ddlTweaksForPre50(String, boolean, String)
may fail to clean up java.sql.Statement\n. Path continues at
OozieDBCLI.java:[line 741]: Path continues at OozieDBCLI.java:[line 735]\n.
Path continues at OozieDBCLI.java:[line 743]: Path continues at
OozieDBCLI.java:[line 742]\n{color:green}+1 BACKWARDS_COMPATIBILITY{color}\n.
{color:green}+1{color} the patch does no100 10226 0 5857 100 4369 9464
7060 --:--:-- --:--:-- --:--:-- 9477
t 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: 1\n. Tests errors:
0\n\n. The patch failed the following
testcases:\n\ntestOozieDBCLI(org.apache.oozie.tools.TestOozieDBCLI)\n\n.
Tests failing with errors:\n\n\n. {color:orange}Tests failed at first
run:{color}\nTestCoordActionInputCheckXCommandNonUTC>TestCoordActionInputCheckXCommand#testNone\nTestMetricsInstrumentation#testJMXInstrumentation\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/357/\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-01-29T16:55:27.372+0000","updated":"2018-01-29T16:55:27.372+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-1717
Archiving artifacts
[Fast Archiver] Compressed 2.29 MB of artifacts by 46.3% relative to #346
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.tools.TestOozieDBCLI.testOozieDBCLI
Error Message:
expected:<0> but was:<1>
Stack Trace:
junit.framework.AssertionFailedError: expected:<0> but was:<1>
at
org.apache.oozie.tools.TestOozieDBCLI.testOozieDBCLI(TestOozieDBCLI.java:88)