Page 1 of 1

Build error r4608

PostPosted: Thu Jan 07, 2016 9:05 am
by phillipmcmahon
Hopefully this is a supported request...

I checked out r4608 this morning and attempted to compile but am faced with an error. All previous check outs have compiled fine which suggest my build env is correct and maybe something with this revision isn't. Let me know if I should attache a specific surefire report, for now the console error output is shown below

Running net.sourceforge.subsonic.io.RangeOutputStreamTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
testWrap(net.sourceforge.subsonic.io.RangeOutputStreamTestCase) Time elapsed: 0.003 sec <<< ERROR!
java.io.IOException
at net.sourceforge.subsonic.io.RangeOutputStream.write(RangeOutputStream.java:100)
at net.sourceforge.subsonic.io.RangeOutputStreamTestCase.copy(RangeOutputStreamTestCase.java:94)
at net.sourceforge.subsonic.io.RangeOutputStreamTestCase.doTestWrap(RangeOutputStreamTestCase.java:72)
at net.sourceforge.subsonic.io.RangeOutputStreamTestCase.testWrap(RangeOutputStreamTestCase.java:37)
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:497)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)

Thanks in advance.

Phill

Re: Build error r4608

PostPosted: Sat Jan 09, 2016 8:42 am
by phillipmcmahon
For now I disabled the test. Anyone with a better solution?