[jira] [Commented] (OOZIE-3041) TestWorkflowActionRetryInfoXCommand fails in oozie core module.

2017-09-14 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166321#comment-16166321
 ] 

Parita Johari commented on OOZIE-3041:
--

Thanks for the fix.

> TestWorkflowActionRetryInfoXCommand fails in oozie core module.
> ---
>
> Key: OOZIE-3041
> URL: https://issues.apache.org/jira/browse/OOZIE-3041
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 4.3.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Assignee: Andras Piros
>Priority: Minor
> Fix For: 5.0.0
>
> Attachments: OOZIE-3041.001.patch, OOZIE-3041.002.patch, 
> OOZIE-3041.003.patch
>
>
> Stacktrace
> {code:java}
> junit.framework.ComparisonFailure: expected:<... 25 Aug 2017 19:31:2[8] GMT> 
> but was:<... 25 Aug 2017 19:31:2[9] GMT>
>   at junit.framework.Assert.assertEquals(Assert.java:100)
>   at junit.framework.Assert.assertEquals(Assert.java:107)
>   at junit.framework.TestCase.assertEquals(TestCase.java:269)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.validateRetryConsoleUrl(TestWorkflowActionRetryInfoXCommand.java:178)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.testRetryConsoleUrlForked(TestWorkflowActionRetryInfoXCommand.java:123)
>   ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OOZIE-3041) TestWorkflowActionRetryInfoXCommand fails in oozie core module.

2017-09-11 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161048#comment-16161048
 ] 

Parita Johari commented on OOZIE-3041:
--

The patch file cannot be applied from the root folder and so our jenkins patch 
application fails. If we edit the patch file with 'a' and 'b' to the diff path 
then that patch file can be applied from the root folder. Edited this to make 
two different paths.

Below is the snippet:
diff --git a/client/src/main/java/org/apache/oozie/client/rest/JsonUtils.java 
b/client/src/main/java/org/apache/oozie/client/rest/JsonUtils.java

diff --git a/core/pom.xml b/core/pom.xml

diff --git 
a/core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
 
b/core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java

> TestWorkflowActionRetryInfoXCommand fails in oozie core module.
> ---
>
> Key: OOZIE-3041
> URL: https://issues.apache.org/jira/browse/OOZIE-3041
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 4.3.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Assignee: Andras Piros
>Priority: Minor
> Fix For: 5.0.0
>
> Attachments: OOZIE-3041.001.patch, OOZIE-3041.002.patch
>
>
> Stacktrace
> {code:java}
> junit.framework.ComparisonFailure: expected:<... 25 Aug 2017 19:31:2[8] GMT> 
> but was:<... 25 Aug 2017 19:31:2[9] GMT>
>   at junit.framework.Assert.assertEquals(Assert.java:100)
>   at junit.framework.Assert.assertEquals(Assert.java:107)
>   at junit.framework.TestCase.assertEquals(TestCase.java:269)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.validateRetryConsoleUrl(TestWorkflowActionRetryInfoXCommand.java:178)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.testRetryConsoleUrlForked(TestWorkflowActionRetryInfoXCommand.java:123)
>   ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OOZIE-3041) TestWorkflowActionRetryInfoXCommand fails in oozie core module.

2017-08-30 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146869#comment-16146869
 ] 

Parita Johari commented on OOZIE-3041:
--

This test cases is either not running or if runs failing with above error. But 
if ran this test individually it is getting pass.

Timezone:-
$ date
Wed Aug 30 13:40:25 IST 2017

> TestWorkflowActionRetryInfoXCommand fails in oozie core module.
> ---
>
> Key: OOZIE-3041
> URL: https://issues.apache.org/jira/browse/OOZIE-3041
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> Stacktrace
> junit.framework.ComparisonFailure: expected:<... 25 Aug 2017 19:31:2[8] GMT> 
> but was:<... 25 Aug 2017 19:31:2[9] GMT>
>   at junit.framework.Assert.assertEquals(Assert.java:100)
>   at junit.framework.Assert.assertEquals(Assert.java:107)
>   at junit.framework.TestCase.assertEquals(TestCase.java:269)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.validateRetryConsoleUrl(TestWorkflowActionRetryInfoXCommand.java:178)
>   at 
> org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.testRetryConsoleUrlForked(TestWorkflowActionRetryInfoXCommand.java:123)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:255)
>   at junit.framework.TestSuite.run(TestSuite.java:250)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>   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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OOZIE-3041) TestWorkflowActionRetryInfoXCommand fails in oozie core module.

