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

JdpTest.sh hangs when trying to kill the test VM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 9
    • 9
    • hotspot
    • svc
    • b35
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: