I can retest on Windows later today. What command line do you want me to
use?

Gary

On Fri, Sep 27, 2024 at 8:21 AM Thomas Wolf <tw...@apache.org> wrote:

> On 24.09.24 23:36 , Gary D. Gregory wrote:
> > Any thoughts on 'mvn clean verify':
> >
> > [INFO] Running org.apache.sshd.sftp.client.SftpTransferTest
> > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 11.05 s <<< FAILURE! -- in org.apache.sshd.sftp.client.SftpTransferTest
> > [ERROR]
> org.apache.sshd.sftp.client.SftpTransferTest.transferIntegrity(long)[2] --
> Time elapsed: 11.04 s <<< ERROR!
> > java.io.IOException: receive(id=312, timeout=PT0S) client is closed
> >          at
> org.apache.sshd.sftp.client.fs.SftpFileSystem$Wrapper.receive(SftpFileSystem.java:687)
> >          at
> org.apache.sshd.sftp.client.impl.SftpOutputStreamAsync.internalFlush(SftpOutputStreamAsync.java:320)
> >          at
> org.apache.sshd.sftp.client.impl.SftpOutputStreamAsync.internalTransfer(SftpOutputStreamAsync.java:285)
> >          at
> org.apache.sshd.sftp.client.impl.SftpOutputStreamAsync.write(SftpOutputStreamAsync.java:180)
> >          at
> org.apache.sshd.sftp.client.fs.SftpFileSystemProvider$2.write(SftpFileSystemProvider.java:675)
> >          at
> java.base/java.io.InputStream.transferTo(InputStream.java:783)
> >          at java.base/java.nio.file.Files.copy(Files.java:3171)
> >          at
> java.base/java.nio.file.CopyMoveHelper.copyToForeignTarget(CopyMoveHelper.java:126)
> >          at java.base/java.nio.file.Files.copy(Files.java:1308)
> >          at
> org.apache.sshd.sftp.client.SftpTransferTest.doTestTransferIntegrity(SftpTransferTest.java:116)
> >          at
> org.apache.sshd.sftp.client.SftpTransferTest.transferIntegrity(SftpTransferTest.java:64)
> [...]
>
> That's strange. We didn't see this in CI, and I cannot reproduce on
> either Mac OS or Windows 10 (JDK 17.0.7). A race condition seems
> unlikely since the test failed for you in all three runs.
>
> With which parameters did it fail? (It's a parameterized test; one
> parameter setting will cause several key exchanges during the 10MB
> transfer.) Maybe the problem is not with the file transfer but with
> the KEX during the transfer. (Also unlikely, but not impossible.)
>
> Is there anything in the test logs? The test transfers a file
> between an Apache MINA sshd client and an Apache MINA sshd server.
> Maybe the server logged a problem?
>
> Is it reproducible if the test is run stand-alone? With debug
> logging?
>
> Cheers,
>
>    Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
> For additional commands, e-mail: dev-h...@mina.apache.org
>
>

Reply via email to