geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-1863) DiskRegionJUnitTest uses hard-coded ports
Date Tue, 06 Sep 2016 18:01:20 GMT

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

Kirk Lund updated GEODE-1863:
-----------------------------
    Description: 
DiskRegionJUnitTest is an IntegrationTest that uses hard-coded ports. This causes intermittent
failures with:

{noformat}:geode-core:integrationTest

com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest >testBridgeServerRunningInSynchPersistOnlyForIOExceptionCase
FAILED
    java.net.BindException: Failed to create server socket on  null[5,555]
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:814)
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:774)
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:738)
        at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:470)
        at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:323)
        at com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest.testBridgeServerRunningInSynchPersistOnlyForIOExceptionCase(DiskRegionJUnitTest.java:2215)

        Caused by:
        java.net.BindException: Address already in use
            at java.net.PlainSocketImpl.socketBind(Native Method)
            at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
            at java.net.ServerSocket.bind(ServerSocket.java:375)
            at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:811)
            ... 5 more

com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest >testBridgeServerStoppingInSynchPersistOnlyForIOExceptionCase
FAILED
    java.net.BindException: Failed to create server socket on  null[5,555]
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:814)
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:774)
        at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:738)
        at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:470)
        at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:323)
        at com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest.testBridgeServerStoppingInSynchPersistOnlyForIOExceptionCase
(DiskRegionJUnitTest.java:2103)

        Caused by:
        java.net.BindException: Address already in use
            at java.net.PlainSocketImpl.socketBind(Native Method)
            at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
            at java.net.ServerSocket.bind(ServerSocket.java:375)
            at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:811)
            ... 5 more

3247 tests completed, 2 failed, 175 skipped
{noformat}

> DiskRegionJUnitTest uses hard-coded ports
> -----------------------------------------
>
>                 Key: GEODE-1863
>                 URL: https://issues.apache.org/jira/browse/GEODE-1863
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Kirk Lund
>
> DiskRegionJUnitTest is an IntegrationTest that uses hard-coded ports. This causes intermittent
failures with:
> {noformat}:geode-core:integrationTest
> com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest >testBridgeServerRunningInSynchPersistOnlyForIOExceptionCase
FAILED
>     java.net.BindException: Failed to create server socket on  null[5,555]
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:814)
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:774)
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:738)
>         at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:470)
>         at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:323)
>         at com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest.testBridgeServerRunningInSynchPersistOnlyForIOExceptionCase(DiskRegionJUnitTest.java:2215)
>         Caused by:
>         java.net.BindException: Address already in use
>             at java.net.PlainSocketImpl.socketBind(Native Method)
>             at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
>             at java.net.ServerSocket.bind(ServerSocket.java:375)
>             at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:811)
>             ... 5 more
> com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest >testBridgeServerStoppingInSynchPersistOnlyForIOExceptionCase
FAILED
>     java.net.BindException: Failed to create server socket on  null[5,555]
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:814)
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:774)
>         at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:738)
>         at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:470)
>         at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:323)
>         at com.gemstone.gemfire.internal.cache.DiskRegionJUnitTest.testBridgeServerStoppingInSynchPersistOnlyForIOExceptionCase
> (DiskRegionJUnitTest.java:2103)
>         Caused by:
>         java.net.BindException: Address already in use
>             at java.net.PlainSocketImpl.socketBind(Native Method)
>             at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
>             at java.net.ServerSocket.bind(ServerSocket.java:375)
>             at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:811)
>             ... 5 more
> 3247 tests completed, 2 failed, 175 skipped
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message