]
Bela Ban commented on JGRP-1040:
--------------------------------
How do you separate tests when they're not sequential ? @Test(sequential=false) ?
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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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: