-
Bug
-
Resolution: Won't Fix
-
P4
-
9
-
windows
This bug is related to JDK-8170049, highly suspect JDK-8170049 is caused by infra or product issue rather than a test issue.
AsJDK-8170049 has been resolved by modifying tests' policy files ( because it continues to fails on mach5, and it's not easy to find root cause in infra or product ), so create this bug to track the possible infra or product issue exposed by JDK-8170049.
java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java
java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
java/rmi/activation/Activatable/restartService/RestartService.java
java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java
Activation.main: an exception occurred: java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")
java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:471)
at java.base/java.security.AccessController.checkPermission(AccessController.java:894)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:548)
at java.base/java.lang.SecurityManager.checkListen(SecurityManager.java:1130)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at java.base/java.nio.channels.ServerSocketChannel.bind(ServerSocketChannel.java:157)
at RMIDSelectorProvider.inheritedChannel(RMIDSelectorProvider.java:113)
at java.base/java.lang.System.inheritedChannel(System.java:276)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1960)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1958)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.server.Activation.main(Activation.java:1957)
RMID: Started rmid on port 5281, at 02:27:01.476217100
TEST FAILED: Rmid process exited with status 1 after 100ms.
failure: unexpected exception TestFailedException: TEST FAILED: Rmid process exited with status 1 after 100ms.
TestFailedException: TEST FAILED: Rmid process exited with status 1 after 100ms.
at TestLibrary.bomb(TestLibrary.java:121)
at TestLibrary.bomb(TestLibrary.java:124)
at RMID.start(RMID.java:342)
at RMID.restart(RMID.java:385)
at CheckRegisterInLog.main(CheckRegisterInLog.java:138)
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:537)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
RMID: shutdown()
RMID: lookupSystem() returned null after 1002ms.
RMID: Destroying RMID process.
RMID: Destroy successful after 1003ms.
RMID: Removing rmid's old log file.
java.lang.RuntimeException: CheckRegisterInLog got exception TEST FAILED: Rmid process exited with status 1 after 100ms.
at CheckRegisterInLog.main(CheckRegisterInLog.java:170)
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:537)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
As
java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java
java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
java/rmi/activation/Activatable/restartService/RestartService.java
java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java
Activation.main: an exception occurred: java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")
java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:471)
at java.base/java.security.AccessController.checkPermission(AccessController.java:894)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:548)
at java.base/java.lang.SecurityManager.checkListen(SecurityManager.java:1130)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at java.base/java.nio.channels.ServerSocketChannel.bind(ServerSocketChannel.java:157)
at RMIDSelectorProvider.inheritedChannel(RMIDSelectorProvider.java:113)
at java.base/java.lang.System.inheritedChannel(System.java:276)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1960)
at java.rmi/sun.rmi.server.Activation$2.run(Activation.java:1958)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.server.Activation.main(Activation.java:1957)
RMID: Started rmid on port 5281, at 02:27:01.476217100
TEST FAILED: Rmid process exited with status 1 after 100ms.
failure: unexpected exception TestFailedException: TEST FAILED: Rmid process exited with status 1 after 100ms.
TestFailedException: TEST FAILED: Rmid process exited with status 1 after 100ms.
at TestLibrary.bomb(TestLibrary.java:121)
at TestLibrary.bomb(TestLibrary.java:124)
at RMID.start(RMID.java:342)
at RMID.restart(RMID.java:385)
at CheckRegisterInLog.main(CheckRegisterInLog.java:138)
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:537)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
RMID: shutdown()
RMID: lookupSystem() returned null after 1002ms.
RMID: Destroying RMID process.
RMID: Destroy successful after 1003ms.
RMID: Removing rmid's old log file.
java.lang.RuntimeException: CheckRegisterInLog got exception TEST FAILED: Rmid process exited with status 1 after 100ms.
at CheckRegisterInLog.main(CheckRegisterInLog.java:170)
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:537)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
- relates to
-
JDK-8169363 TEST_BUG: java/rmi/activation/Activatable tests fail due to "java.net.SocketException: Operation not supported on transport endpoint"
- Closed
-
JDK-8170049 tests under java/rmi/activation/ fail with "java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:5281" "listen,resolve")" on windows
- Resolved