Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3539

Flunky controller tests on Windows: Address already in use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.0.0.Alpha6
    • Test Suite
    • None

      Following combination of tests will fail sometimes on "Address already in use: bind" on windows:

      mvn test -Dtest=org.jboss.as.controller.test.RemoteChannelProxyControllerTestCase,org.jboss.as.controller.test.TransactionalProtocolClientTestCase
      
      [Step 2/3] org.jboss.as.controller.test.TransactionalProtocolClientTestCase
      [21:41:55][org.jboss.as.controller.test.TransactionalProtocolClientTestCase] testSequentialGroup
      [21:41:55][org.jboss.as.controller.test.TransactionalProtocolClientTestCase] testCancelBeforePrepared
      [21:41:55][testCancelBeforePrepared] java.net.BindException: Address already in use: bind
      [21:41:55]
      [testCancelBeforePrepared] java.net.BindException: Address already in use: bind
      	at sun.nio.ch.Net.bind0(Native Method)
      	at sun.nio.ch.Net.bind(Net.java:433)
      	at sun.nio.ch.Net.bind(Net.java:425)
      	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
      	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
      	at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:181)
      	at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:310)
      	at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:372)
      	at org.jboss.as.controller.support.ChannelServer.create(ChannelServer.java:93)
      	at org.jboss.as.controller.test.TransactionalProtocolClientTestCase.startChannelServer(TransactionalProtocolClientTestCase.java:108)
      

      This happens pretty often on windows CI:
      https://ci.wildfly.org/project.html?projectId=WildFlyCore_PullRequest&testNameId=-1770791349410974648&tab=testDetails

      But it is sufficient to run combination of tests above on Windows to reproduce.

              jkalina@redhat.com Jan Kalina (Inactive)
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: