You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/16 14:32:00 UTC

[jira] [Updated] (ZOOKEEPER-3987) Build failures when running surefire tests concurrently due to bind address already in use

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ZOOKEEPER-3987:
--------------------------------------
    Labels: pull-request-available  (was: )

> Build failures when running surefire tests concurrently due to bind address already in use
> ------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3987
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3987
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.7.0
>            Reporter: Christopher Tubbs
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It seems that many of the surefire/JUnit tests reuse the same bind address. This causes many tests to fail due to a bind address being already in use.
> A recent run (using {{-Dsurefire-forkcount=2}} shows several tests that failed for this reason. These same tests do not fail when forkcount is 1 (and they don't always fail when the forkcount is higher... just sometimes, depending on timing):
> {code}
> [ERROR] Errors: 
> [ERROR]   SaslAuthTest.testZKOperationsAfterClientSaslAuthFailure:172 » Timeout Failed t...
> [ERROR]   SnapshotDigestTest.testSnapshotDigest:86->reloadSnapshotAndCheckDigest:190 » Runtime
> [ERROR]   CloseSessionTxnTest.testCloseSessionTxnCompatile:44->testCloseSessionWithDifferentConfig:87->QuorumPeerTestBase.waitForOne:536 » Runtime
> [ERROR]   QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss:784->QuorumPeerTestBase.waitForOne:536 » Runtime
> [ERROR]   ChrootAsyncTest.setUp:38->AsyncOpsTest.setUp:47->ClientBase.setUp:478->ClientBase.setUpWithServerId:503->ClientBase.startServer:519->ClientBase.createNewServerInstance:429 » Bind
> [ERROR]   GetChildren2Test.setUp:42->ClientBase.setUp:478->ClientBase.setUpWithServerId:503->ClientBase.startServer:519->ClientBase.createNewServerInstance:429 » Bind
> [ERROR]   SaslKerberosAuthOverSSLTest.testAuth » Bind Address already in use
> [ERROR]   UnsupportedAddWatcherTest.setUp:105->ClientBase.setUp:478->ClientBase.setUpWithServerId:503->ClientBase.startServer:519->ClientBase.createNewServerInstance:429 » Bind
> [INFO] 
> [ERROR] Tests run: 2846, Failures: 2, Errors: 8, Skipped: 4
> {code}



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