You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/30 21:07:00 UTC

[jira] [Commented] (PROTON-2421) org.apache.qpid.protonj2.client.transport.SslTransportTest: java.net.BindException: Address already in use

    [ https://issues.apache.org/jira/browse/PROTON-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406942#comment-17406942 ] 

ASF subversion and git services commented on PROTON-2421:
---------------------------------------------------------

Commit e6d8f6836b098cd777eb8c664f579ddbd911d3d1 in qpid-protonj2's branch refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=e6d8f68 ]

PROTON-2421 Get the server port from netty unless one is configured

Avoid race to obtain server port by using netty API to obtain the server
port if none is explicitly configured on start.

> org.apache.qpid.protonj2.client.transport.SslTransportTest: java.net.BindException: Address already in use
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2421
>                 URL: https://issues.apache.org/jira/browse/PROTON-2421
>             Project: Qpid Proton
>          Issue Type: Test
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M3
>            Reporter: Jiri Daněk
>            Assignee: Timothy A. Bish
>            Priority: Major
>
> https://github.com/apache/qpid-protonj2/pull/2/checks?check_run_id=3436852336#step:5:598
> {noformat}
> [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ protonj2-client ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.qpid.protonj2.client.TransportOptionsTest
> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.825 s - in org.apache.qpid.protonj2.client.TransportOptionsTest
> [INFO] Running org.apache.qpid.protonj2.client.util.ThreadPoolUtilsTest
> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 s - in org.apache.qpid.protonj2.client.util.ThreadPoolUtilsTest
> [INFO] Running org.apache.qpid.protonj2.client.util.RecoonectLocationPoolTest
> [INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.apache.qpid.protonj2.client.util.RecoonectLocationPoolTest
> [INFO] Running org.apache.qpid.protonj2.client.util.StopWatchTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.apache.qpid.protonj2.client.util.StopWatchTest
> [INFO] Running org.apache.qpid.protonj2.client.util.IdGeneratorTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.apache.qpid.protonj2.client.util.IdGeneratorTest
> [INFO] Running org.apache.qpid.protonj2.client.util.IOExceptionSupportTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.qpid.protonj2.client.util.IOExceptionSupportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.OpenSslTransportTest
> Warning:  Tests run: 45, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 3.304 s - in org.apache.qpid.protonj2.client.transport.OpenSslTransportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.TcpTransportTest
> Warning:  Tests run: 32, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 0.685 s - in org.apache.qpid.protonj2.client.transport.TcpTransportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.X509AliasKeyManagerTest
> [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in org.apache.qpid.protonj2.client.transport.X509AliasKeyManagerTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.NettyIOContextTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.apache.qpid.protonj2.client.transport.NettyIOContextTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.SecureWebSocketTransportTest
> Warning:  Tests run: 43, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 1.944 s - in org.apache.qpid.protonj2.client.transport.SecureWebSocketTransportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.WebSocketTransportTest
> Warning:  Tests run: 42, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 1.172 s - in org.apache.qpid.protonj2.client.transport.WebSocketTransportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.SslSupportTest
> [INFO] Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.95 s - in org.apache.qpid.protonj2.client.transport.SslSupportTest
> [INFO] Running org.apache.qpid.protonj2.client.transport.SslTransportTest
> Error:  Tests run: 42, Failures: 0, Errors: 1, Skipped: 6, Time elapsed: 1.341 s <<< FAILURE! - in org.apache.qpid.protonj2.client.transport.SslTransportTest
> Error:  testMultipleDataPacketsSentAreReceived  Time elapsed: 0.003 s  <<< ERROR!
> java.net.BindException: Address already in use
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org