2017-08-28 Thread Parita Johari (JIRA)
Parita Johari created OOZIE-3041:


 Summary: TestWorkflowActionRetryInfoXCommand fails in oozie core 
module.
 Key: OOZIE-3041
 URL: https://issues.apache.org/jira/browse/OOZIE-3041
 Project: Oozie
  Issue Type: Test
  Components: tests
Affects Versions: 5.0.0
 Environment: $ uname -a
Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

Reporter: Parita Johari
Priority: Minor


Stacktrace

junit.framework.ComparisonFailure: expected:<... 25 Aug 2017 19:31:2[8] GMT> 
but was:<... 25 Aug 2017 19:31:2[9] GMT>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at 
org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.validateRetryConsoleUrl(TestWorkflowActionRetryInfoXCommand.java:178)
at 
org.apache.oozie.command.wf.TestWorkflowActionRetryInfoXCommand.testRetryConsoleUrlForked(TestWorkflowActionRetryInfoXCommand.java:123)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OOZIE-2968) TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-26 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062965#comment-16062965
 ] 

Parita Johari commented on OOZIE-2968:
--

This issue is observed on ppc64le machine.

> TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache 
> Oozie Core 5.0.0-SNAPSHOT
> ---
>
> Key: OOZIE-2968
> URL: https://issues.apache.org/jira/browse/OOZIE-2968
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> Stacktrace
> org.apache.oozie.action.ActionExecutorException: JA020: Could not load 
> credentials of type [abc] with name [abcname]]; perhaps it was not defined in 
> oozie-site.xml?
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1202)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1096)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:995)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:255)
>   at junit.framework.TestSuite.run(TestSuite.java:250)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>   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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OOZIE-2968) TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-26 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062935#comment-16062935
 ] 

Parita Johari commented on OOZIE-2968:
--

$ uname -a
Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)


> TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache 
> Oozie Core 5.0.0-SNAPSHOT
> ---
>
> Key: OOZIE-2968
> URL: https://issues.apache.org/jira/browse/OOZIE-2968
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> Stacktrace
> org.apache.oozie.action.ActionExecutorException: JA020: Could not load 
> credentials of type [abc] with name [abcname]]; perhaps it was not defined in 
> oozie-site.xml?
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1202)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1096)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:995)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:255)
>   at junit.framework.TestSuite.run(TestSuite.java:250)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>   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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OOZIE-2968) TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-23 Thread Parita Johari (JIRA)

 [ 
https://issues.apache.org/jira/browse/OOZIE-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Parita Johari updated OOZIE-2968:
-
Description: 

{code:java}
Stacktrace

org.apache.oozie.action.ActionExecutorException: JA020: Could not load 
credentials of type [abc] with name [abcname]]; perhaps it was not defined in 
oozie-site.xml?
at 
org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1202)
at 
org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1096)
at 
org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:995)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}


  was:
Results :
 Tests in error: 
  
testCredentialsSkip(org.apache.oozie.action.hadoop.TestJavaActionExecutor): 
JA020: Could not load credentials of type [abc] with name [abcname]]; perhaps 
it was not defined in oozie-site.xml?


> TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache 
> Oozie Core 5.0.0-SNAPSHOT
> ---
>
> Key: OOZIE-2968
> URL: https://issues.apache.org/jira/browse/OOZIE-2968
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> Stacktrace
> org.apache.oozie.action.ActionExecutorException: JA020: Could not load 
> credentials of type [abc] with name [abcname]]; perhaps it was not defined in 
> oozie-site.xml?
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1202)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1096)
>   at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:995)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:255)
>   at junit.framework.TestSuite.run(TestSuite.java:250)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>   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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java

