-
Bug
-
Resolution: Duplicate
-
P4
-
9
java/rmi/server/RMISocketFactory/useSocketFactory/activatable/UseCustomSocketFactory.java
This test fails intermittently with "timeout creating child process".
JDK-7004076 also reported this test failed, but with "java.rmi.NotBoundException: EchoServer"
See recent failure log as below, run in concurrency mode:
-agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:8 -J-Xmx512m -concurrency:10
----------messages:(3/175)----------
command: main UseCustomSocketFactory
reason: User specified action: run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory
elapsed time (seconds): 64.856
----------System.out:(12/331)----------
Regression test for bug 4115696
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
----------System.err:(276/21873)----------
RMID: Starting rmid on port 37084.
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -C-Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy, -C-Djava.security.manager=java.rmi.RMISecurityManager, -log, /scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/./log, -port, 37084, -C-Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -C-Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -C-ea, -C-esa, -C-Xmx512m, -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
RMID: Started successfully after 466ms.
Create Test-->
using protocol: none
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@2c3ae68d]]
Result: Greetings, citizen aurora!
using protocol: compress
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl, compress]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@601bf76a]]
Result: Greetings, citizen aurora!
using protocol: xor
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl, xor]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@23437242]]
Result: Greetings, citizen aurora!
Reactivate Test-->
using protocol: none
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Result: Greetings, citizen aurora!
using protocol: compress
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Wed May 20 02:39:26 PDT 2015:ExecGroup-0:err:ACTIVATION_LIBRARY: inactive successful
Result: Greetings, citizen aurora!
using protocol: xor
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Wed May 20 02:39:27 PDT 2015:ExecGroup-1:err:ACTIVATION_LIBRARY: inactive successful
TEST FAILED:
Test failed with: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:304)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:210)
at EchoImpl_Stub.echoNot(EchoImpl_Stub.java:58)
at UseCustomSocketFactory.reactivateAndTest(UseCustomSocketFactory.java:156)
at UseCustomSocketFactory.main(UseCustomSocketFactory.java:68)
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)
Caused by: java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.Activation$GroupEntry.getInstantiator(Activation.java:1298)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1163)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at com.sun.proxy.$Proxy0.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:118)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:277)
... 10 more
RMID: shutdown()
RMID: ActivationSystem.shutdown()
activation daemon shut down
RMID: Shutdown successful after 902ms.
TestFailedException: TEST FAILED: ; nested exception is:
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:304)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:210)
at EchoImpl_Stub.echoNot(EchoImpl_Stub.java:58)
at UseCustomSocketFactory.reactivateAndTest(UseCustomSocketFactory.java:156)
at UseCustomSocketFactory.main(UseCustomSocketFactory.java:68)
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)
Caused by: java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.Activation$GroupEntry.getInstantiator(Activation.java:1298)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1163)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at com.sun.proxy.$Proxy0.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:118)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:277)
... 10 more
JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is:
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: java.rmi.activation.ActivateFailedException: activation failed; nested exception is: java.rmi.activation.ActivationException: timeout creating child process
This test fails intermittently with "timeout creating child process".
JDK-7004076 also reported this test failed, but with "java.rmi.NotBoundException: EchoServer"
See recent failure log as below, run in concurrency mode:
-agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:8 -J-Xmx512m -concurrency:10
----------messages:(3/175)----------
command: main UseCustomSocketFactory
reason: User specified action: run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory
elapsed time (seconds): 64.856
----------System.out:(12/331)----------
Regression test for bug 4115696
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
EchoServer: creating remote object
EchoServer: binding in registry on port:34574
EchoServer ready.
----------System.err:(276/21873)----------
RMID: Starting rmid on port 37084.
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -C-Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy, -C-Djava.security.manager=java.rmi.RMISecurityManager, -log, /scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/./log, -port, 37084, -C-Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -C-Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable, -C-ea, -C-esa, -C-Xmx512m, -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
RMID: Started successfully after 466ms.
Create Test-->
using protocol: none
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@2c3ae68d]]
Result: Greetings, citizen aurora!
using protocol: compress
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl, compress]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@601bf76a]]
Result: Greetings, citizen aurora!
using protocol: xor
JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy==/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/scratch/3/security.policy_new, -Drmi.registry.port=34574, -Djava.rmi.activation.port=37084, EchoImpl, xor]
Bound to EchoImpl_Stub[ActivatableRef [remoteRef: sun.rmi.server.UnicastRef2@23437242]]
Result: Greetings, citizen aurora!
Reactivate Test-->
using protocol: none
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Result: Greetings, citizen aurora!
using protocol: compress
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Wed May 20 02:39:26 PDT 2015:ExecGroup-0:err:ACTIVATION_LIBRARY: inactive successful
Result: Greetings, citizen aurora!
using protocol: xor
rmid: activation group inactive: java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 10.128.64.249; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:214)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.activation.ActivationGroup_Stub.newInstance(Unknown Source)
at sun.rmi.server.Activation$ObjectEntry.activate(Activation.java:1485)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1171)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:591)
at java.net.Socket.connect(Socket.java:540)
at java.net.Socket.<init>(Socket.java:436)
at java.net.Socket.<init>(Socket.java:213)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 24 more
rmid: debugExec: running "/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/group.security.policy -Djava.security.manager=java.rmi.RMISecurityManager -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_552/testoutput/tier2/JTwork/classes/6/java/rmi/server/RMISocketFactory/useSocketFactory/activatable -ea -esa -Xmx512m -Djava.rmi.server.useCodebaseOnly=false sun.rmi.server.ActivationGroupInit"
Wed May 20 02:39:27 PDT 2015:ExecGroup-1:err:ACTIVATION_LIBRARY: inactive successful
TEST FAILED:
Test failed with: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:304)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:210)
at EchoImpl_Stub.echoNot(EchoImpl_Stub.java:58)
at UseCustomSocketFactory.reactivateAndTest(UseCustomSocketFactory.java:156)
at UseCustomSocketFactory.main(UseCustomSocketFactory.java:68)
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)
Caused by: java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.Activation$GroupEntry.getInstantiator(Activation.java:1298)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1163)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at com.sun.proxy.$Proxy0.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:118)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:277)
... 10 more
RMID: shutdown()
RMID: ActivationSystem.shutdown()
activation daemon shut down
RMID: Shutdown successful after 902ms.
TestFailedException: TEST FAILED: ; nested exception is:
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:304)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:210)
at EchoImpl_Stub.echoNot(EchoImpl_Stub.java:58)
at UseCustomSocketFactory.reactivateAndTest(UseCustomSocketFactory.java:156)
at UseCustomSocketFactory.main(UseCustomSocketFactory.java:68)
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)
Caused by: java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.Activation$GroupEntry.getInstantiator(Activation.java:1298)
at sun.rmi.server.Activation$GroupEntry.activate(Activation.java:1163)
at sun.rmi.server.Activation$ActivatorImpl.activate(Activation.java:436)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:321)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:563)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:821)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:677)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at com.sun.proxy.$Proxy0.activate(Unknown Source)
at java.rmi.activation.ActivationID.activate(ActivationID.java:118)
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:277)
... 10 more
JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is:
java.rmi.activation.ActivateFailedException: activation failed; nested exception is:
java.rmi.activation.ActivationException: timeout creating child process
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: java.rmi.activation.ActivateFailedException: activation failed; nested exception is: java.rmi.activation.ActivationException: timeout creating child process
- duplicates
-
JDK-8169569 TEST_BUG: tests under java/rmi/activation/** failed due to "timeout creating child process"
- Closed
- relates to
-
JDK-8169569 TEST_BUG: tests under java/rmi/activation/** failed due to "timeout creating child process"
- Closed