[jboss-jira] [JBoss JIRA] (JGRP-1759) BecomeServerTest.testSendingOfMsgsOnUnconnectedChannel deadlocks
Richard Achmatowicz (JIRA)
issues at jboss.org
Thu Dec 19 15:00:33 EST 2013
[ https://issues.jboss.org/browse/JGRP-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932727#comment-12932727 ]
Richard Achmatowicz commented on JGRP-1759:
-------------------------------------------
Passing on Windows 7:
{noformat}
------------- testSendingOfMsgsOnUnconnectedChannel -----------
--> Creating rendezvous
--> B: installView() waiting on rendezvous until message has been received
--> A: sending message
--> B: installView() was unblocked
--> B: flushing queue (1 element(s))
A: received message from A: hello from A
B: received message from A: hello from A
A: [A|1] (2) [A, B] B: [A|1] (2) [A, B]
B: received message from B: This message would trigger an exception if the channel was not yet connected
A: received message from B: This message would trigger an exception if the channel was not yet connected
--> Deleting rendezvous
With org.jboss.byteman.verbose=true:
------------- testSendingOfMsgsOnUnconnectedChannel -----------
Rule.execute called for CreateRendezvous_2
HelperManager.install for helper class org.jboss.byteman.rule.helper.Helper
calling activated() for helper class org.jboss.byteman.rule.helper.Helper
Default helper activated
calling installed(CreateRendezvous) for helper classorg.jboss.byteman.rule.helper.Helper
Installed rule using default helper : CreateRendezvous
CreateRendezvous execute
--> Creating rendezvous
Rule.execute called for FlushQueue_4
HelperManager.install for helper class org.jboss.byteman.rule.helper.Helper
calling installed(FlushQueue) for helper classorg.jboss.byteman.rule.helper.Helper
Installed rule using default helper : FlushQueue
FlushQueue execute
Rule.execute called for MessageSending_1
HelperManager.install for helper class org.jboss.byteman.rule.helper.Helper
calling installed(MessageSending) for helper classorg.jboss.byteman.rule.helper.Helper
Installed rule using default helper : MessageSending
MessageSending execute
Rule.execute called for MessageReception_6
Rule.execute called for InstallView_0
HelperManager.install for helper class org.jboss.byteman.rule.helper.Helper
calling installed(InstallView) for helper classorg.jboss.byteman.rule.helper.Helper
Installed rule using default helper : InstallView
InstallView execute
HelperManager.install for helper class org.jgroups.tests.helpers.BecomeServerTestHelper
calling activated() for helper class org.jgroups.tests.helpers.BecomeServerTestHelper
Default helper activated
calling installed(MessageReception) for helper classorg.jgroups.tests.helpers.BecomeServerTestHelper
Installed rule using default helper : MessageReception
MessageReception execute()
--> B: installView() waiting on rendezvous until message has been received
--> A: sending message
--> B: installView() was unblocked
Rule.execute called for FlushQueue_4
A: received message from A: hello from A
FlushQueue execute
--> B: flushing queue (1 element(s))
A: [A|1] (2) [A, B]
B: [A|1] (2) [A, B]
Rule.execute called for DeleteRendezvous_3
HelperManager.install for helper class org.jboss.byteman.rule.helper.Helper
calling installed(DeleteRendezvous) for helper classorg.jboss.byteman.rule.helper.Helper
Installed rule using default helper : DeleteRendezvous
DeleteRendezvous execute
--> Deleting rendezvous
B: received message from A: hello from A
B: received message from B: This message would trigger an exception if the channel was not yet connected
{noformat}
> BecomeServerTest.testSendingOfMsgsOnUnconnectedChannel deadlocks
> ----------------------------------------------------------------
>
> Key: JGRP-1759
> URL: https://issues.jboss.org/browse/JGRP-1759
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Environment: Windows 2008, x86_64
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
>
> Running the Byteman tests in the QA lab, this test deadlocks in a repeatable fashion and causes the testsuite to hang.
> The test makes use of the Byteman rendezvous built-in function to suspend (and reorder) thread execution. It appears that with threads re-ordered, certain parts of JGroups block in such a way that no progress is made and the test deadlocks.
> .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list