]
Brian Stansberry resolved WFCORE-3539.
--------------------------------------
Resolution: Duplicate Issue
This is a dup of WFCORE-3302, caused by REM3-303. If you have any ideas beyond the hacky
Flunky controller tests on Windows: Address already in use
----------------------------------------------------------
Key: WFCORE-3539
URL:
https://issues.jboss.org/browse/WFCORE-3539
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Affects Versions: 4.0.0.Alpha6
Reporter: Jan Kalina
Assignee: Jan Kalina
Following combination of tests will fail *sometimes* on "Address already in use:
bind" on windows:
{code}
mvn test
-Dtest=org.jboss.as.controller.test.RemoteChannelProxyControllerTestCase,org.jboss.as.controller.test.TransactionalProtocolClientTestCase
{code}
{code}
[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)
{code}
This happens pretty often on windows CI:
https://ci.wildfly.org/project.html?projectId=WildFlyCore_PullRequest&...
But it is sufficient to run combination of tests above on Windows to reproduce.