Jira: https://issues.apache.org/jira/browse/OOZIE-3528
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1174/
###################################################################################
########################## LAST 100 LINES OF THE CONSOLE
###########################
[...truncated 2.08 MB...]
Running test-patch task BACKWARDS_COMPATIBILITY
Running test-patch task TESTS
xargs: WARNING: a NUL character occurred in the input. It cannot be passed
through in the argument list. Did you mean to use the --null option?
xargs: WARNING: a NUL character occurred in the input. It cannot be passed
through in the argument list. Did you mean to use the --null option?
xargs: WARNING: a NUL character occurred in the input. It cannot be passed
through in the argument list. Did you mean to use the --null option?
xargs: WARNING: a NUL character occurred in the input. It cannot be passed
through in the argument list. Did you mean to use the --null option?
Running test-patch task DISTRO
Testing JIRA OOZIE-3528
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 15 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 no new bugs found in total.
+1 There are no new bugs found in [webapp].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [sharelib/git].
+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/oozie].
+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 [sharelib/hcatalog].
+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 [fluent-job/fluent-job-api].
+1 There are no new bugs found in [core].
+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 [examples].
+1 There are no new bugs found in [tools].
+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 : 3166
Tests failed : 0
Tests in error : 6
Tests timed out : 0
-1 [ERROR] There are [2] test errors in [core]. Listing only the first [5] ones
unnecessary Mockito stubbings:org.apache.oozie.service.TestAsyncXCommandExecutor
-1 [ERROR] There are [1] test errors in [server]. Listing only the first [5]
ones
unnecessary Mockito stubbings:org.apache.oozie.server.TestEmbeddedOozieServer
-1 [ERROR] There are [2] test errors in [sharelib]. Listing only the first [5]
ones
whenPrepareActionWithoutPrefixExecutedSuccessfully:org.apache.oozie.action.hadoop.TestPrepareActionsHandler
whenPrepareActionWithGitPrefixExecutedSuccessfully:org.apache.oozie.action.hadoop.TestPrepareActionsHandler
-1 [ERROR] There are [1] test errors in [tools]. Listing only the first [5] ones
testGetShareLibInfo:org.apache.oozie.tools.diag.TestServerInfoCollector
Check console output for the full list of errors/failures
Tests failed at first run:
TestZKJobsConcurrencyService#testIsLeader
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/1174/
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
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0{"self":"https://issues.apache.org/jira/rest/api/2/issue/13244598/comment/16883875","id":"16883875","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-3528\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 15
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:green}+1{color} There are no new bugs found in total.\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 [server].\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/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/oozie].\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 [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/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
[fluent-job/fluent-job-api].\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
[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
[examples].\n. {color:green}+1{color} There are no new bugs found in
[tools].\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
: 3166\n. Tests failed : 0\n. Tests in error : 6\n. Tests
timed out : 0\n\n{color:red}-1{color} [ERROR] There are [2] test errors in
[core]. Listing only the first [5] ones\nunnecessary Mockito
stubbings:org.apache.oozie.service.TestAsyncXCommandExecutor\n{color:red}-1{color}
[ERROR] There are [1] test errors in [server]. Listing only the first [5]
ones\nunnecessary Mockito
stubbings:org.apache.oozie.server.TestEmbeddedOozieServer\n{color:red}-1{color}
[ERROR] There are [2] test errors in [sharelib]. Listing only the fir100 10108
0 5742 100 4366 7392 5620 --:--:-- --:--:-- --:--:-- 7389
st [5]
ones\nwhenPrepareActionWithoutPrefixExecutedSuccessfully:org.apache.oozie.action.hadoop.TestPrepareActionsHandler\nwhenPrepareActionWithGitPrefixExecutedSuccessfully:org.apache.oozie.action.hadoop.TestPrepareActionsHandler\n{color:red}-1{color}
[ERROR] There are [1] test errors in [tools]. Listing only the first [5]
ones\ntestGetShareLibInfo:org.apache.oozie.tools.diag.TestServerInfoCollector\n\nCheck
console output for the full list of errors/failures\n. {color:orange}Tests
failed at first run:{color}\nTestZKJobsConcurrencyService#testIsLeader\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/1174/\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-07-12T14:50:48.815+0000","updated":"2019-07-12T14:50:48.815+0000"}
test-patch exit code: 1
Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-3528
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
6 tests failed.
FAILED: org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.unnecessary
Mockito stubbings
Error Message:
Unnecessary stubbings detected in test class: TestYarnApplicationIdFinder
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.setupMocks(TestYarnApplicationIdFinder.java:139)
2. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.setupMocks(TestYarnApplicationIdFinder.java:141)
3. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:169)
4. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:171)
5. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:172)
6. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:175)
7. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:181)
8. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:183)
9. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:184)
10. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:187)
11. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:85)
12. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:86)
13. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:94)
14. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:95)
15. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:228)
16. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:229)
17. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:234)
18. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:235)
19. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdIsNotPresentChildYarnApplicationIdIsFound(TestYarnApplicationIdFinder.java:115)
20. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdIsNotPresentChildYarnApplicationIdIsFound(TestYarnApplicationIdFinder.java:116)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
Stack Trace:
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
Unnecessary stubbings detected in test class: TestYarnApplicationIdFinder
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.setupMocks(TestYarnApplicationIdFinder.java:139)
2. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.setupMocks(TestYarnApplicationIdFinder.java:141)
3. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:169)
4. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:171)
5. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:172)
6. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:175)
7. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:181)
8. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:183)
9. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:184)
10. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenOldLauncherAndMRobApplicationsAreFinishedAndNewLauncherPresentNewLauncherIsUsed(TestYarnApplicationIdFinder.java:187)
11. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:85)
12. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:86)
13. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:94)
14. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdAndChildYarnApplicationAreNotPresentActionExternalIdIsFound(TestYarnApplicationIdFinder.java:95)
15. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:228)
16. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:229)
17. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:234)
18. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.testGetLastYarnIdFromUnorderedListSuccess(TestYarnApplicationIdFinder.java:235)
19. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdIsNotPresentChildYarnApplicationIdIsFound(TestYarnApplicationIdFinder.java:115)
20. -> at
org.apache.oozie.action.hadoop.TestYarnApplicationIdFinder.whenHadoopJobIdIsNotPresentChildYarnApplicationIdIsFound(TestYarnApplicationIdFinder.java:116)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:49)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
FAILED: org.apache.oozie.service.TestAsyncXCommandExecutor.unnecessary Mockito
stubbings
Error Message:
Unnecessary stubbings detected in test class: TestAsyncXCommandExecutor
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.service.TestAsyncXCommandExecutor.testSubmissionSuccessfulAfterDelayWhenMaxConcurrencyCheckDisabled(TestAsyncXCommandExecutor.java:166)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
Stack Trace:
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
Unnecessary stubbings detected in test class: TestAsyncXCommandExecutor
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.service.TestAsyncXCommandExecutor.testSubmissionSuccessfulAfterDelayWhenMaxConcurrencyCheckDisabled(TestAsyncXCommandExecutor.java:166)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:49)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
FAILED: org.apache.oozie.server.TestEmbeddedOozieServer.unnecessary Mockito
stubbings
Error Message:
Unnecessary stubbings detected in test class: TestEmbeddedOozieServer
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.server.TestEmbeddedOozieServer.setUp(TestEmbeddedOozieServer.java:85)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
Stack Trace:
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
Unnecessary stubbings detected in test class: TestEmbeddedOozieServer
Clean & maintainable test code requires zero unnecessary code.
Following stubbings are unnecessary (click to navigate to relevant line of
code):
1. -> at
org.apache.oozie.server.TestEmbeddedOozieServer.setUp(TestEmbeddedOozieServer.java:85)
Please remove unnecessary stubbings or use 'lenient' strictness. More info:
javadoc for UnnecessaryStubbingException class.
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:49)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
FAILED:
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.whenPrepareActionWithoutPrefixExecutedSuccessfully
Error Message:
null
Stack Trace:
java.lang.NullPointerException
at
org.apache.oozie.action.hadoop.PrepareActionsHandler.execute(PrepareActionsHandler.java:84)
at
org.apache.oozie.action.hadoop.PrepareActionsHandler.prepareAction(PrepareActionsHandler.java:75)
at
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.callAndVerifyPrepareAction(TestPrepareActionsHandler.java:66)
at
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.whenPrepareActionWithoutPrefixExecutedSuccessfully(TestPrepareActionsHandler.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:79)
at
org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:85)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
FAILED:
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.whenPrepareActionWithGitPrefixExecutedSuccessfully
Error Message:
null
Stack Trace:
java.lang.NullPointerException
at
org.apache.oozie.action.hadoop.PrepareActionsHandler.execute(PrepareActionsHandler.java:84)
at
org.apache.oozie.action.hadoop.PrepareActionsHandler.prepareAction(PrepareActionsHandler.java:75)
at
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.callAndVerifyPrepareAction(TestPrepareActionsHandler.java:66)
at
org.apache.oozie.action.hadoop.TestPrepareActionsHandler.whenPrepareActionWithGitPrefixExecutedSuccessfully(TestPrepareActionsHandler.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:79)
at
org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:85)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
FAILED: org.apache.oozie.tools.diag.TestServerInfoCollector.testGetShareLibInfo
Error Message:
null
Stack Trace:
java.lang.NullPointerException
at
org.apache.oozie.tools.diag.ServerInfoCollector.storeShareLibInfo(ServerInfoCollector.java:42)
at
org.apache.oozie.tools.diag.TestServerInfoCollector.testGetShareLibInfo(TestServerInfoCollector.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:79)
at
org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:85)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:53)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:590)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)