You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/07/28 05:59:20 UTC

[jira] [Commented] (OOZIE-2497) Testcase fails on windows with hard coded URIs

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

Hadoop QA commented on OOZIE-2497:
----------------------------------

Testing JIRA OOZIE-2497

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 132
.    {color:green}+1{color} the patch does adds/modifies 3 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
{color:red}-1 COMPILE{color}
.    {color:red}-1{color} HEAD does not compile
.    {color:red}-1{color} patch does not compile
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.    Tests run: 1791
.    Tests failed: 1
.    Tests errors: 0

.    The patch failed the following testcases:

.      testBundleRerunInPausedWithError(org.apache.oozie.command.bundle.TestBundleRerunXCommand)

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/3111/

> Testcase fails on windows with hard coded URIs
> ----------------------------------------------
>
>                 Key: OOZIE-2497
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2497
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>         Environment: Windows
>            Reporter: abhishek bafna
>            Assignee: abhishek bafna
>              Labels: patch
>         Attachments: OOZIE-2497-01.patch
>
>
> Some of the test cases have hard coded file URIs like "file://" which makes them to fail in the windows environment.
> testcase:
> {noformat}
> org.apache.oozie.command.coord.TestCoordSubmitXCommand#testELdataIO_xsd_4
> org.apache.oozie.action.hadoop.TestMapReduceActionExecutor#testConfigDefaultPropsToAction
> org.apache.oozie.command.wf.TestSignalXCommand#testJoinFail
> {noformat}
> Exception message
> {noformat}
> --------------------testELdataIO_xsd_4--------------------------------
> java.net.URISyntaxException: Illegal character in authority at index 7: file://D:\w\oozie\core\target\test-data\oozietests\org.apache.oozie.command.coord.TestCoordSubmitXCommand\testELdataIO_xsd_4\coordinator.xml
> 	at java.net.URI$Parser.fail(URI.java:2827)
> 	at java.net.URI$Parser.parseAuthority(URI.java:3165)
> 	at java.net.URI$Parser.parseHierarchical(URI.java:3076)
> 	at java.net.URI$Parser.parse(URI.java:3032)
> 	at java.net.URI.<init>(URI.java:595)
> 	at org.apache.oozie.command.coord.TestCoordSubmitXCommand.testELdataIO_xsd_4(TestCoordSubmitXCommand.java:576)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 	at org.junit.runners.Suite.runChild(Suite.java:128)
> 	at org.junit.runners.Suite.runChild(Suite.java:24)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> --------------------testConfigDefaultPropsToAction--------------------------------
> org.apache.oozie.command.CommandException: E0803: IO error, Illegal character in authority at index 7: file://D:\w\oozie\sharelib\streaming\target\test-data\oozietests\org.apache.oozie.action.hadoop.TestMapReduceActionExecutor\testConfigDefaultPropsToAction\workflow.xml
> 	at org.apache.oozie.command.wf.SubmitXCommand.execute(SubmitXCommand.java:278)
> 	at org.apache.oozie.command.wf.SubmitXCommand.execute(SubmitXCommand.java:76)
> 	at org.apache.oozie.command.XCommand.call(XCommand.java:286)
> 	at org.apache.oozie.action.hadoop.TestMapReduceActionExecutor.testConfigDefaultPropsToAction(TestMapReduceActionExecutor.java:139)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 	at org.junit.runners.Suite.runChild(Suite.java:128)
> 	at org.junit.runners.Suite.runChild(Suite.java:24)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> -------------------testJoinFail---------------------------------
> org.apache.oozie.DagEngineException: E0803: IO error, Illegal character in path at index 73: hdfs://127.0.0.1:58103/user/test/dbb3e60c-3f0a-44dc-9e4d-6ae40ffc4cc1/app\workflow.xml
> 	at org.apache.oozie.DagEngine.submitJob(DagEngine.java:122)
> 	at org.apache.oozie.command.wf.TestSignalXCommand.testJoinFail(TestSignalXCommand.java:87)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 	at org.junit.runners.Suite.runChild(Suite.java:128)
> 	at org.junit.runners.Suite.runChild(Suite.java:24)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.oozie.command.CommandException: E0803: IO error, Illegal character in path at index 73: hdfs://127.0.0.1:58103/user/test/dbb3e60c-3f0a-44dc-9e4d-6ae40ffc4cc1/app\workflow.xml
> 	at org.apache.oozie.command.wf.SubmitXCommand.execute(SubmitXCommand.java:278)
> 	at org.apache.oozie.command.wf.SubmitXCommand.execute(SubmitXCommand.java:76)
> 	at org.apache.oozie.command.XCommand.call(XCommand.java:286)
> 	at org.apache.oozie.DagEngine.submitJob(DagEngine.java:115)
> 	... 23 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)