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

jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException

    Details

    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      x86_64
    • OS:
      windows

      Backports

        Description

        The following test failure has been spotted in the JDK13 CI:

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

        Here's a snippet of the log file:

        ==> 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
        --> debugger: -----t2: InterruptedException
        --> debugger: -----t2: method 'run' exit
        debugee.stderr> **> debuggee: after: Thread.sleep
        --> debugger: breakpointForCommunication
        # ERROR: ##> debugger: ERROR: VMDisconnectedException : com.sun.jdi.VMDisconnectedException
        The following stacktrace is for failure analysis.
        nsk.share.TestFailure: ##> debugger: ERROR: VMDisconnectedException : com.sun.jdi.VMDisconnectedException
        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.runTest(remove004.java:262)
        at nsk.jdi.EventQueue.remove.remove004.runThis(remove004.java:195)
        at nsk.jdi.EventQueue.remove.remove004.run(remove004.java:101)
        at nsk.jdi.EventQueue.remove.remove004.main(remove004.java:94)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:835)
        # ERROR: ##> debugger: test cancelled due to VMDisconnectedException
        --> debugger: ......trying: vm.process().destroy();
        TEST FAILED


        #>
        #> SUMMARY: Following errors occured
        #> during test execution:
        #>
        # ERROR: ##> debugger: ERROR: VMDisconnectedException : com.sun.jdi.VMDisconnectedException
        # ERROR: ##> debugger: test cancelled due to VMDisconnectedException
        ----------System.err:(0/0)----------

        So far I have only seen this failure mode on Win*.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gadams Gary Adams (Inactive)
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: