Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8078221

TEST_BUG: java/rmi/Naming/DefaultRegistryPort.java fails intermittently

XMLWordPrintable

    • b10
    • Verified

      java/rmi/Naming/DefaultRegistryPort.java fails intermittently.

      ----------System.err:(47/2976)----------
      Starting registry on default port REGISTRY_PORT=1099
      Failed to create a registry, try using existing one
      Found registry=RegistryImpl_Stub[UnicastRef [liveRef: [endpoint:[10.133.168.151:1099](remote),objID:[0:0:0, 0]]]]
      java.rmi.ConnectException: Connection refused to host: 10.133.168.151; 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.newCall(UnicastRef.java:342)
      at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
      at DefaultRegistryPort.main(DefaultRegistryPort.java:85)
      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.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)
      ... 11 more
      TEST FAILED: Test failed: unexpected exception
      TestFailedException: TEST FAILED: Test failed: unexpected exception
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at DefaultRegistryPort.main(DefaultRegistryPort.java:106)
      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)

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: Test failed: unexpected exception
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: Test failed: unexpected exception

            mli Hamlin Li
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: