Details
-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b149
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312565 | 8u391 | Abhishek N | P4 | Resolved | Fixed | b04 |
Description
Timeout for this test has been increased, but it still times out sometimes.
Current timeout is 45 seconds. It's hard to believe that 45 seconds is not enough to start rmid.
If possible, we should add more logging to the test.
Log says "subsequent activation attempts may fail due to unsuccessful ExecPermission/ExecOptionPermission". I do not know if that is important.
RULE javax/management/remote/mandatory/connection/RMIConnector_NPETest.java Exception TestFailedException: TEST FAILED: Failed to start rmid, giving up after ...ms.
Log:
Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks. For
documentation on how to configure rmid security, refer to:
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
TEST FAILED: Failed to start rmid, giving up after 48870ms.
TestFailedException: TEST FAILED: Failed to start rmid, giving up after 48870ms.
at TestLibrary.bomb(TestLibrary.java:121)
at RMID.start(RMID.java:296)
at RMID.start(RMID.java:237)
at RMIConnector_NPETest.main(RMIConnector_NPETest.java:46)
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:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
Current timeout is 45 seconds. It's hard to believe that 45 seconds is not enough to start rmid.
If possible, we should add more logging to the test.
Log says "subsequent activation attempts may fail due to unsuccessful ExecPermission/ExecOptionPermission". I do not know if that is important.
RULE javax/management/remote/mandatory/connection/RMIConnector_NPETest.java Exception TestFailedException: TEST FAILED: Failed to start rmid, giving up after ...ms.
Log:
Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks. For
documentation on how to configure rmid security, refer to:
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
TEST FAILED: Failed to start rmid, giving up after 48870ms.
TestFailedException: TEST FAILED: Failed to start rmid, giving up after 48870ms.
at TestLibrary.bomb(TestLibrary.java:121)
at RMID.start(RMID.java:296)
at RMID.start(RMID.java:237)
at RMIConnector_NPETest.main(RMIConnector_NPETest.java:46)
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:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
Attachments
Issue Links
- backported by
-
JDK-8312565 javax/management/remote/mandatory/connection/RMIConnector_NPETest.java may leave orphaned processes
-
- Resolved
-
- relates to
-
JDK-8067316 TEST_BUG: update RMI test library with better test.timeout.factor handling
-
- Resolved
-