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

JdpTest.sh hangs when trying to kill the test VM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc
    • Resolved In Build:
      b35
    • Verification:
      Verified

      Backports

        Description

        jdk/test/sun/management/jdp/JdpTest.sh got a timeout in jtreg. It appears to be when trying to kill the VM that ran the test.

        The log has:

        **** Test one ****
        Passed

        Between writing "Passed" for test 1 and starting test 2 (which immediately would write "**** Test two ****", the script does:

        _app_stop(){
           rm ${_lockFileName}

        # wait until VM is actually shuts down
          while true
          do
            npid=`_get_pid`
            if [ "${npid}" = "" ]
            then
              break
            fi
            sleep 1
          done
        }

        My guess is that the VM is overwhelmed by the beauty of this test and refuses to stop, or maybe that there is a zombie process on the machine that is found by _get_pid. I checked on the host that ran the test but found no zombie.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dsamersoff Dmitriy Samersoff
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: