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

TEST_BUG: Clean up for java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • Verification:
      Not verified

      Description

      TESTFAIL:java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java

      The test java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java fails intermittently. see logs below:

      #section:main
      ----------messages:(3/168)----------
      command: main ShutdownGracefully
      reason: User specified action: run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully
      elapsed time (seconds): 404.978
      ----------System.out:(0/0)----------
      ----------System.err:(45/3275)----------

      Regression test for bug/rfe 4183169

      RMID: starting rmid on port #18303...
      JAVAVM: command = [/Users/aurora/sandbox/jdk/jre/bin/java, -Djava.security.policy=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/shutdownGracefully/rmid.security.policy, -Djava.security.manager=TestSecurityManager, -Dsun.rmi.activation.snapshotInterval=1, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/shutdownGracefully, -Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/classes/java/rmi/activation/Activatable/shutdownGracefully, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully/./log, -port, 18303, -C-Dtest.src=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/shutdownGracefully, -C-Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/classes/java/rmi/activation/Activatable/shutdownGracefully, -C-Djava.rmi.server.useCodebaseOnly=false]
      ACTIVATION_LIBRARY: Remote connection refused after 0 milliseconds
      ACTIVATION_LIBRARY: Activation System available after 100 milliseconds
      RMID: finished starting rmid.
      activation group will be created in a new VM
      TEST FAILED:
      Test failed with: null
      java.lang.NullPointerException
      at ShutdownGracefully.main(ShutdownGracefully.java:100)
      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:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)
      waiting for rmid to shutdown
      rmid has shutdown
      RMID: getting a reference to the activation system
      RMID: obtained a reference to the activation system
      RMID: testlibrary finished shutting down rmid
      activation daemon shut down
      RMID: RMID's process still not terminated after more than 200 milliseconds
      RMID: rmid exited on shutdown request
      TEST FAILED: rmid did not shutdown gracefully in time
      TEST FAILED: exception waiting for rmid to shut down
      TestFailedException: TEST FAILED: exception waiting for rmid to shut down
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at ShutdownGracefully.main(ShutdownGracefully.java:191)
      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:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down
      JavaTest Message: shutting down test

      RMID: removing rmid's old log file...
      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tyan Tristan Yan (Inactive)
                Reporter:
                ewang Eric Wang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: