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-867) ConcurrentSerialGatewaySenderOperationsDUnitTest.testStartPauseResumeSerialGatewaySender is hanging
Date Thu, 04 Feb 2016 01:20:40 GMT

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

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

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

GEODE-867: Reapplying changes to pauseSender to wait for the pause

This reverts commit 09bd5307994bd970bdf3bf4f1d5f302021e8b8e6. In
addition to reapplying the changes, I fixed the issue that required me
to revert those changes. Secondary gateway senders of serial gateways
should not wait for the pause flag to become true, because secondary
dispatchers are already paused in waiting to become primary.


> ConcurrentSerialGatewaySenderOperationsDUnitTest.testStartPauseResumeSerialGatewaySender
is hanging
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-867
>                 URL: https://issues.apache.org/jira/browse/GEODE-867
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>
> This test is hanging on the wan_cq_donation branch, due to the changes in a7249514eb2f09e5ca4920e7dc7aedfce4c2fe12.
In that revision, I changed pauseSender to wait for the sender to pause. But it looks like
for whatever reason, the sender is never getting paused in this scenario
> Here's where it's stuck
> {noformat}
> "main" #1 prio=5 os_prio=0 tid=0x00007ff87c010000 nid=0x5a74 runnable [0x00007ff884b3c000]
>    java.lang.Thread.State: RUNNABLE
> 	at java.net.SocketInputStream.socketRead0(Native Method)
> 	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:170)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> 	- locked <0x000000078f7deb88> (a java.io.BufferedInputStream)
> 	at java.io.DataInputStream.readByte(DataInputStream.java:265)
> 	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
> 	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
> 	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
> 	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
> 	at com.sun.proxy.$Proxy25.executeMethodOnClass(Unknown Source)
> 	at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:141)
> 	at com.gemstone.gemfire.internal.cache.wan.concurrent.ConcurrentSerialGatewaySenderOperationsDUnitTest.testStartPauseResumeSerialGatewaySender(ConcurrentSerialGatewaySenderOperationsDUnitTest.java:135)
> 	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.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
> {noformat}



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

Mime
View raw message