geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-978) CI Failure: CacheXml70GatewayDUnitTest.testGatewayReceiver failed with BindException
Date Tue, 19 Apr 2016 18:07:25 GMT

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

ASF subversion and git services commented on GEODE-978:
-------------------------------------------------------

Commit fb96284008b25591e37c03b0e0848d995b88a208 in incubator-geode's branch refs/heads/develop
from [~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=fb96284 ]

GEODE-978: Increasing the port range used in CacheXmlGateway tests

The tests were previously hardcoding a very narrow range of ports.


> CI Failure: CacheXml70GatewayDUnitTest.testGatewayReceiver failed with BindException
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-978
>                 URL: https://issues.apache.org/jira/browse/GEODE-978
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: Barry Oglesby
>              Labels: CI, Flaky
>
> Geode_develop_DistributedTests
> Private Build #1613 (Feb 14, 2016 7:09:43 AM)
> Revision: 28ee7c15426c3cc6b43204d28ccf9ff17cafdab4
> Error Message
> {noformat}
> com.gemstone.gemfire.GemFireIOException: While starting cache server  CacheServer on
port=54332 client subscription config policy=none client subscription config capacity=1 client
subscription config overflow directory=.
> {noformat}
> Stacktrace
> {noformat}
> com.gemstone.gemfire.GemFireIOException: While starting cache server  CacheServer on
port=54332 client subscription config policy=none client subscription config capacity=1 client
subscription config overflow directory=.
> 	at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:653)
> 	at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:567)
> 	at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:355)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4385)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1361)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1173)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:797)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:785)
> 	at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:179)
> 	at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:170)
> 	at com.gemstone.gemfire.cache30.CacheTestCase.createCache(CacheTestCase.java:111)
> 	at com.gemstone.gemfire.cache30.CacheTestCase.getCache(CacheTestCase.java:280)
> 	at com.gemstone.gemfire.cache30.CacheTestCase.getCache(CacheTestCase.java:259)
> 	at com.gemstone.gemfire.cache30.CacheXmlTestCase.testXml(CacheXmlTestCase.java:137)
> 	at com.gemstone.gemfire.cache30.CacheXmlTestCase.testXml(CacheXmlTestCase.java:114)
> 	at com.gemstone.gemfire.cache.CacheXml70GatewayDUnitTest.testGatewayReceiver(CacheXml70GatewayDUnitTest.java:112)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at junit.framework.TestCase.runBare(TestCase.java:141)
> 	at junit.framework.TestResult$1.protect(TestResult.java:122)
> 	at junit.framework.TestResult.runProtected(TestResult.java:142)
> 	at junit.framework.TestResult.run(TestResult.java:125)
> 	at junit.framework.TestCase.run(TestCase.java:129)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
> 	at junit.framework.TestSuite.run(TestSuite.java:247)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
> 	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> 	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> 	at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
> 	at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
> 	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
> 	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> 	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> 	at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
> 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
> 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.net.BindException: Failed to create server socket on  null[54,332]
> 	at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:846)
> 	at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:776)
> 	at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:472)
> 	at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:339)
> 	at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:647)
> 	... 54 more
> 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:843)
> 	... 58 more
> {noformat}



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

Mime
View raw message