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

RMIConnector_NPETest.java can't start rmid if running on fastdebug or Solaris-sparc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-svc
    • All platforms, fastdebug

    • b22
    • generic
    • generic

      The test failed on all platforms in PIT of HD for JDK9 b06. Only on fastdebug builds except for Solaris-sparc where it failed on product build as well. (VMFlags: -server -Xcomp)

      The logs look like

      RMID: starting rmid on port #31939...
      JAVAVM: command = [/export/local/aurora/CommonData/jdk/jre/bin/java, -Xcomp, -server, -Xcomp, -Djava.security.policy=/export/local/aurora/CommonData/j2se_jdk/jdk/test/javax/management/remote/mandatory/connection/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/export/local/aurora/CommonData/j2se_jdk/jdk/test/javax/management/remote/mandatory/connection, -Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/8/javax/management/remote/mandatory/connection, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /export/local/aurora/sandbox/results/workDir/javax/management/remote/mandatory/connection/RMIConnector_NPETest/./log, -port, 31939, -C-Dtest.src=/export/local/aurora/CommonData/j2se_jdk/jdk/test/javax/management/remote/mandatory/connection, -C-Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/8/javax/management/remote/mandatory/connection, -C-Xcomp, -C-server, -C-Xcomp, -C-Djava.rmi.server.useCodebaseOnly=false]
      RMID: rmid not started, will retry for 9900ms
      RMID: rmid not started, will retry for 9800ms
      RMID: rmid not started, will retry for 9700ms
      RMID: rmid not started, will retry for 9600ms
      RMID: rmid not started, will retry for 9500ms
      RMID: rmid not started, will retry for 9400ms
      RMID: rmid not started, will retry for 9300ms
      RMID: rmid not started, will retry for 9200ms
      RMID: rmid not started, will retry for 9100ms
      RMID: rmid not started, will retry for 9000ms
      RMID: rmid not started, will retry for 8900ms
      RMID: rmid not started, will retry for 8800ms
      RMID: rmid not started, will retry for 8700ms
      RMID: rmid not started, will retry for 8600ms
      RMID: rmid not started, will retry for 8500ms
      Activation.main: warning: sun.rmi.activation.execPolicy system
              property unspecified and no ExecPermissions/ExecOptionPermissions
              granted; subsequent activation attempts may fail due to unsuccessful
      ExecPermission/ExecOptionPermission permission checks. For
      documentation on how to configure rmid security, refer to:

              http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
              http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html

      RMID: rmid not started, will retry for 8400ms
      RMID: rmid not started, will retry for 8300ms
      RMID: rmid not started, will retry for 8200ms
      RMID: rmid not started, will retry for 8100ms
      RMID: rmid not started, will retry for 8000ms
      RMID: rmid not started, will retry for 7900ms
      RMID: rmid not started, will retry for 7800ms
      RMID: rmid not started, will retry for 7700ms
      RMID: rmid not started, will retry for 7600ms
      RMID: rmid not started, will retry for 7500ms
      RMID: rmid not started, will retry for 7400ms
      RMID: rmid not started, will retry for 7300ms

      <...>

      RMID: rmid not started, will retry for 300ms
      RMID: rmid not started, will retry for 200ms
      RMID: rmid not started, will retry for 100ms
      TEST FAILED: start rmid failed... giving up
      TestFailedException: TEST FAILED: start rmid failed... giving up
      at TestLibrary.bomb(TestLibrary.java:121)
      at RMID.start(RMID.java:290)
      at RMID.start(RMID.java:219)
      at RMIConnector_NPETest.main(RMIConnector_NPETest.java:41)
      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:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      RULE javax/management/remote/mandatory/connection/RMIConnector_NPETest.java Exception TestFailedException: TEST FAILED: start rmid failed... giving up

            sjiang Shanliang Jiang (Inactive)
            iaberg Ingemar Ã…berg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: