[JBoss JIRA] (JGRP-1802) OverlappingUnicastMergeTest
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1802?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-1802:
---------------------------
Fix Version/s: 3.5
> OverlappingUnicastMergeTest
> ---------------------------
>
> Key: JGRP-1802
> URL: https://issues.jboss.org/browse/JGRP-1802
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.13
> Environment: Solaris, RHEL
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.13, 3.5
>
>
> OverlappingUnicastMergeTest does the following:
> - set up three channels a,b,c with the layers MERGE2, VERIFY_SUSPECT and FC removed
> - the receiver of each channel will look at all incoming messages: if mcast, ignore it; if unicast, add to the list of messages received
> - inject some new view into the channels which represents a view configuration which should be recovered from
> - send messages to the channels and check that the messages are received, despite the injected view
> OverlappingUnicastMergeTest this test is failing in a number of ways (i.e. many of the test methods are failing within the test class on multiple platforms.
--
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
12 years, 2 months
[JBoss JIRA] (JGRP-1802) OverlappingUnicastMergeTest
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1802?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1802:
-------------------------------------------
In the test setup, it would also be safer to use Util.waitUntilAllChannelHaveSameSize() rather than an immediate check on view formation.
> OverlappingUnicastMergeTest
> ---------------------------
>
> Key: JGRP-1802
> URL: https://issues.jboss.org/browse/JGRP-1802
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.13
> Environment: Solaris, RHEL
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.13
>
>
> OverlappingUnicastMergeTest does the following:
> - set up three channels a,b,c with the layers MERGE2, VERIFY_SUSPECT and FC removed
> - the receiver of each channel will look at all incoming messages: if mcast, ignore it; if unicast, add to the list of messages received
> - inject some new view into the channels which represents a view configuration which should be recovered from
> - send messages to the channels and check that the messages are received, despite the injected view
> OverlappingUnicastMergeTest this test is failing in a number of ways (i.e. many of the test methods are failing within the test class on multiple platforms.
--
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
12 years, 2 months
[JBoss JIRA] (JGRP-1802) OverlappingUnicastMergeTest
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1802?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1802:
-------------------------------------------
Looking over the code in checkReceivedMessages, it seems there is a mixup in which receivers are used to check message arrival.
In the setup for the test, you define three receivers ra, rb, rc. But in checkReceivedMessages(), you send the messages and then create three receivers which are used to check message receipt:
{noformat}
private void sendAndCheckMessages(int num_msgs, JChannel ... channels) throws Exception {
ra.clear(); rb.clear(); rc.clear();
// 1. send unicast messages
Set<Address> mbrs=new HashSet<Address>(channels.length);
for(JChannel ch: channels)
mbrs.add(ch.getAddress());
for(JChannel ch: channels) {
Address addr=ch.getAddress();
for(Address dest: mbrs) {
for(int i=1; i <= num_msgs; i++) {
ch.send(dest, "unicast msg #" + i + " from " + addr);
}
}
}
int total_msgs=num_msgs * channels.length;
MyReceiver[] receivers=new MyReceiver[channels.length];
for(int i=0; i < channels.length; i++)
receivers[i]=(MyReceiver)channels[i].getReceiver();
checkReceivedMessages(total_msgs, receivers);
}
{noformat}
Isn't it possible that messages will be received by channels before these receivers are installed?
Would this not be safer?
{noformat}
private void sendAndCheckMessages(int num_msgs, JChannel ... channels) throws Exception {
ra.clear(); rb.clear(); rc.clear();
// send unicast messages
Set<Address> mbrs=new HashSet<Address>(channels.length);
for(JChannel ch: channels)
mbrs.add(ch.getAddress());
for(JChannel ch: channels) {
Address addr=ch.getAddress();
for(Address dest: mbrs) {
for(int i=1; i <= num_msgs; i++) {
ch.send(dest, "unicast msg #" + i + " from " + addr);
}
}
}
// check unicast message arrival
int total_msgs=num_msgs * channels.length;
checkReceivedMessages(total_msgs, ra,rb,rc);
}
{noformat}
> OverlappingUnicastMergeTest
> ---------------------------
>
> Key: JGRP-1802
> URL: https://issues.jboss.org/browse/JGRP-1802
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.13
> Environment: Solaris, RHEL
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.13
>
>
> OverlappingUnicastMergeTest does the following:
> - set up three channels a,b,c with the layers MERGE2, VERIFY_SUSPECT and FC removed
> - the receiver of each channel will look at all incoming messages: if mcast, ignore it; if unicast, add to the list of messages received
> - inject some new view into the channels which represents a view configuration which should be recovered from
> - send messages to the channels and check that the messages are received, despite the injected view
> OverlappingUnicastMergeTest this test is failing in a number of ways (i.e. many of the test methods are failing within the test class on multiple platforms.
--
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
12 years, 2 months
[JBoss JIRA] (JBJCA-1138) TransactionSynchronizer leaks memory and causes deadlocks in jacorb
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1138?page=com.atlassian.jira.plugin... ]
Jesper Pedersen updated JBJCA-1138:
-----------------------------------
Fix Version/s: (was: 1.0.24.Final)
Priority: Major (was: Blocker)
> TransactionSynchronizer leaks memory and causes deadlocks in jacorb
> -------------------------------------------------------------------
>
> Key: JBJCA-1138
> URL: https://issues.jboss.org/browse/JBJCA-1138
> Project: IronJacamar
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.23.Final
> Reporter: Andrey Smirnov
> Assignee: Jesper Pedersen
>
> Seems like TransactionSynchronizer has been rolled back to state it was in August. I think this was caused by little typo in commit 469b4c303dd0d5c39f3476a5972556d8b9537b44
> 296: Record record = records.get(tx);
> But 'records' map uses TransactionKey as key and above line should be written as
> 296:TransactionKey key = new TransactionKey(tx);
> 297: Record record = records.get(key);
> I've checked 1.0.22 containing applied fix and mem-leaks and deadlocks are all gone
--
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
12 years, 2 months
[JBoss JIRA] (JGRP-1802) OverlappingUnicastMergeTest
by Richard Achmatowicz (JIRA)
Richard Achmatowicz created JGRP-1802:
-----------------------------------------
Summary: OverlappingUnicastMergeTest
Key: JGRP-1802
URL: https://issues.jboss.org/browse/JGRP-1802
Project: JGroups
Issue Type: Bug
Affects Versions: 3.2.13
Environment: Solaris, RHEL
Reporter: Richard Achmatowicz
Assignee: Bela Ban
Fix For: 3.2.13
OverlappingUnicastMergeTest does the following:
- set up three channels a,b,c with the layers MERGE2, VERIFY_SUSPECT and FC removed
- the receiver of each channel will look at all incoming messages: if mcast, ignore it; if unicast, add to the list of messages received
- inject some new view into the channels which represents a view configuration which should be recovered from
- send messages to the channels and check that the messages are received, despite the injected view
OverlappingUnicastMergeTest this test is failing in a number of ways (i.e. many of the test methods are failing within the test class on multiple platforms.
--
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
12 years, 2 months
[JBoss JIRA] (JGRP-1802) OverlappingUnicastMergeTest
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1802?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1802:
-------------------------------------------
Here are links to some of the example failures:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-JGro...
> OverlappingUnicastMergeTest
> ---------------------------
>
> Key: JGRP-1802
> URL: https://issues.jboss.org/browse/JGRP-1802
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.13
> Environment: Solaris, RHEL
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.13
>
>
> OverlappingUnicastMergeTest does the following:
> - set up three channels a,b,c with the layers MERGE2, VERIFY_SUSPECT and FC removed
> - the receiver of each channel will look at all incoming messages: if mcast, ignore it; if unicast, add to the list of messages received
> - inject some new view into the channels which represents a view configuration which should be recovered from
> - send messages to the channels and check that the messages are received, despite the injected view
> OverlappingUnicastMergeTest this test is failing in a number of ways (i.e. many of the test methods are failing within the test class on multiple platforms.
--
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
12 years, 2 months