Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building SMBJ: test FAILED: AsyncDirectTcpTransportSpec; Executed: 1/0/1 #811

Open
pekuz opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@pekuz
Copy link

pekuz commented Feb 5, 2024

I try to build SMBJ on Windows 10, JDK 11, and getting the test failure below:

? Test com.hierynomus.smbj.share.RingBufferSpec; Executed: 15/15/0

AsyncDirectTcpTransportSpec > client should connect to AsyncDirectTcpTransport FAILED
    java.lang.RuntimeException: java.net.SocketException: Connection reset
        at com.hierynomus.smbj.server.StubSmbServer.runServer(StubSmbServer.groovy:86)
        at com.hierynomus.smbj.server.StubSmbServer$1.run(StubSmbServer.groovy:53)
        at java.base/java.lang.Thread.run(Thread.java:829)

        Caused by:
        java.net.SocketException: Connection reset
            at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
            at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
            at org.apache.commons.io.IOUtils.read(IOUtils.java:1956)
            at org.apache.commons.io.IOUtils.read(IOUtils.java:1932)
            at org.apache.commons.io.IOUtils.read(IOUtils.java:1909)
            at com.hierynomus.smbj.server.StubSmbServer.readTcpHeader(StubSmbServer.groovy:95)
            at com.hierynomus.smbj.server.StubSmbServer.runServer(StubSmbServer.groovy:68)
            ... 2 more
? Test com.hierynomus.smbj.transport.tcp.async.AsyncDirectTcpTransportSpec; Executed: 1/0/1
? Test com.hierynomus.spnego.NegTokenInitSpec; Executed: 4/4/0

I have tried three times and it has failed three times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant