The following tests failed in the JDK22 CI:
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/SetLoopbackModeIPv4.java
java/net/DatagramSocket/DatagramSocketMulticasting.java
java/net/DatagramSocket/DatagramSocketExample.java
Four java/net test failures in one job set is rare so I'm wondering
if there's some kind of interference here:
java/net/MulticastSocket/SetOutgoingIf.java
end=Sat Dec 02 10\:17\:25 GMT 2023
start=Sat Dec 02 10\:17\:19 GMT 2023
java/net/MulticastSocket/SetLoopbackModeIPv4.java
end=Sat Dec 02 10\:17\:21 GMT 2023
start=Sat Dec 02 10\:17\:18 GMT 2023
java/net/DatagramSocket/DatagramSocketMulticasting.java
end=Sat Dec 02 10\:15\:28 GMT 2023
start=Sat Dec 02 10\:04\:37 GMT 2023
java/net/DatagramSocket/DatagramSocketExample.java
end=Sat Dec 02 10\:15\:27 GMT 2023
start=Sat Dec 02 10\:04\:36 GMT 2023
It looks like these two overlapped with each other, but not with
the last two:
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/SetLoopbackModeIPv4.java
It looks like these two overlapped with each other, but not with
the first two:
java/net/DatagramSocket/DatagramSocketMulticasting.java
java/net/DatagramSocket/DatagramSocketExample.java
Here's log file snippets for SetOutgoingIf.java:
#section:main
----------messages:(6/233)----------
command: main SetOutgoingIf
reason: User specified action: run main/othervm SetOutgoingIf
started: Sat Dec 02 10:17:19 GMT 2023
Mode: othervm [/othervm specified]
finished: Sat Dec 02 10:17:25 GMT 2023
elapsed time (seconds): 6.335
----------configuration:(0/0)----------
----------System.out:(34/1165)----------
Ignore NetworkInterface nic == name:utun3 (utun3)
Ignore NetworkInterface nic == name:utun2 (utun2)
Ignore NetworkInterface nic == name:utun1 (utun1)
Ignore NetworkInterface nic == name:utun0 (utun0)
Ignore NetworkInterface nic == name:llw0 (llw0)
Ignore NetworkInterface nic == name:awdl0 (awdl0)
Ignore NetworkInterface nic == name:en6 (en6)
addr /fe80:0:0:0:14a7:c3b6:4671:1dd%en1
addr /10.17.61.98
Using: name:en1 (en1)
addr /fe80:0:0:0:1072:dc11:a043:fe4e%en0
addr /10.133.70.196
Using: name:en0 (en0)
Ignore NetworkInterface nic == name:lo0 (lo0)
Using PORT: 49922
Adding [/224.1.2.1, /ff02:0:0:0:0:0:1:2] groups for en0
Adding [/224.1.1.1, /ff02:0:0:0:0:0:1:1] groups for en1
Joining /224.1.2.1 on en0
Sent 2 packets from en0
Sent 2 packets from en1
received packet on /10.133.70.196
Joining /ff02:0:0:0:0:0:1:2 on en0
Sent 4 packets from en0
Sent 4 packets from en1
received packet on /fe80:0:0:0:1072:dc11:a043:fe4e%4
Joining /224.1.1.1 on en1
Sent 6 packets from en0
Sent 6 packets from en1
Sent 8 packets from en0
Sent 8 packets from en1
Sent 10 packets from en0
Sent 10 packets from en1
Sent 12 packets from en0
Sent 12 packets from en1
----------System.err:(19/1213)----------
java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
at SetOutgoingIf.run(SetOutgoingIf.java:185)
at SetOutgoingIf.main(SetOutgoingIf.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.tryBlockingReceive(DatagramChannelImpl.java:760)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:692)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:204)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:718)
at SetOutgoingIf.run(SetOutgoingIf.java:181)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
----------rerun:(35/7185)*----------
Here's log file snippets for SetLoopbackModeIPv4.java:
#section:main
----------messages:(7/455)----------
command: main -Djava.net.preferIPv4Stack=true SetLoopbackModeIPv4
reason: User specified action: run main/othervm -Djava.net.preferIPv4Stack=true SetLoopbackModeIPv4
started: Sat Dec 02 10:17:18 GMT 2023
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/java.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED
finished: Sat Dec 02 10:17:21 GMT 2023
elapsed time (seconds): 2.189
----------configuration:(5/139)----------
<snip>
----------System.out:(20/392)----------
IPv6 cannot be used: using IPv4
Default network interface: en1
Test will use multicast group: /224.80.80.80
NetworkInterface.getByInetAddress(grp): null
******************
Loopback mode is disabled.
/0.0.0.0:61772
Packet not received - correct.
******************
Loopback mode is enabled.
/0.0.0.0:61772
Packet not received (packet excepted as loopback is enabled)
******************
----------System.err:(12/650)----------
java.lang.RuntimeException: Test failed
at SetLoopbackMode.main(SetLoopbackMode.java:146)
at SetLoopbackModeIPv4.main(SetLoopbackModeIPv4.java:42)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed
----------rerun:(40/7466)*----------
Here's log file snippets for DatagramSocketMulticasting.java:
#section:junit
----------messages:(8/313)----------
command: junit DatagramSocketMulticasting
reason: User specified action: run junit/othervm DatagramSocketMulticasting
started: Sat Dec 02 10:04:37 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Sat Dec 02 10:15:28 GMT 2023
elapsed time (seconds): 651.246
----------configuration:(0/0)----------
----------System.out:(4/175)----------
Test family=INET, multicast group=/225.4.5.6, interface=en1
testJoinGroup2: local socket address: /[0:0:0:0:0:0:0:0]:63530
testSendReceive
Timeout signalled after 480 seconds
----------System.err:(1/53)----------
STARTED DatagramSocketMulticasting::main 'main()'
----------rerun:(35/7498)*----------
Here's log file snippets for DatagramSocketExample.java:
#section:main
----------messages:(8/301)----------
command: main DatagramSocketExample
reason: User specified action: run main/othervm DatagramSocketExample
started: Sat Dec 02 10:04:36 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Sat Dec 02 10:15:27 GMT 2023
elapsed time (seconds): 650.548
----------configuration:(0/0)----------
----------System.out:(2/96)----------
Test family=INET, multicast group=/225.4.5.6, interface=en1
Timeout signalled after 480 seconds
----------System.err:(0/0)----------
----------rerun:(35/7230)*----------
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/SetLoopbackModeIPv4.java
java/net/DatagramSocket/DatagramSocketMulticasting.java
java/net/DatagramSocket/DatagramSocketExample.java
Four java/net test failures in one job set is rare so I'm wondering
if there's some kind of interference here:
java/net/MulticastSocket/SetOutgoingIf.java
end=Sat Dec 02 10\:17\:25 GMT 2023
start=Sat Dec 02 10\:17\:19 GMT 2023
java/net/MulticastSocket/SetLoopbackModeIPv4.java
end=Sat Dec 02 10\:17\:21 GMT 2023
start=Sat Dec 02 10\:17\:18 GMT 2023
java/net/DatagramSocket/DatagramSocketMulticasting.java
end=Sat Dec 02 10\:15\:28 GMT 2023
start=Sat Dec 02 10\:04\:37 GMT 2023
java/net/DatagramSocket/DatagramSocketExample.java
end=Sat Dec 02 10\:15\:27 GMT 2023
start=Sat Dec 02 10\:04\:36 GMT 2023
It looks like these two overlapped with each other, but not with
the last two:
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/SetLoopbackModeIPv4.java
It looks like these two overlapped with each other, but not with
the first two:
java/net/DatagramSocket/DatagramSocketMulticasting.java
java/net/DatagramSocket/DatagramSocketExample.java
Here's log file snippets for SetOutgoingIf.java:
#section:main
----------messages:(6/233)----------
command: main SetOutgoingIf
reason: User specified action: run main/othervm SetOutgoingIf
started: Sat Dec 02 10:17:19 GMT 2023
Mode: othervm [/othervm specified]
finished: Sat Dec 02 10:17:25 GMT 2023
elapsed time (seconds): 6.335
----------configuration:(0/0)----------
----------System.out:(34/1165)----------
Ignore NetworkInterface nic == name:utun3 (utun3)
Ignore NetworkInterface nic == name:utun2 (utun2)
Ignore NetworkInterface nic == name:utun1 (utun1)
Ignore NetworkInterface nic == name:utun0 (utun0)
Ignore NetworkInterface nic == name:llw0 (llw0)
Ignore NetworkInterface nic == name:awdl0 (awdl0)
Ignore NetworkInterface nic == name:en6 (en6)
addr /fe80:0:0:0:14a7:c3b6:4671:1dd%en1
addr /10.17.61.98
Using: name:en1 (en1)
addr /fe80:0:0:0:1072:dc11:a043:fe4e%en0
addr /10.133.70.196
Using: name:en0 (en0)
Ignore NetworkInterface nic == name:lo0 (lo0)
Using PORT: 49922
Adding [/224.1.2.1, /ff02:0:0:0:0:0:1:2] groups for en0
Adding [/224.1.1.1, /ff02:0:0:0:0:0:1:1] groups for en1
Joining /224.1.2.1 on en0
Sent 2 packets from en0
Sent 2 packets from en1
received packet on /10.133.70.196
Joining /ff02:0:0:0:0:0:1:2 on en0
Sent 4 packets from en0
Sent 4 packets from en1
received packet on /fe80:0:0:0:1072:dc11:a043:fe4e%4
Joining /224.1.1.1 on en1
Sent 6 packets from en0
Sent 6 packets from en1
Sent 8 packets from en0
Sent 8 packets from en1
Sent 10 packets from en0
Sent 10 packets from en1
Sent 12 packets from en0
Sent 12 packets from en1
----------System.err:(19/1213)----------
java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
at SetOutgoingIf.run(SetOutgoingIf.java:185)
at SetOutgoingIf.main(SetOutgoingIf.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/sun.nio.ch.DatagramChannelImpl.tryBlockingReceive(DatagramChannelImpl.java:760)
at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:692)
at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:204)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:718)
at SetOutgoingIf.run(SetOutgoingIf.java:181)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.net.SocketTimeoutException: Receive timed out
----------rerun:(35/7185)*----------
Here's log file snippets for SetLoopbackModeIPv4.java:
#section:main
----------messages:(7/455)----------
command: main -Djava.net.preferIPv4Stack=true SetLoopbackModeIPv4
reason: User specified action: run main/othervm -Djava.net.preferIPv4Stack=true SetLoopbackModeIPv4
started: Sat Dec 02 10:17:18 GMT 2023
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/java.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED
finished: Sat Dec 02 10:17:21 GMT 2023
elapsed time (seconds): 2.189
----------configuration:(5/139)----------
<snip>
----------System.out:(20/392)----------
IPv6 cannot be used: using IPv4
Default network interface: en1
Test will use multicast group: /224.80.80.80
NetworkInterface.getByInetAddress(grp): null
******************
Loopback mode is disabled.
/0.0.0.0:61772
Packet not received - correct.
******************
Loopback mode is enabled.
/0.0.0.0:61772
Packet not received (packet excepted as loopback is enabled)
******************
----------System.err:(12/650)----------
java.lang.RuntimeException: Test failed
at SetLoopbackMode.main(SetLoopbackMode.java:146)
at SetLoopbackModeIPv4.main(SetLoopbackModeIPv4.java:42)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed
----------rerun:(40/7466)*----------
Here's log file snippets for DatagramSocketMulticasting.java:
#section:junit
----------messages:(8/313)----------
command: junit DatagramSocketMulticasting
reason: User specified action: run junit/othervm DatagramSocketMulticasting
started: Sat Dec 02 10:04:37 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Sat Dec 02 10:15:28 GMT 2023
elapsed time (seconds): 651.246
----------configuration:(0/0)----------
----------System.out:(4/175)----------
Test family=INET, multicast group=/225.4.5.6, interface=en1
testJoinGroup2: local socket address: /[0:0:0:0:0:0:0:0]:63530
testSendReceive
Timeout signalled after 480 seconds
----------System.err:(1/53)----------
STARTED DatagramSocketMulticasting::main 'main()'
----------rerun:(35/7498)*----------
Here's log file snippets for DatagramSocketExample.java:
#section:main
----------messages:(8/301)----------
command: main DatagramSocketExample
reason: User specified action: run main/othervm DatagramSocketExample
started: Sat Dec 02 10:04:36 GMT 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Sat Dec 02 10:15:27 GMT 2023
elapsed time (seconds): 650.548
----------configuration:(0/0)----------
----------System.out:(2/96)----------
Test family=INET, multicast group=/225.4.5.6, interface=en1
Timeout signalled after 480 seconds
----------System.err:(0/0)----------
----------rerun:(35/7230)*----------
- relates to
-
JDK-8247669 java/nio/channels/DatagramChannel/AdaptorMulticasting.java fails intermittently
- Open