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

JDB kill001 and kill002 tests timed out

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following two tests timed out the JDK14 CI:

      vmTestbase/nsk/jdb/kill/kill001/kill001.java
      vmTestbase/nsk/jdb/kill/kill002/kill002.java

      Both tests failed due to timeout, but during JTREG timeout
      processing, both tests actually PASSed.

      Here's a snippet from kill002.java log:

      #section:main
      ----------messages:(6/756)----------
      command: main PropertyResolvingWrapper nsk.jdb.kill.kill002.kill002 -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=${test.jdk}/bin/jdb -java.options="${test.vm.opts} ${test.java.opts}" -workdir=. -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
      reason: User specified action: run main/othervm PropertyResolvingWrapper nsk.jdb.kill.kill002.kill002 -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=${test.jdk}/bin/jdb -java.options="${test.vm.opts} ${test.java.opts}" -workdir=. -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 607.797
      ----------configuration:(0/0)----------
      ----------System.out:(9/740)----------
      run [nsk.jdb.kill.kill002.kill002, -arch=mac-x64, -waittime=5, -debugee.vmkind=java, -transport.address=dynamic, -jdb=/mesos/work_dir/jib-master/install/jdk-14+26-1199/macosx-x64-debug.jdk/jdk-14/fastdebug/bin/jdb, -java.options="-XX:MaxRAMPercentage=12 -server", -workdir=., -debugee.vmkeys="-XX:MaxRAMPercentage=12 -server"]
      Launching process by array of args:
          args[0]: >/mesos/work_dir/jib-master/install/jdk-14+26-1199/macosx-x64-debug.jdk/jdk-14/fastdebug/bin/jdb<
          args[1]: >-J-XX:MaxRAMPercentage=12<
          args[2]: >-J-server<
          args[3]: >-connect<
          args[4]: >com.sun.jdi.CommandLineLaunch:vmexec=java,options= "-XX:MaxRAMPercentage=12" "-server",main=nsk.jdb.kill.kill002.kill002a<
      Timeout refired 480 times
      TEST PASSED
      ----------System.err:(0/0)----------
      ----------rerun:(31/6960)*----------

      Here's a snippet from kill001.java log:

      #section:main
      ----------messages:(6/757)----------
      command: main PropertyResolvingWrapper nsk.jdb.kill.kill001.kill001 -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=${test.jdk}/bin/jdb -java.options="${test.vm.opts} ${test.java.opts}" -workdir=. -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
      reason: User specified action: run main/othervm PropertyResolvingWrapper nsk.jdb.kill.kill001.kill001 -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=${test.jdk}/bin/jdb -java.options="${test.vm.opts} ${test.java.opts}" -workdir=. -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 1238.779
      ----------configuration:(0/0)----------
      ----------System.out:(9/740)----------
      run [nsk.jdb.kill.kill001.kill001, -arch=mac-x64, -waittime=5, -debugee.vmkind=java, -transport.address=dynamic, -jdb=/mesos/work_dir/jib-master/install/jdk-14+26-1199/macosx-x64-debug.jdk/jdk-14/fastdebug/bin/jdb, -java.options="-XX:MaxRAMPercentage=12 -server", -workdir=., -debugee.vmkeys="-XX:MaxRAMPercentage=12 -server"]
      Launching process by array of args:
          args[0]: >/mesos/work_dir/jib-master/install/jdk-14+26-1199/macosx-x64-debug.jdk/jdk-14/fastdebug/bin/jdb<
          args[1]: >-J-XX:MaxRAMPercentage=12<
          args[2]: >-J-server<
          args[3]: >-connect<
          args[4]: >com.sun.jdi.CommandLineLaunch:vmexec=java,options= "-XX:MaxRAMPercentage=12" "-server",main=nsk.jdb.kill.kill001.kill001a<
      Timeout refired 480 times
      TEST PASSED
      ----------System.err:(0/0)----------
      ----------rerun:(31/6960)*----------

      Because the actual duration for the two tests is so different:

      kill002.java elapsed time (seconds): 607.797
      kill001.java elapsed time (seconds): 1238.779

      I don't think a longer default timeout value is the fix.
      I suspect that both tests were hung and that something
      executed during JTREG timeout processing woke up
      the hung processes so the test could pass.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: