-
Bug
-
Resolution: Fixed
-
P4
-
9
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8156319 | 8u111 | Svetlana Nikandrova | P4 | Resolved | Fixed | b01 |
JDK-8150037 | 8u102 | Svetlana Nikandrova | P4 | Resolved | Fixed | b01 |
JDK-8162157 | emb-8u111 | Svetlana Nikandrova | P4 | Resolved | Fixed | b01 |
This failure happened once in same binaries runs with JDK 9 b38. It is an intermittent failure.
Please refer to following part of test log:
...
test SocketPermissionTest.testPositive(SocketPermissionTest$$Lambda$12/1768074411@6586498e, SocketPermissionTest$$Lambda$13/1746524665@5654da04): success
config SocketPermissionTest.setFreePort(): success
test SocketPermissionTest.testPositive(SocketPermissionTest$$Lambda$12/1768074411@6586498e, SocketPermissionTest$$Lambda$14/1730796861@247e500e): failure
java.lang.RuntimeException: java.net.BindException: Address already in use
at SocketPermissionTest.connectDatagramSocketTest(SocketPermissionTest.java:160)
at SocketPermissionTest.lambda$positiveProvider$4(SocketPermissionTest.java:87)
at SocketPermissionTest$$Lambda$14/1730796861.accept(Unknown Source)
at SocketPermissionTest.lambda$testPositive$0(SocketPermissionTest.java:62)
at SocketPermissionTest$$Lambda$24/1669766863.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at SocketPermissionTest.testPositive(SocketPermissionTest.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:161)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:94)
at java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.net.DatagramSocket.<init>(DatagramSocket.java:244)
at java.net.DatagramSocket.<init>(DatagramSocket.java:301)
at SocketPermissionTest.connectDatagramSocketTest(SocketPermissionTest.java:154)
Please refer to following part of test log:
...
test SocketPermissionTest.testPositive(SocketPermissionTest$$Lambda$12/1768074411@6586498e, SocketPermissionTest$$Lambda$13/1746524665@5654da04): success
config SocketPermissionTest.setFreePort(): success
test SocketPermissionTest.testPositive(SocketPermissionTest$$Lambda$12/1768074411@6586498e, SocketPermissionTest$$Lambda$14/1730796861@247e500e): failure
java.lang.RuntimeException: java.net.BindException: Address already in use
at SocketPermissionTest.connectDatagramSocketTest(SocketPermissionTest.java:160)
at SocketPermissionTest.lambda$positiveProvider$4(SocketPermissionTest.java:87)
at SocketPermissionTest$$Lambda$14/1730796861.accept(Unknown Source)
at SocketPermissionTest.lambda$testPositive$0(SocketPermissionTest.java:62)
at SocketPermissionTest$$Lambda$24/1669766863.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at SocketPermissionTest.testPositive(SocketPermissionTest.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:161)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:94)
at java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.net.DatagramSocket.<init>(DatagramSocket.java:244)
at java.net.DatagramSocket.<init>(DatagramSocket.java:301)
at SocketPermissionTest.connectDatagramSocketTest(SocketPermissionTest.java:154)
- backported by
-
JDK-8150037 java/net/SocketPermission/SocketPermissionTest.java fails intermittently
- Resolved
-
JDK-8156319 java/net/SocketPermission/SocketPermissionTest.java fails intermittently
- Resolved
-
JDK-8162157 java/net/SocketPermission/SocketPermissionTest.java fails intermittently
- Resolved
- relates to
-
JDK-8171827 java/net/SocketPermission/SocketPermissionTest.java fails intermittently with java.net.ConnectException: Operation timed out
- Open
There are no Sub-Tasks for this issue.