You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Dénes Bodó (Jira)" <ji...@apache.org> on 2021/08/08 20:24:00 UTC

[jira] [Updated] (OOZIE-3633) TestIntegrationGitActionExecutor can fail due to "Address already in use"

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

Dénes Bodó updated OOZIE-3633:
------------------------------
    Attachment: OOZIE-3633-001.patch

> TestIntegrationGitActionExecutor can fail due to "Address already in use"
> -------------------------------------------------------------------------
>
>                 Key: OOZIE-3633
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3633
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 5.2.1
>            Reporter: Dénes Bodó
>            Assignee: Dénes Bodó
>            Priority: Major
>         Attachments: OOZIE-3633-001.patch
>
>
> When executed unit tests I ran into "Address already in use" issue when TestIntegrationGitActionExecutor ran:
> {noformat}
> java.net.BindException: Address already in use (Bind failed)
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
> 	at java.net.ServerSocket.bind(ServerSocket.java:375)
> 	at org.eclipse.jgit.transport.Daemon.start(Daemon.java:373)
> 	at org.apache.oozie.action.hadoop.GitServer.start(GitServer.java:76)
> ... {noformat}
> The root cause may be the approach how the test case checks and uses the port.



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