[jboss-jira] [JBoss JIRA] (JGRP-1812) ProgrammaticApiTest.testSharedTransport fails to receive correct number of messages
Richard Achmatowicz (JIRA)
issues at jboss.org
Mon Mar 24 11:45:13 EDT 2014
[ https://issues.jboss.org/browse/JGRP-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12955703#comment-12955703 ]
Richard Achmatowicz commented on JGRP-1812:
-------------------------------------------
By the way, this is what I see on a passing run:
{noformat}
------------- testSharedTransport -----------
43652 [WARN] UDP: - JGRP000014: the receive buffer of socket MulticastSocket was set to 500KB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
-------------------------------------------------------------------
GMS: address=A, cluster=cluster-one, physical address=10.3.239.189:56487
-------------------------------------------------------------------
47050 [TRACE] GMS: - A: no initial members discovered: creating group as first member
47051 [DEBUG] GMS: - A: installing view [A|0] [A]
47052 [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.3.239.189:56487
-------------------------------------------------------------------
50326 [TRACE] GMS: - B: no initial members discovered: creating group as first member
50327 [DEBUG] GMS: - B: installing view [B|0] [B]
50328 [DEBUG] GMS: - created group (first member). My view is [B|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
[A]<< hello-0
[B]<< hello-0
[A]<< hello-1
[B]<< hello-1
[A]<< hello-2
[B]<< hello-2
[A]<< hello-3
[B]<< hello-3
[A]<< hello-4
[B]<< hello-4
[A]<< hello-5
[A]<< hello-6
[A]<< hello-7
[A]<< hello-8
[A]<< hello-9
50832 [TRACE] GMS: - view [B|1] [] is empty: will not multicast it (last view)
50833 [TRACE] GMS: - view [A|1] [] is empty: will not multicast it (last view)
{noformat}
> 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
More information about the jboss-jira
mailing list