You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ralph Goers <ra...@dslextreme.com> on 2012/10/29 17:34:13 UTC
[VFS] Unit test failure
I haven't run the build in a while but I don't recall ever seeing this before.
Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec <<< FAILURE!
junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite) Time elapsed: 3228 sec <<< ERROR!
org.apache.commons.vfs2.FileSystemException: Unknown message with code "org.apache.commons.vfs2.FileNotFoundException Could not read from "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt" because it is a not a file.".
at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
at org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
at org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
at org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by James Carman <ja...@carmanconsulting.com>.
I just ran the full build from trunk successfully on linux (Ubuntu 64-bit).
On Mon, Oct 29, 2012 at 12:49 PM, Gary Gregory <ga...@gmail.com> wrote:
> Hi Ralph,
>
> I've never seen that one! I am on Windows. Are you on Linux?
>
> Gary
>
> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
>
>> I haven't run the build in a while but I don't recall ever seeing this
>> before.
>>
>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
>> <<< FAILURE!
>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
>> Time elapsed: 3228 sec <<< ERROR!
>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>> because it is a not a file.".
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>> at
>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>> at
>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>> at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by James Carman <ja...@carmanconsulting.com>.
I think we're dealing with an issue that's Mac OS X related, at least
it would seem so currently.
On Mon, Oct 29, 2012 at 2:01 PM, <dl...@comcast.net> wrote:
> I just built (mvn clean install) and had no problem on Ubuntu.
>
> ----- Original Message -----
> From: "James Carman" <ja...@carmanconsulting.com>
> To: "Commons Developers List" <de...@commons.apache.org>
> Sent: Monday, October 29, 2012 1:51:48 PM
> Subject: Re: [VFS] Unit test failure
>
> Same result here on Mac OS X Mountain Lion:
>
> Results :
>
> Tests in error:
> junit.framework.TestSuite@6e6dcfde(org.apache.commons.vfs2.test.ProviderTestSuite):
> Unknown message with code
> "org.apache.commons.vfs2.FileNotFoundException Could not read from
> "file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
> because it is a not a file.".
>
>
>
> On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>> Nope. Mac OS/X Lion
>>
>> Ralph
>>
>> On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
>>
>>> Hi Ralph,
>>>
>>> I've never seen that one! I am on Windows. Are you on Linux?
>>>
>>> Gary
>>>
>>> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
>>>
>>>> I haven't run the build in a while but I don't recall ever seeing this
>>>> before.
>>>>
>>>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
>>>> <<< FAILURE!
>>>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
>>>> Time elapsed: 3228 sec <<< ERROR!
>>>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>>>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>>>> because it is a not a file.".
>>>> at
>>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>>>> at
>>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>>> at
>>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>>> at
>>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>>>> at
>>>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>>>> at
>>>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>> at
>>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>>>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>>> at
>>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>>> at
>>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>>> at
>>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>>> at
>>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by Ralph Goers <ra...@dslextreme.com>.
I would expect file://c:\Users\ or file://c:/Users/ on Windows.
Ralph
On Oct 29, 2012, at 11:01 AM, Gary Gregory wrote:
> file:///Users/ smells like Windows 7... Hm...
>
> G
>
> On Mon, Oct 29, 2012 at 1:51 PM, James Carman <ja...@carmanconsulting.com>wrote:
>
>> Same result here on Mac OS X Mountain Lion:
>>
>> Results :
>>
>> Tests in error:
>> junit.framework.TestSuite@6e6dcfde
>> (org.apache.commons.vfs2.test.ProviderTestSuite):
>> Unknown message with code
>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>
>> "file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
>> because it is a not a file.".
>>
>>
>>
>> On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com>
>> wrote:
>>> Nope. Mac OS/X Lion
>>>
>>> Ralph
>>>
>>> On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
>>>
>>>> Hi Ralph,
>>>>
>>>> I've never seen that one! I am on Windows. Are you on Linux?
>>>>
>>>> Gary
>>>>
>>>> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <
>> ralph.goers@dslextreme.com>wrote:
>>>>
>>>>> I haven't run the build in a while but I don't recall ever seeing this
>>>>> before.
>>>>>
>>>>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229
>> sec
>>>>> <<< FAILURE!
>>>>> junit.framework.TestSuite@77c7bee2
>> (org.apache.commons.vfs2.test.ProviderTestSuite)
>>>>> Time elapsed: 3228 sec <<< ERROR!
>>>>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>>>>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>>>>
>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>>>>> because it is a not a file.".
>>>>> at
>>>>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>>>>> at
>>>>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>>>> at
>>>>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>>>> at
>>>>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>>>>> at
>>>>>
>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>>>>> at
>>>>>
>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>>>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>>> at
>>>>>
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>>>> at
>>>>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>>>>> at
>>>>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>>>>> at
>>>>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>>>>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>>>> at
>>>>>
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>>>> at
>>>>>
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>>>> at
>>>>>
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>>>> at
>>>>>
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>>>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>>>> Blog: http://garygregory.wordpress.com
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by James Carman <ja...@carmanconsulting.com>.
That's actually the right path on Mac OS X, too.
On Mon, Oct 29, 2012 at 2:01 PM, Gary Gregory <ga...@gmail.com> wrote:
> file:///Users/ smells like Windows 7... Hm...
>
> G
>
> On Mon, Oct 29, 2012 at 1:51 PM, James Carman <ja...@carmanconsulting.com>wrote:
>
>> Same result here on Mac OS X Mountain Lion:
>>
>> Results :
>>
>> Tests in error:
>> junit.framework.TestSuite@6e6dcfde
>> (org.apache.commons.vfs2.test.ProviderTestSuite):
>> Unknown message with code
>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>
>> "file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
>> because it is a not a file.".
>>
>>
>>
>> On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com>
>> wrote:
>> > Nope. Mac OS/X Lion
>> >
>> > Ralph
>> >
>> > On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
>> >
>> >> Hi Ralph,
>> >>
>> >> I've never seen that one! I am on Windows. Are you on Linux?
>> >>
>> >> Gary
>> >>
>> >> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <
>> ralph.goers@dslextreme.com>wrote:
>> >>
>> >>> I haven't run the build in a while but I don't recall ever seeing this
>> >>> before.
>> >>>
>> >>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229
>> sec
>> >>> <<< FAILURE!
>> >>> junit.framework.TestSuite@77c7bee2
>> (org.apache.commons.vfs2.test.ProviderTestSuite)
>> >>> Time elapsed: 3228 sec <<< ERROR!
>> >>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>> >>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>> >>>
>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>> >>> because it is a not a file.".
>> >>> at
>> >>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>> >>> at
>> >>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> >>> at
>> >>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> >>> at
>> >>>
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>> >>> at
>> >>>
>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>> >>> at
>> >>>
>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>> >>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>> >>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>> >>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>> >>> at
>> >>>
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>> >>> at
>> >>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>> >>> at
>> >>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>> >>> at
>> >>>
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>> >>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> >>> at
>> >>>
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> >>> at
>> >>>
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> >>> at
>> >>>
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>> >>> at
>> >>>
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> >>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> >>> For additional commands, e-mail: dev-help@commons.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> >> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> >> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> >> Blog: http://garygregory.wordpress.com
>> >> Home: http://garygregory.com/
>> >> Tweet! http://twitter.com/GaryGregory
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > For additional commands, e-mail: dev-help@commons.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by Gary Gregory <ga...@gmail.com>.
file:///Users/ smells like Windows 7... Hm...
G
On Mon, Oct 29, 2012 at 1:51 PM, James Carman <ja...@carmanconsulting.com>wrote:
> Same result here on Mac OS X Mountain Lion:
>
> Results :
>
> Tests in error:
> junit.framework.TestSuite@6e6dcfde
> (org.apache.commons.vfs2.test.ProviderTestSuite):
> Unknown message with code
> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>
> "file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
> because it is a not a file.".
>
>
>
> On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
> > Nope. Mac OS/X Lion
> >
> > Ralph
> >
> > On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
> >
> >> Hi Ralph,
> >>
> >> I've never seen that one! I am on Windows. Are you on Linux?
> >>
> >> Gary
> >>
> >> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <
> ralph.goers@dslextreme.com>wrote:
> >>
> >>> I haven't run the build in a while but I don't recall ever seeing this
> >>> before.
> >>>
> >>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229
> sec
> >>> <<< FAILURE!
> >>> junit.framework.TestSuite@77c7bee2
> (org.apache.commons.vfs2.test.ProviderTestSuite)
> >>> Time elapsed: 3228 sec <<< ERROR!
> >>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
> >>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
> >>>
> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
> >>> because it is a not a file.".
> >>> at
> >>>
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
> >>> at
> >>>
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
> >>> at
> >>>
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
> >>> at
> >>>
> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
> >>> at
> >>>
> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
> >>> at
> >>>
> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
> >>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
> >>> at junit.framework.TestResult.runProtected(TestResult.java:128)
> >>> at junit.extensions.TestSetup.run(TestSetup.java:27)
> >>> at
> >>>
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> >>> at
> >>>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> >>> at
> >>>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> >>> at
> >>>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> >>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> >>> at
> >>>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> >>> at
> >>>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> >>> at
> >>>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> >>> at
> >>>
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>
> >>>
> >>
> >>
> >> --
> >> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> >> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> >> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> >> Blog: http://garygregory.wordpress.com
> >> Home: http://garygregory.com/
> >> Tweet! http://twitter.com/GaryGregory
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: [VFS] Unit test failure
Posted by dl...@comcast.net.
I just built (mvn clean install) and had no problem on Ubuntu.
----- Original Message -----
From: "James Carman" <ja...@carmanconsulting.com>
To: "Commons Developers List" <de...@commons.apache.org>
Sent: Monday, October 29, 2012 1:51:48 PM
Subject: Re: [VFS] Unit test failure
Same result here on Mac OS X Mountain Lion:
Results :
Tests in error:
junit.framework.TestSuite@6e6dcfde(org.apache.commons.vfs2.test.ProviderTestSuite):
Unknown message with code
"org.apache.commons.vfs2.FileNotFoundException Could not read from
"file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
because it is a not a file.".
On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com> wrote:
> Nope. Mac OS/X Lion
>
> Ralph
>
> On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
>
>> Hi Ralph,
>>
>> I've never seen that one! I am on Windows. Are you on Linux?
>>
>> Gary
>>
>> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
>>
>>> I haven't run the build in a while but I don't recall ever seeing this
>>> before.
>>>
>>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
>>> <<< FAILURE!
>>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
>>> Time elapsed: 3228 sec <<< ERROR!
>>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>>> because it is a not a file.".
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>>> at
>>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>>> at
>>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> at
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by James Carman <ja...@carmanconsulting.com>.
Same result here on Mac OS X Mountain Lion:
Results :
Tests in error:
junit.framework.TestSuite@6e6dcfde(org.apache.commons.vfs2.test.ProviderTestSuite):
Unknown message with code
"org.apache.commons.vfs2.FileNotFoundException Could not read from
"file:///Users/jcarman/IdeaProjects/commons-vfs/core/target/test-classes/test-data/write-tests/file1.txt"
because it is a not a file.".
On Mon, Oct 29, 2012 at 1:32 PM, Ralph Goers <ra...@dslextreme.com> wrote:
> Nope. Mac OS/X Lion
>
> Ralph
>
> On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
>
>> Hi Ralph,
>>
>> I've never seen that one! I am on Windows. Are you on Linux?
>>
>> Gary
>>
>> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
>>
>>> I haven't run the build in a while but I don't recall ever seeing this
>>> before.
>>>
>>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
>>> <<< FAILURE!
>>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
>>> Time elapsed: 3228 sec <<< ERROR!
>>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>>> because it is a not a file.".
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>>> at
>>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>>> at
>>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>>> at
>>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> at
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by Ralph Goers <ra...@dslextreme.com>.
Nope. Mac OS/X Lion
Ralph
On Oct 29, 2012, at 9:49 AM, Gary Gregory wrote:
> Hi Ralph,
>
> I've never seen that one! I am on Windows. Are you on Linux?
>
> Gary
>
> On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
>
>> I haven't run the build in a while but I don't recall ever seeing this
>> before.
>>
>> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
>> <<< FAILURE!
>> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
>> Time elapsed: 3228 sec <<< ERROR!
>> org.apache.commons.vfs2.FileSystemException: Unknown message with code
>> "org.apache.commons.vfs2.FileNotFoundException Could not read from
>> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
>> because it is a not a file.".
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
>> at
>> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
>> at
>> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
>> at
>> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
>> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>> at
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
>> at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
>> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [VFS] Unit test failure
Posted by Gary Gregory <ga...@gmail.com>.
Hi Ralph,
I've never seen that one! I am on Windows. Are you on Linux?
Gary
On Mon, Oct 29, 2012 at 12:34 PM, Ralph Goers <ra...@dslextreme.com>wrote:
> I haven't run the build in a while but I don't recall ever seeing this
> before.
>
> Running org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.229 sec
> <<< FAILURE!
> junit.framework.TestSuite@77c7bee2(org.apache.commons.vfs2.test.ProviderTestSuite)
> Time elapsed: 3228 sec <<< ERROR!
> org.apache.commons.vfs2.FileSystemException: Unknown message with code
> "org.apache.commons.vfs2.FileNotFoundException Could not read from
> "file:///Users/rgoers/projects/apache/commons/vfs/trunk/core/target/test-classes/test-data/write-tests/file1.txt"
> because it is a not a file.".
> at
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
> at
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
> at
> org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
> at
> org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
> at
> org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:90)
> at
> org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:166)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.extensions.TestSetup.run(TestSetup.java:27)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> 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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory