Jira: https://issues.apache.org/jira/browse/OOZIE-3217
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/496/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 1.71 MB...]
[ERROR] There are [3] new bugs found below threshold in total that must be
fixed.
[TRACE] FindBugs diffs checked and reports created
[TRACE] Summary file size is 2947 bytes
[TRACE] Full summary file size is 2087 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-3217
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 contains 4 line(s) longer than 132 characters
+1 the patch adds/modifies 2 testcase(s)
+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
+1 COMPILE
+1 HEAD compiles
+1 patch compiles
+1 the patch does not seem to introduce new javac warnings
-1 There are [3] new bugs found below threshold in total that must be fixed.
+1 There are no new bugs found in [examples].
+1 There are no new bugs found in [webapp].
-1 There are [3] 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 AuthorizationService.java:[line 193]: Found reliance on default encoding in
org.apache.oozie.service.AuthorizationService.loadAdminUsersFromAdminUsersFile():
new java.io.InputStreamReader(InputStream)
At AuthorizationService.java:[line 193]:
org.apache.oozie.service.AuthorizationService.loadAdminUsersFromAdminUsersFile()
may fail to close stream
At AuthorizationService.java:[line 190]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input
At AuthorizationService.java:[line 188]
+1 There are no new bugs found in [tools].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [docs].
+1 There are no new bugs found in [sharelib/hive2].
+1 There are no new bugs found in [sharelib/pig].
+1 There are no new bugs found in [sharelib/streaming].
+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/sqoop].
+1 There are no new bugs found in [sharelib/oozie].
+1 There are no new bugs found in [sharelib/distcp].
+1 There are no new bugs found in [sharelib/spark].
+1 There are no new bugs found in [client].
+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: 2114
Tests failed: 1
Tests errors: 1
The patch failed the following testcases:
testCoordActionRecoveryServiceForWaitingRegisterPartition(org.apache.oozie.service.TestRecoveryService)
Tests failing with errors:
testConnectionRetry(org.apache.oozie.service.TestJMSAccessorService)
Tests failed at first run:
TestJavaActionExecutor#testCredentialsSkip
TestOozieDBCLI#testOozieDBCLI
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)
The full output of the test-patch run is available at
https://builds.apache.org/job/PreCommit-OOZIE-Build/496/
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/13151666/comment/16456667","id":"16456667","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-3217\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:red}-1{color} the patch contains 4 line(s)
longer than 132 characters\n. {color:green}+1{color} the patch adds/modifies
2 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} the patch does not seem to
introduce new Javadoc warnings\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 [3] new bugs found below
threshold in total that must be fixed.\n. {color:green}+1{color} There are no
new bugs found in [examples].\n. {color:green}+1{color} There are no new bugs
found in [webapp].\n. {color:red}-1{color} There are [3] 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 AuthorizationService.java:[line 193]:
Found reliance on default encoding in
org.apache.oozie.service.AuthorizationService.loadAdminUsersFromAdminUsersFile():
new java.io.InputStreamReader(InputStream)\n. At
AuthorizationService.java:[line 193]:
org.apache.oozie.service.AuthorizationService.loadAdminUsersFromAdminUsersFile()
may fail to close stream\n. At AuthorizationService.java:[line 190]:
java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file
whose location might be specified by user input\n. At
AuthorizationService.java:[line 188]\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:green}+1{color} There are no new bugs found in [docs].\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/pig].\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/hive].\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/sqoop].\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/distcp].\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
[client].\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:
2114\n. Tests failed: 1\n. Tests errors: 1\n\n. The patch failed the
f100 9710 0 5599 100 4111 6973 5119 --:--:-- --:--:-- --:--:-- 6981
ollowing
testcases:\n\ntestCoordActionRecoveryServiceForWaitingRegisterPartition(org.apache.oozie.service.TestRecoveryService)\n\n.
Tests failing with
errors:\ntestConnectionRetry(org.apache.oozie.service.TestJMSAccessorService)\n\n.
{color:orange}Tests failed at first
run:{color}\nTestJavaActionExecutor#testCredentialsSkip\nTestOozieDBCLI#testOozieDBCLI\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\nThe full output of
the test-patch run is available at\n\n.
https://builds.apache.org/job/PreCommit-OOZIE-Build/496/\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-04-27T16:01:28.914+0000","updated":"2018-04-27T16:01:28.914+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3217
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
2 tests failed.
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.TestRecoveryService.testCoordActionRecoveryServiceForWaitingRegisterPartition
Error Message:
null
Stack Trace:
junit.framework.AssertionFailedError
at
org.apache.oozie.service.TestRecoveryService.testCoordActionRecoveryServiceForWaitingRegisterPartition(TestRecoveryService.java:506)