You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Ashish Jain <as...@gmail.com> on 2010/05/03 16:02:00 UTC

G3 build failing on windows

Hi All,

My G3 build seems to be failing on windows Xp. Here is the error

-------------------------------------------------------------------------------
Test set: org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
<<< FAILURE!
testNormalizeURL(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
Time elapsed: 0.015 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null
expected:<file:/C:/Documents%2[0and%]20Settings/Administr...> but
was:<file:/C:/Documents%2[520and%25]20Settings/Administr...>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at junit.framework.Assert.assertEquals(Assert.java:87)
    at
org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeURL(RMIClassLoaderSpiImplTest.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:232)
    at junit.framework.TestSuite.run(TestSuite.java:227)
    at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
    at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

testNormalizeCodebase(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
Time elapsed: 0 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null
expected:<file:/C:/Documents%2[0and%20Settings/Administrator/Apache%20Group/Geronimo
file:/C:/Documents%20and%]20Settings/Administr...> but
was:<file:/C:/Documents%2[520and%2520Settings/Administrator/Apache%20Group/Geronimo
file:/C:/Documents%2520and%25]20Settings/Administr...>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at junit.framework.Assert.assertEquals(Assert.java:87)
    at
org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeCodebase(RMIClassLoaderSpiImplTest.java:64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:232)
    at junit.framework.TestSuite.run(TestSuite.java:227)
    at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
    at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


I am suspecting some issues with user.home.

--Ashish

Re: G3 build failing on windows

Posted by Ashish Jain <as...@gmail.com>.
thanks Ivan. The issue is resolved.

On Mon, May 3, 2010 at 7:59 PM, Ivan <xh...@gmail.com> wrote:

> r940426
>
>
> 2010/5/3 Ashish Jain <as...@gmail.com>
>
>> thanks Ivan can you please point me to the revision number which fixes
>> this issue. So that I can verify if my code is updated to that revision
>> number.
>>
>>
>> On Mon, May 3, 2010 at 7:40 PM, Ivan <xh...@gmail.com> wrote:
>>
>>> It should be fixed by Rick now, update your codes :-)
>>>
>>> 2010/5/3 Ashish Jain <as...@gmail.com>
>>>
>>> Hi All,
>>>>
>>>> My G3 build seems to be failing on windows Xp. Here is the error
>>>>
>>>>
>>>> -------------------------------------------------------------------------------
>>>> Test set: org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest
>>>>
>>>> -------------------------------------------------------------------------------
>>>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047
>>>> sec <<< FAILURE!
>>>> testNormalizeURL(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>>>> Time elapsed: 0.015 sec  <<< FAILURE!
>>>> junit.framework.ComparisonFailure: null
>>>> expected:<file:/C:/Documents%2[0and%]20Settings/Administr...> but
>>>> was:<file:/C:/Documents%2[520and%25]20Settings/Administr...>
>>>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>>>     at
>>>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeURL(RMIClassLoaderSpiImplTest.java:57)
>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>     at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>     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:232)
>>>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>     at
>>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>>>     at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>     at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>     at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>     at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>     at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>>>     at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>>
>>>> testNormalizeCodebase(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>>>> Time elapsed: 0 sec  <<< FAILURE!
>>>> junit.framework.ComparisonFailure: null
>>>> expected:<file:/C:/Documents%2[0and%20Settings/Administrator/Apache%20Group/Geronimo
>>>> file:/C:/Documents%20and%]20Settings/Administr...> but
>>>> was:<file:/C:/Documents%2[520and%2520Settings/Administrator/Apache%20Group/Geronimo
>>>> file:/C:/Documents%2520and%25]20Settings/Administr...>
>>>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>>>     at
>>>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeCodebase(RMIClassLoaderSpiImplTest.java:64)
>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>     at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>     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:232)
>>>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>     at
>>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>>>     at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>     at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>     at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>     at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>     at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>     at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>>>     at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>>
>>>>
>>>> I am suspecting some issues with user.home.
>>>>
>>>> --Ashish
>>>>
>>>
>>>
>>>
>>> --
>>> Ivan
>>>
>>
>>
>
>
> --
> Ivan
>

Re: G3 build failing on windows

Posted by Ivan <xh...@gmail.com>.
r940426

2010/5/3 Ashish Jain <as...@gmail.com>

> thanks Ivan can you please point me to the revision number which fixes this
> issue. So that I can verify if my code is updated to that revision number.
>
>
> On Mon, May 3, 2010 at 7:40 PM, Ivan <xh...@gmail.com> wrote:
>
>> It should be fixed by Rick now, update your codes :-)
>>
>> 2010/5/3 Ashish Jain <as...@gmail.com>
>>
>> Hi All,
>>>
>>> My G3 build seems to be failing on windows Xp. Here is the error
>>>
>>>
>>> -------------------------------------------------------------------------------
>>> Test set: org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest
>>>
>>> -------------------------------------------------------------------------------
>>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
>>> <<< FAILURE!
>>> testNormalizeURL(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>>> Time elapsed: 0.015 sec  <<< FAILURE!
>>> junit.framework.ComparisonFailure: null
>>> expected:<file:/C:/Documents%2[0and%]20Settings/Administr...> but
>>> was:<file:/C:/Documents%2[520and%25]20Settings/Administr...>
>>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>>     at
>>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeURL(RMIClassLoaderSpiImplTest.java:57)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     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:232)
>>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>>     at
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>>     at
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>     at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>     at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     at
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>>     at
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>
>>> testNormalizeCodebase(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>>> Time elapsed: 0 sec  <<< FAILURE!
>>> junit.framework.ComparisonFailure: null
>>> expected:<file:/C:/Documents%2[0and%20Settings/Administrator/Apache%20Group/Geronimo
>>> file:/C:/Documents%20and%]20Settings/Administr...> but
>>> was:<file:/C:/Documents%2[520and%2520Settings/Administrator/Apache%20Group/Geronimo
>>> file:/C:/Documents%2520and%25]20Settings/Administr...>
>>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>>     at
>>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeCodebase(RMIClassLoaderSpiImplTest.java:64)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     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:232)
>>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>>     at
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>>     at
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>     at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>     at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     at
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>>     at
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>>
>>>
>>> I am suspecting some issues with user.home.
>>>
>>> --Ashish
>>>
>>
>>
>>
>> --
>> Ivan
>>
>
>


-- 
Ivan

Re: G3 build failing on windows

Posted by Ashish Jain <as...@gmail.com>.
thanks Ivan can you please point me to the revision number which fixes this
issue. So that I can verify if my code is updated to that revision number.

On Mon, May 3, 2010 at 7:40 PM, Ivan <xh...@gmail.com> wrote:

> It should be fixed by Rick now, update your codes :-)
>
> 2010/5/3 Ashish Jain <as...@gmail.com>
>
> Hi All,
>>
>> My G3 build seems to be failing on windows Xp. Here is the error
>>
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest
>>
>> -------------------------------------------------------------------------------
>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
>> <<< FAILURE!
>> testNormalizeURL(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>> Time elapsed: 0.015 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: null
>> expected:<file:/C:/Documents%2[0and%]20Settings/Administr...> but
>> was:<file:/C:/Documents%2[520and%25]20Settings/Administr...>
>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>     at
>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeURL(RMIClassLoaderSpiImplTest.java:57)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     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:232)
>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>     at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>     at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>     at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>     at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>     at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>
>> testNormalizeCodebase(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
>> Time elapsed: 0 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: null
>> expected:<file:/C:/Documents%2[0and%20Settings/Administrator/Apache%20Group/Geronimo
>> file:/C:/Documents%20and%]20Settings/Administr...> but
>> was:<file:/C:/Documents%2[520and%2520Settings/Administrator/Apache%20Group/Geronimo
>> file:/C:/Documents%2520and%25]20Settings/Administr...>
>>     at junit.framework.Assert.assertEquals(Assert.java:81)
>>     at junit.framework.Assert.assertEquals(Assert.java:87)
>>     at
>> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeCodebase(RMIClassLoaderSpiImplTest.java:64)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     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:232)
>>     at junit.framework.TestSuite.run(TestSuite.java:227)
>>     at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>>     at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>     at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>     at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>     at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>
>>
>> I am suspecting some issues with user.home.
>>
>> --Ashish
>>
>
>
>
> --
> Ivan
>

Re: G3 build failing on windows

Posted by Ivan <xh...@gmail.com>.
It should be fixed by Rick now, update your codes :-)

2010/5/3 Ashish Jain <as...@gmail.com>

> Hi All,
>
> My G3 build seems to be failing on windows Xp. Here is the error
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest
>
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> <<< FAILURE!
> testNormalizeURL(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
> Time elapsed: 0.015 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: null
> expected:<file:/C:/Documents%2[0and%]20Settings/Administr...> but
> was:<file:/C:/Documents%2[520and%25]20Settings/Administr...>
>     at junit.framework.Assert.assertEquals(Assert.java:81)
>     at junit.framework.Assert.assertEquals(Assert.java:87)
>     at
> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeURL(RMIClassLoaderSpiImplTest.java:57)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:232)
>     at junit.framework.TestSuite.run(TestSuite.java:227)
>     at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>     at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>     at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>     at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>     at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>
> testNormalizeCodebase(org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest)
> Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: null
> expected:<file:/C:/Documents%2[0and%20Settings/Administrator/Apache%20Group/Geronimo
> file:/C:/Documents%20and%]20Settings/Administr...> but
> was:<file:/C:/Documents%2[520and%2520Settings/Administrator/Apache%20Group/Geronimo
> file:/C:/Documents%2520and%25]20Settings/Administr...>
>     at junit.framework.Assert.assertEquals(Assert.java:81)
>     at junit.framework.Assert.assertEquals(Assert.java:87)
>     at
> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImplTest.testNormalizeCodebase(RMIClassLoaderSpiImplTest.java:64)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     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:232)
>     at junit.framework.TestSuite.run(TestSuite.java:227)
>     at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>     at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>     at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>     at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>     at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>
>
> I am suspecting some issues with user.home.
>
> --Ashish
>



-- 
Ivan