You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alisha Prabhu (JIRA)" <ji...@apache.org> on 2018/03/12 09:18:00 UTC

[jira] [Commented] (OOZIE-3190) Test cases in TestGraphGenerator.java of oozie-core fail with a NullPointerException

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

Alisha Prabhu commented on OOZIE-3190:
--------------------------------------

Oozie tests under TestGraphGenerator.java have passed on ppc64le after performing the following steps :

- cloned J2V8 
       git clone https://github.com/eclipsesource/J2V8
       git checkout tags/v4.5.0
 - libj2v8_linux_ppc64le.so was created after building the project.
 - exported it by using, export LD_LIBRARY_PATH command.
 - ran the the test cases under TestGraphGenerator.java in oozie.

> Test cases in TestGraphGenerator.java of oozie-core fail with a NullPointerException
> ------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3190
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3190
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.0.0b1
>         Environment: uname -a
> Linux pts00607-vm1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
>            Reporter: Alisha Prabhu
>            Priority: Major
>              Labels: ppc64le
>
> The test cases testSimpleGraphPng and testSimpleGraphSvg under TestGraphGenerator.java fail with java.lang.NullPointerException.
>  Maven command used for testSimpleGraphPng is mvn -Dtest=TestGraphGenerator#testSimpleGraphPng test.
> {code:java}
> [INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.229 s <<< FAILURE! - in org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] testSimpleGraphPng(org.apache.oozie.util.graph.TestGraphGenerator) Time elapsed: 24.229 s <<< FAILURE!
> java.lang.AssertionError: Render and write PNG failed for graph-workflow-simple.xml: java.util.concurrent.ExecutionException: java.lang.NullPointerException
> at org.apache.oozie.util.graph.TestGraphGenerator.generateAndAssertPng(TestGraphGenerator.java:96)
> at org.apache.oozie.util.graph.TestGraphGenerator.testSimpleGraphPng(TestGraphGenerator.java:64)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] TestGraphGenerator.testSimpleGraphPng:64->generateAndAssertPng:96 Render and write PNG failed for graph-workflow-simple.xml: java.util.concurrent.ExecutionException: java.lang.NullPointerException
> {code}
> Maven command used for testSimpleGraphSvg is mvn -Dtest=TestGraphGenerator#testSimpleGraphSvg test.
> {code:java}
> [INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.113 s <<< FAILURE! - in org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] testSimpleGraphSvg(org.apache.oozie.util.graph.TestGraphGenerator) Time elapsed: 24.113 s <<< FAILURE!
> java.lang.AssertionError: Render and write SVG failed: java.util.concurrent.ExecutionException: java.lang.NullPointerException
> at org.apache.oozie.util.graph.TestGraphGenerator.testSimpleGraphSvg(TestGraphGenerator.java:144)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] TestGraphGenerator.testSimpleGraphSvg:144 Render and write SVG failed: java.util.concurrent.ExecutionException: java.lang.NullPointerException
> {code}
> Have observed that the test cases use the values from the enum OutputFormat which contains 3 constants : PNG, DOT & SVG
> The test cases using OutputFormat.DOT have passed whereas the once which have used the other two constants i.e PNG and SVG , fail on ppc64le arch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)