JDK-8068161 : javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-12-23
  • Updated: 2014-12-23
  • Resolved: 2014-12-23
Related Reports
Duplicate :  
Description
javax/management/remote/mandatory/connection/RMIConnector_NPETest.java is still failing.

#section:main
----------messages:(3/128)----------
command: main RMIConnector_NPETest
reason: User specified action: run main RMIConnector_NPETest 
elapsed time (seconds): 28.631
----------System.out:(0/0)----------
----------System.err:(28/2893)----------
RMID: Starting rmid on port 44360.
JAVAVM: command = [/scratch/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/solaris-sparcv9/bin/java, -Xmixed, -server, -d64, -XX:MaxRAMFraction=8, -XX:+CreateMinidumpOnCrash, -XX:ReservedCodeCacheSize=256M, -d64, -Djava.security.policy=/scratch/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/source/jdk/test/javax/management/remote/mandatory/connection/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/source/jdk/test/javax/management/remote/mandatory/connection, -Dtest.classes=/scratch/local/aurora/sandbox/results/workDir/classes/10/javax/management/remote/mandatory/connection, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/local/aurora/sandbox/results/workDir/javax/management/remote/mandatory/connection/RMIConnector_NPETest/./log, -port, 44360, -C-Dtest.src=/scratch/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/source/jdk/test/javax/management/remote/mandatory/connection, -C-Dtest.classes=/scratch/local/aurora/sandbox/results/workDir/classes/10/javax/management/remote/mandatory/connection, -C-Xmixed, -C-server, -C-d64, -C-XX:MaxRAMFraction=8, -C-XX:+CreateMinidumpOnCrash, -C-XX:ReservedCodeCacheSize=256M, -C-d64, -C-Djava.rmi.server.useCodebaseOnly=false]
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 17232ms.
TestFailedException: TEST FAILED: Failed to start rmid, giving up after 17232ms.
	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:41)
	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)

JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: Failed to start rmid, giving up after 17232ms.
JavaTest Message: shutting down test
Comments
Default invocation timeout for rmid is 15 seconds. Apparently the test system is very slow or is heavily overloaded, as it timed out after 17 seconds. The timeout value, however, should be multiplied by the test timeout factor, which was set to 8.0 (!?) for this run. This change is covered by JDK-8067316. Closing as a duplicate.
23-12-2014

Assigning to Stuart for further investigation. Changing priority from P1 -> P3. This test is known to have issues, and fail intermittently, so this is most likely a test stabilization bug. At best it might be a P2, but I'll leave it to Stuart if he feels that the priority should be changed again.
23-12-2014