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] [Commented] (GEODE-596) CI Failure: MemoryThresholdsOffHeapDUnitTest.testPR_RemotePutRejectionCacheClose
Date Tue, 19 Apr 2016 04:20:25 GMT

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

Kirk Lund commented on GEODE-596:
---------------------------------

Is it possible that port reuse is failing on some of our CI job machines? AvailablePort tries
random ports by creating ServerSockets on the port, then releasing it for the test to use
it. Maybe the reuse occurs faster than the machine is configured for port reuse (in OS kernel?).

> CI Failure: MemoryThresholdsOffHeapDUnitTest.testPR_RemotePutRejectionCacheClose
> --------------------------------------------------------------------------------
>
>                 Key: GEODE-596
>                 URL: https://issues.apache.org/jira/browse/GEODE-596
>             Project: Geode
>          Issue Type: Bug
>          Components: offheap
>            Reporter: Dan Smith
>              Labels: CI, Flaky
>
> Revision: 25c8f0cc48e831d6afb459767a42c1c98fb47996 
> {noformat}
> dunit.RMIException: While invoking com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest$44.call
in VM 3 running on Host cc1-rh6.gemstone.com with 4 VMs
> 	at dunit.VM.invoke(VM.java:369)
> 	at dunit.VM.invoke(VM.java:312)
> 	at dunit.VM.invoke(VM.java:280)
> 	at com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest.startCacheServer(MemoryThresholdsOffHeapDUnitTest.java:1607)
> 	at com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest.prRemotePutRejection(MemoryThresholdsOffHeapDUnitTest.java:767)
> 	at com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest.testPR_RemotePutRejectionCacheClose(MemoryThresholdsOffHeapDUnitTest.java:732)
> 	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[20,139]
> 	at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:838)
> 	at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:768)
> 	at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:474)
> 	at com.gemstone.gemfire.internal.cache.CacheServerImpl.start(CacheServerImpl.java:339)
> 	at com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest$44.call(MemoryThresholdsOffHeapDUnitTest.java:1637)
> 	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 hydra.MethExecutor.executeObject(MethExecutor.java:267)
> 	at dunit.standalone.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:77)
> 	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:200)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:197)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$1/689007143.run(Unknown
Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> 	... 3 more
> Caused by: java.net.BindException: Address already in use
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
> 	at java.net.ServerSocket.bind(ServerSocket.java:375)
> 	at com.gemstone.gemfire.internal.SocketCreator.createServerSocket(SocketCreator.java:835)
> 	... 27 more
> {noformat}
> Since there is a failure from the AvailablePortHelperJUnitTest - GEODE-593, it is possible
this is an AvailablePortHelper issue, but I've seen this test fail twice and no other dunit
tests are failing with port conficts.



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

Mime
View raw message