[jira] [Updated] (OOZIE-2967) TestStatusTransitService.testBundleStatusCoordSubmitFails fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-23 Thread Parita Johari (JIRA)

 [ 
https://issues.apache.org/jira/browse/OOZIE-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Parita Johari updated OOZIE-2967:
-
Description: 

{code:java}
Stacktrace

junit.framework.AssertionFailedError: expected: but was:
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:86)
at junit.framework.TestCase.assertEquals(TestCase.java:253)
at 
org.apache.oozie.service.TestStatusTransitService.testBundleStatusCoordSubmitFails(TestStatusTransitService.java:1647)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}


  was:
Results :
  Failed tests: 
  
testBundleStatusCoordSubmitFails(org.apache.oozie.service.TestStatusTransitService):
 expected: but was:


> TestStatusTransitService.testBundleStatusCoordSubmitFails fails 
> intermittently in Apache Oozie Core 5.0.0-SNAPSHOT
> --
>
> Key: OOZIE-2967
> URL: https://issues.apache.org/jira/browse/OOZIE-2967
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> Stacktrace
> junit.framework.AssertionFailedError: expected: but was:
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.Assert.failNotEquals(Assert.java:329)
>   at junit.framework.Assert.assertEquals(Assert.java:78)
>   at junit.framework.Assert.assertEquals(Assert.java:86)
>   at junit.framework.TestCase.assertEquals(TestCase.java:253)
>   at 
> org.apache.oozie.service.TestStatusTransitService.testBundleStatusCoordSubmitFails(TestStatusTransitService.java:1647)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at junit.framework.TestCase.runBare(TestCase.java:141)
>   at junit.framework.TestResult$1.protect(TestResult.java:122)
>   at junit.framework.TestResult.runProtected(TestResult.java:142)
>   at junit.framework.TestResult.run(TestResult.java:125)
>   at junit.framework.TestCase.run(TestCase.java:129)
>   at junit.framework.TestSuite.runTest(TestSuite.java:255)
>   at junit.framework.TestSuite.run(TestSuite.java:250)
>   at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>   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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 

[jira] [Updated] (OOZIE-2967) TestStatusTransitService.testBundleStatusCoordSubmitFails fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-23 Thread Parita Johari (JIRA)

 [ 
https://issues.apache.org/jira/browse/OOZIE-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Parita Johari updated OOZIE-2967:
-
Issue Type: Test  (was: Bug)

> TestStatusTransitService.testBundleStatusCoordSubmitFails fails 
> intermittently in Apache Oozie Core 5.0.0-SNAPSHOT
> --
>
> Key: OOZIE-2967
> URL: https://issues.apache.org/jira/browse/OOZIE-2967
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> Results :
>   Failed tests: 
>   
> testBundleStatusCoordSubmitFails(org.apache.oozie.service.TestStatusTransitService):
>  expected: but was:



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OOZIE-2968) TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-23 Thread Parita Johari (JIRA)
Parita Johari created OOZIE-2968:


 Summary: TestJavaActionExecutor.testCredentialsSkip fails 
intermittently in Apache Oozie Core 5.0.0-SNAPSHOT
 Key: OOZIE-2968
 URL: https://issues.apache.org/jira/browse/OOZIE-2968
 Project: Oozie
  Issue Type: Test
  Components: tests
Affects Versions: 5.0.0
 Environment: $ uname -a
Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Reporter: Parita Johari
Priority: Minor


Results :
 Tests in error: 
  
testCredentialsSkip(org.apache.oozie.action.hadoop.TestJavaActionExecutor): 
JA020: Could not load credentials of type [abc] with name [abcname]]; perhaps 
it was not defined in oozie-site.xml?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OOZIE-2967) TestStatusTransitService.testBundleStatusCoordSubmitFails fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT

2017-06-23 Thread Parita Johari (JIRA)
Parita Johari created OOZIE-2967:


 Summary: TestStatusTransitService.testBundleStatusCoordSubmitFails 
fails intermittently in Apache Oozie Core 5.0.0-SNAPSHOT
 Key: OOZIE-2967
 URL: https://issues.apache.org/jira/browse/OOZIE-2967
 Project: Oozie
  Issue Type: Bug
  Components: tests
Affects Versions: 5.0.0
 Environment: $ uname -a
Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Reporter: Parita Johari
Priority: Minor


Results :
  Failed tests: 
  
