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

java/rmi/registry/altSecurityManager/AltSecurityManager.java fails due to timeout

XMLWordPrintable

    • b152

        TESTFAIL:java/rmi/registry/altSecurityManager/AltSecurityManager.java

        java/rmi/registry/altSecurityManager/AltSecurityManager.java

        Regression test for bug 4183202

        expecting RuntimeException for checkListen in child process
        starting sun.rmi.registry.RegistryImpl
        JAVAVM: command = [/Users/aurora/sandbox/jdk/jre/bin/java, -Djava.security.manager=TestSecurityManager, sun.rmi.registry.RegistryImpl, 50466]
        waited 2581 millis for sun.rmi.registry.RegistryImpl to die
        sun.rmi.registry.RegistryImpl terminated on time
        expecting RuntimeException for checkListen in child process
        starting sun.rmi.server.Activation
        JAVAVM: command = [/Users/aurora/sandbox/jdk/jre/bin/java, -Djava.security.manager=TestSecurityManager, sun.rmi.server.Activation, -port, 50468]
        waited 15005 millis for sun.rmi.server.Activation to die
        RMID: getting a reference to the activation system
        RMID: could not contact registry while trying to shutdown activation system
        TEST FAILED: reference to the activation system was null
        RMID: caught exception trying to shutdown rmid
        RMID: TEST FAILED: reference to the activation system was null
        TestFailedException: TEST FAILED: reference to the activation system was null
        at TestLibrary.bomb(TestLibrary.java:121)
        at TestLibrary.bomb(TestLibrary.java:124)
        at RMID.shutdown(RMID.java:291)
        at AltSecurityManager.ensureExit(AltSecurityManager.java:111)
        at AltSecurityManager.main(AltSecurityManager.java:134)
        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)
        RMID: testlibrary finished shutting down rmid
        TEST FAILED: sun.rmi.server.Activation took too long to die...
        TEST FAILED:
        Test failed with: TEST FAILED: sun.rmi.server.Activation took too long to die...
        TestFailedException: TEST FAILED: sun.rmi.server.Activation took too long to die...
        at TestLibrary.bomb(TestLibrary.java:121)
        at TestLibrary.bomb(TestLibrary.java:124)
        at AltSecurityManager.ensureExit(AltSecurityManager.java:114)
        at AltSecurityManager.main(AltSecurityManager.java:134)
        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)
        TestFailedException: TEST FAILED: ; nested exception is:
        TestFailedException: TEST FAILED: sun.rmi.server.Activation took too long to die...
        TestFailedException: TEST FAILED: sun.rmi.server.Activation took too long to die...
        at TestLibrary.bomb(TestLibrary.java:121)
        at TestLibrary.bomb(TestLibrary.java:124)
        at AltSecurityManager.ensureExit(AltSecurityManager.java:114)
        at AltSecurityManager.main(AltSecurityManager.java:134)
        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: ; nested exception is:
        TestFailedException: TEST FAILED: sun.rmi.server.Activation took too long to die...
        JavaTest Message: shutting down test

              mli Hamlin Li
              ewang Eric Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: