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

jdi/EventQueue/remove/remove004 failed due to "ERROR: thread2 is not alive"

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      x86_64
    • OS:
      linux_ubuntu, solaris_11

      Backports

        Description

        The following test failed in my jdk-13+11 stress testing in
        the slowdebug config:

        vmTestbase/nsk/jdi/EventQueue/remove/remove004/TestDescription.java

        Here's a snippet of the .jtr file:

        ==> nsk/jdi/EventQueue/remove/remove004 TESTING BEGINS
        --> debugger: breakpointForCommunication
        debugee.stderr> **> debuggee: debuggee started!
        debugee.stderr> **> debuggee: before: methodForCommunication();

        ==> nsk/jdi/EventQueue/remove/remove004 new check: # 0
        debugee.stderr> **> debuggee: before: Thread.sleep
        --> debugger: thread2 is created
        --> debugger: before: thread2.start()
        --> debugger: before: waitnotifyObj.wait();
        --> debugger: -----t2: method 'run' enter
        --> debugger: -----t2: entered into block: synchronized (waitnotifyObj)
        --> debugger: -----t2: exited from block: synchronized (waitnotifyObj)
        --> debugger: mainThread is out of: synchronized (lockingObject)
        --> debugger: -----t2: entered into block: synchronized (lockingObject)
        --> debugger: -----t2: exited from block: synchronized (lockingObject)
        --> debugger: -----t2: eventSet = eventQueue.remove(); expects: InterruptedException
        debugee.stderr> **> debuggee: after: Thread.sleep
        # ERROR: ##> debugger: ERROR: -----t2: Exception : nsk.jdi.EventQueue.remove.remove004$JDITestRuntimeException: JDITestRuntimeException : ** return from eventQueue.remove(); **
        The following stacktrace is for failure analysis.
        nsk.share.TestFailure: ##> debugger: ERROR: -----t2: Exception : nsk.jdi.EventQueue.remove.remove004$JDITestRuntimeException: JDITestRuntimeException : ** return from eventQueue.remove(); **
                at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
                at nsk.share.Log.complain(Log.java:399)
                at nsk.jdi.EventQueue.remove.remove004.log3(remove004.java:120)
                at nsk.jdi.EventQueue.remove.remove004$Threadremove004.run(remove004.java:527)
        --> debugger: -----t2: method 'run' exit
        # ERROR: ##> debugger: ERROR: thread2 is not alive

        ==> nsk/jdi/EventQueue/remove/remove004 TESTING ENDS
        --> debugger: waiting for VMDeathEvent
        # ERROR: ##> debugger: ERROR: Exception : nsk.jdi.EventQueue.remove.remove004$JDITestRuntimeException: JDITestRuntimeException : ** EXCEPTION while waiting for event ** : nsk.jdi.EventQueue.remove.remove004$JDITestRuntimeException: JDITestRuntimeException : ** TIMEOUT while waiting for event **
        # ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
        --> debugger: ......forcing: vm.exit();
        TEST FAILED
        # ERROR: binder> Debugee VM has not exited correctly: trying to kill it


        The test failed in 3/3 'slowdebug' configs, but did not fail in
        3/3 'fastdebug' or 3/3 'release' configs.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ngasson Nick Gasson
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: