I don't know the params. I'm back on macOS and it passes here, so here's my +1.
openjdk version "17.0.12" 2024-07-16 OpenJDK Runtime Environment Homebrew (build 17.0.12+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.12+0, mixed mode, sharing) Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937) Maven home: /usr/local/Cellar/maven/3.9.9/libexec Java version: 17.0.12, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk@17/17.0.12/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "15.0", arch: "x86_64", family: "mac" Darwin ---- 24.0.0 Darwin Kernel Version 24.0.0: Mon Aug 12 20:54:30 PDT 2024; root:xnu-11215.1.10~2/RELEASE_X86_64 x86_64 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 > >