The following test failed in the jdk/jdk CI:
java/net/DatagramSocket/PortUnreachable.java
Here's a snippet of the log file:
----------System.err:(32/2159)----------
java.net.BindException: Address already in use (Bind failed)
at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:131)
at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:244)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:301)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:273)
at PortUnreachable.recreateServerSocket(PortUnreachable.java:70)
at PortUnreachable.serverSend(PortUnreachable.java:53)
at PortUnreachable.execute(PortUnreachable.java:111)
at PortUnreachable.main(PortUnreachable.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.peekData(Native Method)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:745)
at PortUnreachable.execute(PortUnreachable.java:116)
at PortUnreachable.main(PortUnreachable.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.net.SocketTimeoutException
JavaTest Message: shutting down test
----------System.out:(2/78)----------
Attempting to recreate server socket with port: 24026
Give up after 5 retries
result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Receive timed out
test result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Receive timed out
java/net/DatagramSocket/PortUnreachable.java
Here's a snippet of the log file:
----------System.err:(32/2159)----------
java.net.BindException: Address already in use (Bind failed)
at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:131)
at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:244)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:301)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:273)
at PortUnreachable.recreateServerSocket(PortUnreachable.java:70)
at PortUnreachable.serverSend(PortUnreachable.java:53)
at PortUnreachable.execute(PortUnreachable.java:111)
at PortUnreachable.main(PortUnreachable.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.peekData(Native Method)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:745)
at PortUnreachable.execute(PortUnreachable.java:116)
at PortUnreachable.main(PortUnreachable.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.net.SocketTimeoutException
JavaTest Message: shutting down test
----------System.out:(2/78)----------
Attempting to recreate server socket with port: 24026
Give up after 5 retries
result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Receive timed out
test result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Receive timed out
- duplicates
-
JDK-8191491 java/net/DatagramSocket/PortUnreachable.java fails with Address already in use (Bind failed)
-
- Closed
-