Possible Pom issue in Netty 3.5

88 views
Skip to first unread message

Frederic

unread,
Jun 3, 2012, 7:31:40 AM6/3/12
to ne...@googlegroups.com
Hi,

When I tried to compile and generate the jar from the snapshot, I've got the following error in maven:

Tests in error:
  testSslEcho(org.jboss.netty.handler.ssl.NioNioSocketSslEchoTest): Une connexion ▒tablie a ▒t▒ abandonn▒e par un logiciel de votre ordinateur h▒te
  testSslEcho(org.jboss.netty.handler.ssl.OioNioSocketSslEchoTest): Software caused connection abort: recv failed
  testMulticastOptions(org.jboss.netty.channel.socket.nio.DefaultNioDatagramChannelConfigTest): java.net.SocketException: Unrecognized Windows Sockets error: 0: no further information

Tests run: 1412, Failures: 0, Errors: 3, Skipped: 0

The details were:

Running org.jboss.netty.handler.ssl.NioNioSocketSslEchoTest
UNKNOWN SERVER CERTIFICATE: CN=securechat.example.netty.gleamynode.net, OU=Contributors, O=The Netty Project, L=Seongnam-si, ST=Kyunggi-do, C=KR
juin 03, 2012 12:17:33 PM org.jboss.netty.handler.ssl.AbstractSocketSslEchoTest
Avertissement: Unexpected exception from the client side
java.io.IOException: Une connexion ▒tablie a ▒t▒ abandonn▒e par un logiciel de votre ordinateur h▒te
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:218)
        at sun.nio.ch.IOUtil.read(IOUtil.java:186)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:63)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:372)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:246)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:1)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.132 sec <<< FAILURE!
...
Running org.jboss.netty.handler.ssl.OioNioSocketSslEchoTest
UNKNOWN SERVER CERTIFICATE: CN=securechat.example.netty.gleamynode.net, OU=Contributors, O=The Netty Project, L=Seongnam-si, ST=Kyunggi-do, C=KR
juin 03, 2012 12:17:36 PM org.jboss.netty.handler.ssl.AbstractSocketSslEchoTest
Avertissement: Unexpected exception from the client side
java.net.SocketException: Software caused connection abort: recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at java.net.SocketInputStream.read(SocketInputStream.java:203)
        at java.io.FilterInputStream.read(FilterInputStream.java:83)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
        at org.jboss.netty.channel.socket.oio.OioWorker.process(OioWorker.java:65)
        at org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:74)
        at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:52)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.102 sec <<< FAILURE!
...
Running org.jboss.netty.channel.socket.nio.DefaultNioDatagramChannelConfigTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.036 sec <<< FAILURE!

To achieve the compilation, I had to add in <artifactId>maven-surefire-plugin</artifactId>
        <skipTests>true</skipTests>

I am not so a specialist of Maven, so I just submit this in case it has to be fixed or not.

Note: Run with maven 3.0.4, JDK 1.7.0_02 64b, Windows 7 64b and Cygwin

Frederic

Norman Maurer

unread,
Jun 3, 2012, 8:49:07 AM6/3/12
to ne...@googlegroups.com

Hi there,

could you try to rerunthe tests a few times?I think I also saw the ssl errors a few times but gone away after rerun.

The multicast error looks more interesting.. I wonder if nio udp multicast is not supported on windows.. Any idea?

Frederic

unread,
Jun 3, 2012, 9:36:08 AM6/3/12
to ne...@googlegroups.com
Hi Norman,

I tried several times, but it does not changed anything on the 2 first issues:

  testSslEcho(org.jboss.netty.handler.ssl.OioNioSocketSslEchoTest): Software caused connection abort: recv failed
  testSslEcho(org.jboss.netty.handler.ssl.NioOioSocketSslEchoTest): Une connexion ▒tablie a ▒t▒ abandonn▒e par un logiciel de votre ordinateur h▒te

I sometime get also the following:

  testSslEcho(org.jboss.netty.handler.ssl.NioNioSocketSslEchoTest): Une connexion ▒tablie a ▒t▒ abandonn▒e par un logiciel de votre ordinateur h▒te


On the third ones, the only element I found until now is the following that might be related:
http://stackoverflow.com/questions/3947555/java-net-socketexception-unrecognized-windows-sockets-error-0-jvm-bind-jboss

I try to run maven with the option "-Djava.net.preferIPv4Stack=true"
But this does not changed anything.

I join the 4 trace from mvn in case you understand more than me...

Cheers,
Frederic


Le dimanche 3 juin 2012 14:49:07 UTC+2, Norman Maurer a écrit :

Hi there,

could you try to rerunthe tests a few times?I think I also saw the ssl errors a few times but gone away after rerun.

The multicast error looks more interesting.. I wonder if nio udp multicast is not supported on windows.. Any idea?

org.jboss.netty.channel.socket.nio.DefaultNioDatagramChannelConfigTest.txt
org.jboss.netty.handler.ssl.NioNioSocketSslEchoTest.txt
org.jboss.netty.handler.ssl.NioOioSocketSslEchoTest.txt
org.jboss.netty.handler.ssl.OioNioSocketSslEchoTest.txt

Frederic

unread,
Jun 3, 2012, 9:40:56 AM6/3/12
to ne...@googlegroups.com
Just to add one note, I tried also with Admin rights, and with IPv6 preffered (-Djava.net.preferIPv6Stack=true), it does not changed anything in the nio UDP multicast...
Reply all
Reply to author
Forward
0 new messages