testBundleStatusCoordSubmitFails(org.apache.oozie.service.TestStatusTransitService):
 expected: but was:



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OOZIE-2958) TestLauncherAM fails in Share Lib Oozie

2017-06-21 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057241#comment-16057241
 ] 

Parita Johari commented on OOZIE-2958:
--

mvn version: Apache Maven 3.3.9
Java version: Java version: 1.8.0_111, vendor: Oracle Corporation
command: mvn test -Dhadoop.version=2.7.1 -Dtest=TestLauncherAM,TestLauncherMain 

> TestLauncherAM fails in Share Lib Oozie
> ---
>
> Key: OOZIE-2958
> URL: https://issues.apache.org/jira/browse/OOZIE-2958
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux hj-ibmibm9397 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> ---
> Test set: org.apache.oozie.action.hadoop.TestLauncherAM
> ---
> Tests run: 22, Failures: 4, Errors: 18, Skipped: 0, Time elapsed: 0.288 sec 
> <<< FAILURE!
> testActionThrowsLauncherException(org.apache.oozie.action.hadoop.TestLauncherAM)
>   Time elapsed: 0.001 sec  <<< ERROR!
> java.lang.NullPointerException
> at 
> org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
> at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsLauncherException(TestLauncherAM.java:284)
> 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.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> 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.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
> at 
> org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
> 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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> testActionThrowsJavaMainException(org.apache.oozie.action.hadoop.TestLauncherAM)
>   Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
> at 
> org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
> at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsJavaMainException(TestLauncherAM.java:270)
> at sun.reflect.NativeMethodAccessorImpl.invok

[jira] [Commented] (OOZIE-2959) TestTimestampedMessageParser fails in Oozie Core

2017-06-21 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057231#comment-16057231
 ] 

Parita Johari commented on OOZIE-2959:
--

Yes, TestTimestampedMessageParser test case is passed with the latest pull.
Thank you for the fix.

> TestTimestampedMessageParser fails in Oozie Core
> 
>
> Key: OOZIE-2959
> URL: https://issues.apache.org/jira/browse/OOZIE-2959
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux hj-ibmibm9397 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Parita Johari
>
> {code:java}
> ---
> Test set: org.apache.oozie.util.TestTimestampedMessageParser
> ---
> Tests run: 4, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 24.722 sec 
> <<< FAILURE!
> testProcessRemainingLog(org.apache.oozie.util.TestTimestampedMessageParser)  
> Time elapsed: 0.047 sec  <<< ERROR!
> java.lang.NullPointerException
> at org.apache.oozie.util.XLogStreamer.(XLogStreamer.java:70)
> at 
> org.apache.oozie.util.TestTimestampedMessageParser.testProcessRemainingLog(TestTimestampedMessageParser.java:157)
> 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 junit.framework.TestCase.runTest(TestCase.java:176)
> at junit.framework.TestCase.runBare(TestCase.java:141)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
> 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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> testNofindLogs(org.apache.oozie.util.TestTimestampedMessageParser)  Time 
> elapsed: 0.001 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: should not throw Exception
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at 
> org.apache.oozie.util.TestTimestampedMessageParser.testNofindLogs(TestTimestampedMessageParser.java:139)
> 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 junit.framework.TestCase.runTest(TestCase.java:176)
> at junit.framework.TestCase.runBare(TestCase.java:141)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
> 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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(

[jira] [Commented] (OOZIE-2958) TestLauncherAM fails in Share Lib Oozie

2017-06-20 Thread Parita Johari (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057044#comment-16057044
 ] 

Parita Johari commented on OOZIE-2958:
--

Yes, whenerver TestLauncherMain test case executed first in the flow 
TestLauncherAM test case fails.

> TestLauncherAM fails in Share Lib Oozie
> ---
>
> Key: OOZIE-2958
> URL: https://issues.apache.org/jira/browse/OOZIE-2958
> Project: Oozie
>  Issue Type: Test
>  Components: tests
>Affects Versions: 5.0.0
> Environment: $ uname -a
> Linux hj-ibmibm9397 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>Reporter: Parita Johari
>Priority: Minor
>
> {code:java}
> ---
> Test set: org.apache.oozie.action.hadoop.TestLauncherAM
> ---
> Tests run: 22, Failures: 4, Errors: 18, Skipped: 0, Time elapsed: 0.288 sec 
> <<< FAILURE!
> testActionThrowsLauncherException(org.apache.oozie.action.hadoop.TestLauncherAM)
>   Time elapsed: 0.001 sec  <<< ERROR!
> java.lang.NullPointerException
> at 
> org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
> at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsLauncherException(TestLauncherAM.java:284)
> 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.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> 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.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
> at 
> org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
> 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 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> testActionThrowsJavaMainException(org.apache.oozie.action.hadoop.TestLauncherAM)
>   Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
> at 
> org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
> at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
> at 
> org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsJavaMainException(TestLauncherAM.java:270)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke

[jira] [Created] (OOZIE-2959) TestTimestampedMessageParser fails in Oozie Core

2017-06-20 Thread Parita Johari (JIRA)
Parita Johari created OOZIE-2959:


 Summary: TestTimestampedMessageParser fails in Oozie Core
 Key: OOZIE-2959
 URL: https://issues.apache.org/jira/browse/OOZIE-2959
 Project: Oozie
  Issue Type: Test
  Components: tests
Affects Versions: 5.0.0
 Environment: $ uname -a
Linux hj-ibmibm9397 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

Reporter: Parita Johari



{code:java}
---
Test set: org.apache.oozie.util.TestTimestampedMessageParser
---
Tests run: 4, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 24.722 sec <<< 
FAILURE!
testProcessRemainingLog(org.apache.oozie.util.TestTimestampedMessageParser)  
Time elapsed: 0.047 sec  <<< ERROR!
java.lang.NullPointerException
at org.apache.oozie.util.XLogStreamer.(XLogStreamer.java:70)
at 
org.apache.oozie.util.TestTimestampedMessageParser.testProcessRemainingLog(TestTimestampedMessageParser.java:157)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
testNofindLogs(org.apache.oozie.util.TestTimestampedMessageParser)  Time 
elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError: should not throw Exception
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.TestCase.fail(TestCase.java:227)
at 
org.apache.oozie.util.TestTimestampedMessageParser.testNofindLogs(TestTimestampedMessageParser.java:139)
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 junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
testProcessRemainingCoordinatorLogForActions(org.apache.oozie.util.TestTimestampedMessageParser)
  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
at org.apache.oozie.util.XLogStreamer.(XLogStreamer.java:70)
at 
org.apache.oozie.util.TestTimestampedMessageParser.testProcessRemainingCoordinatorLogForActions(TestTimestampedMessageParser.java:191)
at su

[jira] [Created] (OOZIE-2958) TestLauncherAM fails in Share Lib Oozie

2017-06-20 Thread Parita Johari (JIRA)
Parita Johari created OOZIE-2958:


 Summary: TestLauncherAM fails in Share Lib Oozie
 Key: OOZIE-2958
 URL: https://issues.apache.org/jira/browse/OOZIE-2958
 Project: Oozie
  Issue Type: Test
  Components: tests
Affects Versions: 5.0.0
 Environment: $ uname -a
Linux hj-ibmibm9397 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux

Reporter: Parita Johari
Priority: Minor



{code:java}
---
Test set: org.apache.oozie.action.hadoop.TestLauncherAM
---
Tests run: 22, Failures: 4, Errors: 18, Skipped: 0, Time elapsed: 0.288 sec <<< 
FAILURE!
testActionThrowsLauncherException(org.apache.oozie.action.hadoop.TestLauncherAM)
  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.NullPointerException
at 
org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
at 
org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
at 
org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsLauncherException(TestLauncherAM.java:284)
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.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
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.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
at 
org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
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 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
testActionThrowsJavaMainException(org.apache.oozie.action.hadoop.TestLauncherAM)
  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
at 
org.apache.oozie.action.hadoop.LauncherAM.updateActionDataWithFailure(LauncherAM.java:532)
at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:216)
at 
org.apache.oozie.action.hadoop.TestLauncherAM.executeLauncher(TestLauncherAM.java:519)
at 
org.apache.oozie.action.hadoop.TestLauncherAM.testActionThrowsJavaMainException(TestLauncherAM.java:270)
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(FrameworkMet