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

java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java Failed : nested exception is: TestFailedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • tbd
    • 9
    • core-libs
    • x86
    • linux

    Description

      java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java fails with exception:
      TestFailedException: TEST FAILED: ; nested exception is: TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms

      RMID: Starting rmid on port 59074.
      JAVAVM: command = [/scratch/jenkins/workspace/9-dev-tier3-linux-i586/build/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev-tier3-linux-i586/jdk/test/java/rmi/activation/ActivateFailedException/activateFails/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev-tier3-linux-i586/jdk/test/java/rmi/activation/ActivateFailedException/activateFails, -Dtest.classes=/scratch/jenkins/workspace/9-dev-tier3-linux-i586/JTwork/jdk_test/classes/2/java/rmi/activation/ActivateFailedException/activateFails, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev-tier3-linux-i586/JTwork/jdk_test/scratch/3/./log, -port, 59074, -C-Dtest.src=/scratch/jenkins/workspace/9-dev-tier3-linux-i586/jdk/test/java/rmi/activation/ActivateFailedException/activateFails, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev-tier3-linux-i586/JTwork/jdk_test/classes/2/java/rmi/activation/ActivateFailedException/activateFails, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false]
      Activation.main: an exception occurred: java.rmi.server.ExportException: Port already in use: 59074; nested exception is:
      java.net.BindException: Address already in use
      java.rmi.server.ExportException: Port already in use: 59074; nested exception is:
      java.net.BindException: Address already in use
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:336)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:244)
      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
      at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:206)
      at sun.rmi.server.Activation$ActivatorImpl.<init>(Activation.java:428)
      at sun.rmi.server.Activation.init(Activation.java:250)
      at sun.rmi.server.Activation.startActivation(Activation.java:219)
      at sun.rmi.server.Activation.main(Activation.java:2111)
      Caused by: java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
      at java.net.ServerSocket.bind(ServerSocket.java:376)
      at java.net.ServerSocket.<init>(ServerSocket.java:238)
      at java.net.ServerSocket.<init>(ServerSocket.java:130)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:341)
      at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:325)
      ... 8 more
      TEST FAILED: Rmid process exited with status 1 after 223ms.
      TEST FAILED:
      Test failed with: TEST FAILED: Rmid process exited with status 1 after 223ms.
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms.
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at RMID.start(RMID.java:274)
      at RMID.start(RMID.java:237)
      at ActivateFails.main(ActivateFails.java:97)
      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:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)
      RMID: shutdown()
      RMID: lookupSystem() returned null after 2ms.
      RMID: Destroying RMID process.
      RMID: Destroy successful after 3ms.
      RMID: Removing rmid's old log file.
      TestFailedException: TEST FAILED: ; nested exception is:
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms.
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms.
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at RMID.start(RMID.java:274)
      at RMID.start(RMID.java:237)
      at ActivateFails.main(ActivateFails.java:97)
      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:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is:
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: TestFailedException: TEST FAILED: Rmid process exited with status 1 after 223ms.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jibiche Jibing Chen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: