I'm trying to build the ftp server from the trunk but some tests fails.
Tests in error:
testExceptionDuringDownloadEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
testExceptionDuringDownloadEnd(org.apache.ftpserver.ftplet.FtpLetThrowIOExceptionTest)
testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetThrowIOExceptionTest)
testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowIOExceptionTest)
testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
testExceptionDuringUploadEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
Is this a known issue or does this only happens on my machine?
Details:
-------------------------------------------------------------------------------
Test set: org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest
-------------------------------------------------------------------------------
Tests run: 18, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.312 sec <<<
FAILURE!
testExceptionDuringDownloadEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
Time elapsed: 0.079 sec <<< ERROR!
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:583)
at org.apache.commons.net.ftp.FTP.noop(FTP.java:1482)
at
org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest.testExceptionDuringDownloadEnd(FtpLetReturnDisconnectTest.java:327)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)