[jboss-jira] [JBoss JIRA] (JGRP-1801) DuplicateTest fails when testing OOB multicast to all three senders
Richard Achmatowicz (JIRA)
issues at jboss.org
Tue Mar 25 18:11:12 EDT 2014
[ https://issues.jboss.org/browse/JGRP-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12956308#comment-12956308 ]
Richard Achmatowicz commented on JGRP-1801:
-------------------------------------------
I managed to reproduce this issue locally on my Windows 7 partition, which, thankfully, is also slow as the machines in the QA lab.
To recap, the failures occur for both TCP and UDP, and involve OOB multicast messages. Messages from one of the senders do not get through. Here are some new debugging results:
- disable the OOB thread pool, the tests always pass on both UDP and TCP
- enable the OOB thread pool, I always seem to get at least one failure on both TCP and UDP
So, it appears this issue has something to do with use of the OOB thread pool.
I also noticed that the assertion which is failing (the assertion which checks that at least some messages from all three senders has arrived) is checked after 10 seconds. Because this is not a performance test, there is no harm in extending this timeout to, say, 60 seconds.
> DuplicateTest fails when testing OOB multicast to all three senders
> -------------------------------------------------------------------
>
> Key: JGRP-1801
> URL: https://issues.jboss.org/browse/JGRP-1801
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.13
> Environment: Windows (18), Solaris (2), RHEL(1) where (x) is the number of failures seen
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.14
>
>
> DuplicateTest does the following:
> - creates three channels containing the DUPL layer called c1, c2, c3
> - DUPL is used to duplicate messages sent
> - channel receiver for channel each keeps a map of messages received from each sender
> - channels send messages: regular, OOB, or mixed
> - the test checks that the messages received by each channel are correct in number and in order
> The test testOOBMuloticastToAll3Senders is failing regularly on multple platforms. The test makes each of the channels send OOB multicast messages to the group, but only two of three members ever end up receiving the multicast messages. Al example of the failure:
> {noformat}
> Error Message
> expected size=3, msgs: [C2, C1]
> Stacktrace
> java.lang.AssertionError
> at org.jgroups.tests.DuplicateTest.check(DuplicateTest.java:217)
> at org.jgroups.tests.DuplicateTest.testOOBMulticastToAll3Senders(DuplicateTest.java:123)
> {noformat}
--
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