[jboss-jira] [JBoss JIRA] Commented: (JGRP-1040) Provide better seperation of test case output in the logs

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Wed Sep 9 16:07:36 EDT 2009


    [ https://jira.jboss.org/jira/browse/JGRP-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12485016#action_12485016 ] 

Richard Achmatowicz commented on JGRP-1040:
-------------------------------------------

Good question...
Doesn't your test listener which collects output from each test handle that? 
I seem to remember that you dealt with that issue using local thread storage. If not, i'll have to go back and check.


> Provide better seperation of test case output in the logs
> ---------------------------------------------------------
>
>                 Key: JGRP-1040
>                 URL: https://jira.jboss.org/jira/browse/JGRP-1040
>             Project: JGroups
>          Issue Type: Feature Request
>    Affects Versions: 2.8
>            Reporter: Richard Achmatowicz
>            Assignee: Richard Achmatowicz
>            Priority: Minor
>             Fix For: 2.8
>
>
> It's difficult to read logging output when the output from all test methods within a test class is streamed together. 
> Added a small line separator to that output which formerly looked like this:
> org.jgroups.tests.ConnectTest:
> 27654 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 27685 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at ec7c94 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 27685 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1e6f7cb was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-22283, cluster=ConnectTest.testgroup-5, physical address=3ffe:ffff:100:f101:0:0:0:1:56075
> -------------------------------------------------------------------
> 29779 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 29779 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 1b8aeb1 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 29779 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1d4ea6c was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-20311, cluster=ConnectTest.testgroup-6, physical address=3ffe:ffff:100:f101:0:0:0:1:33651
> -------------------------------------------------------------------
> 31785 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 31786 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 2f06b6 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 31786 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 161c602 was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-20311, cluster=ConnectTest.testgroup-5, physical address=3ffe:ffff:100:f101:0:0:0:1:40461
> -------------------------------------------------------------------
> 31913 [WARN] NAKACK: - localhost.localdomain-20311: discarded message from non-member localhost.localdomain-22283, my view is [localhost.localdomain-20311|0] [localhost.localdomain-20311]
> 32554 [WARN] UDP: - could not bind to /235.10.10.54 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 32555 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 548719 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 32556 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1719d5b was set to 25MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> -------------------------------------------------------------------
> now looks like this:
> org.jgroups.tests.ConnectTest:
> ================ Starting test testDisconnectConnectSendTwo ================
> 27654 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 27685 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at ec7c94 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 27685 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1e6f7cb was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-22283, cluster=ConnectTest.testgroup-5, physical address=3ffe:ffff:100:f101:0:0:0:1:56075
> -------------------------------------------------------------------
> 29779 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 29779 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 1b8aeb1 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 29779 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1d4ea6c was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-20311, cluster=ConnectTest.testgroup-6, physical address=3ffe:ffff:100:f101:0:0:0:1:33651
> -------------------------------------------------------------------
> 31785 [WARN] UDP: - could not bind to /235.10.10.47 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 31786 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 2f06b6 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 31786 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 161c602 was set to 25MB, but the OS only allocated 16.78MB. 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=localhost.localdomain-20311, cluster=ConnectTest.testgroup-5, physical address=3ffe:ffff:100:f101:0:0:0:1:40461
> -------------------------------------------------------------------
> 31913 [WARN] NAKACK: - localhost.localdomain-20311: discarded message from non-member localhost.localdomain-22283, my view is [localhost.localdomain-20311|0] [localhost.localdomain-20311]
> ================ Starting test testDisconnectConnectTwo ================
> 32554 [WARN] UDP: - could not bind to /235.10.10.54 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).
> Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details). 
> Exception was: java.net.BindException: Cannot assign requested address
> 32555 [WARN] UDP: - receive buffer of socket java.net.DatagramSocket at 548719 was set to 20MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> 32556 [WARN] UDP: - receive buffer of socket java.net.MulticastSocket at 1719d5b was set to 25MB, but the OS only allocated 16.78MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
> -------------------------------------------------------------------
> Just added the following to ChannelTestBase:
>     @BeforeMethod
>     protected void startTestHeader(java.lang.reflect.Method m) {
>     	System.out.println("\n================ Starting test " + m.getName() + " ================\n");
>     }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list