[
https://issues.jboss.org/browse/JGRP-1812?page=com.atlassian.jira.plugin....
]
Richard Achmatowicz commented on JGRP-1812:
-------------------------------------------
One example of output from a failed instance of the test:
{noformat}
------------- testSharedTransport -----------
-------------------------------------------------------------------
GMS: address=A, cluster=cluster-one, physical address=10.16.92.26:49627
-------------------------------------------------------------------
111009 [TRACE] GMS: - A: no initial members discovered: creating group as first member
111009 [DEBUG] GMS: - A: installing view [A|0] [A]
111010 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is
org.jgroups.protocols.pbcast.CoordGmsImpl
-------------------------------------------------------------------
GMS: address=B, cluster=cluster-two, physical address=10.16.92.26:49627
-------------------------------------------------------------------
112579 [TRACE] GMS: - A: new members=[A], suspected=[], leaving=[], new view: [A|1] [A,
A]
112579 [TRACE] GMS: - A: mcasting view [A|1] [A, A] (2 mbrs)
112580 [DEBUG] GMS: - A: installing view [A|1] [A, A]
112581 [TRACE] GMS: - A: received all 1 ACKs from members for view [A|1]
112611 [TRACE] GMS: - A: received all ACKs (1) from joiners for view [A|1]
114019 [TRACE] GMS: - B: initial_mbrs are B
114019 [DEBUG] GMS: - election results: {}
114019 [TRACE] GMS: - could not determine coordinator from responses [B, view_id=,
is_server=false, is_coord=false, logical_name=B, physical_addrs=10.16.92.90:53759]
114019 [TRACE] GMS: - clients to choose new coord from are: [B, B]
114019 [TRACE] GMS: - I (B) am not the first of the clients, waiting for another client to
become coordinator
[A]<< hello-0
[A]<< hello-1
[A]<< hello-2
[A]<< hello-3
[A]<< hello-4
[A]<< hello-5
[A]<< hello-6
[A]<< hello-7
[A]<< hello-8
[A]<< hello-9
116116 [TRACE] GMS: - A: new members=[], suspected=[], leaving=[A], new view: [A|2] [A]
116116 [TRACE] GMS: - A: mcasting view [A|2] [A] (1 mbrs)
116116 [DEBUG] GMS: - A: installing view [A|2] [A]
116118 [TRACE] GMS: - A: received all 1 ACKs from members for view [A|2]
117529 [TRACE] GMS: - B: initial_mbrs are B
117529 [DEBUG] GMS: - election results: {}
117529 [TRACE] GMS: - could not determine coordinator from responses [B, view_id=,
is_server=false, is_coord=false, logical_name=B, physical_addrs=10.16.92.90:53759]
117529 [TRACE] GMS: - clients to choose new coord from are: [B, B]
117529 [TRACE] GMS: - I (B) am not the first of the clients, waiting for another client to
become coordinator
121039 [TRACE] GMS: - B: no initial members discovered: creating group as first member
121039 [DEBUG] GMS: - B: installing view [B|0] [B]
121039 [DEBUG] GMS: - created group (first member). My view is [B|0], impl is
org.jgroups.protocols.pbcast.CoordGmsImpl
[A]<< hello-0
[A]<< hello-1
[A]<< hello-2
[A]<< hello-3
[A]<< hello-4
[A]<< hello-5
[A]<< hello-6
[A]<< hello-7
[A]<< hello-8
121040 [WARN] NAKACK2: - JGRP000011: B: dropped message 1 from non-member B (view=[B|0]
[B]) (received 5 identical messages from B in the last 0 ms)
[A]<< hello-9
[B]<< hello-0
[B]<< hello-1
[B]<< hello-2
[B]<< hello-3
[B]<< hello-4
131043 [TRACE] GMS: - view [B|1] [] is empty: will not multicast it (last view)
131043 [TRACE] GMS: - view [A|3] [] is empty: will not multicast it (last view)
{noformat}
I'm not quite sure what the discovery arrangements are for shared transport nor the
mapping of channel names to memberships. It's a little hard to follow :-)
ProgrammaticApiTest.testSharedTransport fails to receive correct
number of messages
-----------------------------------------------------------------------------------
Key: JGRP-1812
URL:
https://issues.jboss.org/browse/JGRP-1812
Project: JGroups
Issue Type: Bug
Affects Versions: 3.2.14
Environment: RHEL, Solaris
Reporter: Richard Achmatowicz
Assignee: Bela Ban
Fix For: 3.2.14
ProgrammaticApiTest tests the use of the API for creating and configuring channels. One
such test testSharedTransport tests the creation and use of a stack with a shared
transport. This test does the following:
- creates two channels A and B
- creates a UDP-based shared transport stack
- assigns the same stack to both channels
- channel A connects to group cluster-one; channel B connects to group cluster-two
- channel A multicasts 10 messages to its group; channel B multicasts 5 messages to its
group
- the test then waits for the correct number of multicast messages to arrive
Problem:the test is failing because the receiver on channel A is receiving 20 messages
instead of 10 messages.
This test fails intermittently, but fairly regularly.
--
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