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

java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails with java.lang.RuntimeException: CheckRegisterInLog got exception timeout 6480000ms out of range

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b01

      Backports

        Description

        java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails with java.lang.RuntimeException: CheckRegisterInLog got exception timeout 6480000ms out of range

        ----------System.err:(51/5388)----------
        RMID: Starting rmid on port 0, at 13:10:10.424692
        JAVAVM: command = [/sandbox/testJDK/bin/java, -Djava.security.policy=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, -Dsun.rmi.transport.tcp.handshakeTimeout=5000, -classpath, /sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d:/sandbox/testResult/JTwork/classes/java/rmi/testlibrary, --add-exports=java.base/sun.nio.ch=ALL-UNNAMED, -Djava.nio.channels.spi.SelectorProvider=RMIDSelectorProvider, -Dtest.java.rmi.testlibrary.RMIDSelectorProvider.port=0, -Dtest.java.rmi.testlibrary.RMIDSelectorProvider.timeout=0, -Dsun.rmi.server.activation.disableErrRedirect=true, sun.rmi.server.Activation, -log, /sandbox/testResult/JTwork/scratch/./log, -C-Dtest.src=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d, -C-Djava.rmi.server.useCodebaseOnly=false]
        RMID: Started rmid on port 38267, at 13:10:10.889919
        Fri Dec 29 13:10:10 GMT 2017
        RMID: looking up activation system, at 13:10:10.990795
        rmid startup with inherited channel: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:38267]
        RMID: Started successfully after 2963ms, at 13:10:13.853212
        Creating group descriptor
        Registering group
        Creating descriptor
        Registering descriptor
        RMID: shutdown()
        RMID: ActivationSystem.shutdown()
        activation daemon shut down
        RMID: Shutdown successful after 485ms.
        RMID: Starting rmid on port 38267, at 13:10:16.144704
        JAVAVM: command = [/sandbox/testJDK/bin/java, -Djava.security.policy=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, -Dsun.rmi.transport.tcp.handshakeTimeout=5000, -classpath, /sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d:/sandbox/testResult/JTwork/classes/java/rmi/testlibrary, --add-exports=java.base/sun.nio.ch=ALL-UNNAMED, -Djava.nio.channels.spi.SelectorProvider=RMIDSelectorProvider, -Dtest.java.rmi.testlibrary.RMIDSelectorProvider.port=38267, -Dtest.java.rmi.testlibrary.RMIDSelectorProvider.timeout=5760000, -Dsun.rmi.server.activation.disableErrRedirect=true, sun.rmi.server.Activation, -log, /sandbox/testResult/JTwork/scratch/./log, -C-Dtest.src=/sandbox/ws/open/test/jdk/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/sandbox/testResult/JTwork/classes/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d, -C-Djava.rmi.server.useCodebaseOnly=false]
        RMID: Started rmid on port 38267, at 13:10:16.809294

        failure: unexpected exception java.lang.IllegalArgumentException: timeout 6480000ms out of range
        java.lang.IllegalArgumentException: timeout 6480000ms out of range
        at TestLibrary.computeDeadline(TestLibrary.java:192)
        at RMID.start(RMID.java:351)
        at RMID.restart(RMID.java:409)
        at CheckRegisterInLog.main(CheckRegisterInLog.java:138)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)
        RMID: shutdown()
        Fri Dec 29 13:10:16 GMT 2017
        rmid startup with inherited channel: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:38267]
        RMID: ActivationSystem.shutdown()
        activation daemon shut down
        RMID: Shutdown successful after 11209ms.
        RMID: Removing rmid's old log file.
        java.lang.RuntimeException: CheckRegisterInLog got exception timeout 6480000ms out of range
        at CheckRegisterInLog.main(CheckRegisterInLog.java:170)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mli Hamlin Li
                Reporter:
                mli Hamlin Li
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: