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

vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker

    XMLWordPrintable

Details

    • b02
    • generic
    • generic

    Backports

      Description

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 TESTING BEGINS
        --> debugger: breakpointForCommunication
        debugee.stderr> **> debuggee: debuggee started!

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 :::::: case: # 0
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread0
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread0
        --> debugger: ......got : instanceof ThreadDeathEvent
        --> debugger: breakpointForCommunication

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 :::::: case: # 1
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread1
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread1
        --> debugger: ......got : instanceof ThreadDeathEvent
        --> debugger: breakpointForCommunication

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 :::::: case: # 2
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread2
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread2
        --> debugger: ......got : instanceof ThreadDeathEvent
        --> debugger: breakpointForCommunication

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 :::::: case: # 3
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread3
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread3
        --> debugger: ......got : instanceof ThreadDeathEvent
        --> debugger: breakpointForCommunication

        => nsk/jdi/EventSet/suspendPolicy/suspendpolicy009 :::::: case: # 4
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread4
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread4
        # ERROR: ##> debugger: ERROR: new event is not ThreadDeathEvent
        The following stacktrace is for failure analysis.
        nsk.share.TestFailure: ##> debugger: ERROR: new event is not ThreadDeathEvent
        at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
        at nsk.share.Log.complain(Log.java:403)
        at nsk.share.jdi.JDIBase.log3(JDIBase.java:69)
        at nsk.jdi.EventSet.suspendPolicy.suspendpolicy009.testRun(suspendpolicy009.java:377)
        at nsk.jdi.EventSet.suspendPolicy.suspendpolicy009.runTest(suspendpolicy009.java:208)
        at nsk.jdi.EventSet.suspendPolicy.suspendpolicy009.runThis(suspendpolicy009.java:151)
        at nsk.jdi.EventSet.suspendPolicy.suspendpolicy009.run(suspendpolicy009.java:94)
        at nsk.jdi.EventSet.suspendPolicy.suspendpolicy009.main(suspendpolicy009.java:87)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
        debugee.stderr> **> debuggee: 'run': enter :: threadName == thread5
        debugee.stderr> **> debuggee: 'run': exit :: threadName == thread5
        --> debugger: breakpointForCommunication
        # ERROR: ##> debugger: ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadDeathEvent in thread thread5' IS NOT a breakpoint **
        # 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 following stacktrace is for failure analysis.
        nsk.share.TestFailure: binder> Debugee VM has not exited correctly: trying to kill it
        at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
        at nsk.share.Log.complain(Log.java:403)
        at nsk.share.jpda.DebugeeProcess.complain(DebugeeProcess.java:455)
        at nsk.share.jpda.DebugeeProcess.close(DebugeeProcess.java:435)
        at nsk.share.jpda.DebugeeProcess.finalize(DebugeeProcess.java:464)
        at nsk.share.FinalizableObject.finalizeAtExit(FinalizableObject.java:48)
        at nsk.share.Finalizer$FinalizerThread.run(Finalizer.java:122)
        ------------ Try to print debuggee threads before killing process ------------
        The following stacktrace is for failure analysis.
        nsk.share.TestFailure:
        at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
        at nsk.share.Log.complain(Log.java:403)
        at nsk.share.jdi.Debugee.printThreadsInfo(Debugee.java:626)
        at nsk.share.jdi.Debugee.killDebugee(Debugee.java:637)
        at nsk.share.jdi.LocalLaunchedDebugee.killDebugee(Binder.java:1038)
        at nsk.share.jpda.DebugeeProcess.close(DebugeeProcess.java:436)
        at nsk.share.jpda.DebugeeProcess.finalize(DebugeeProcess.java:464)
        at nsk.share.FinalizableObject.finalizeAtExit(FinalizableObject.java:48)
        at nsk.share.Finalizer$FinalizerThread.run(Finalizer.java:122)
        com.sun.jdi.VMDisconnectedException: connection is closed
        at jdk.jdi/com.sun.tools.jdi.TargetVM.send(TargetVM.java:293)
        at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1168)
        at jdk.jdi/com.sun.tools.jdi.PacketStream.send(PacketStream.java:79)
        at jdk.jdi/com.sun.tools.jdi.JDWP$VirtualMachine$AllThreads.enqueueCommand(JDWP.java:314)
        at jdk.jdi/com.sun.tools.jdi.JDWP$VirtualMachine$AllThreads.process(JDWP.java:305)
        at jdk.jdi/com.sun.tools.jdi.VMState.allThreads(VMState.java:207)
        at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.allThreads(VirtualMachineImpl.java:458)
        at nsk.share.jdi.Debugee.printThreadsInfo(Debugee.java:595)
        at nsk.share.jdi.Debugee.killDebugee(Debugee.java:637)
        at nsk.share.jdi.LocalLaunchedDebugee.killDebugee(Binder.java:1038)
        at nsk.share.jpda.DebugeeProcess.close(DebugeeProcess.java:436)
        at nsk.share.jpda.DebugeeProcess.finalize(DebugeeProcess.java:464)
        at nsk.share.FinalizableObject.finalizeAtExit(FinalizableObject.java:48)
        at nsk.share.Finalizer$FinalizerThread.run(Finalizer.java:122)
        binder> Killing debuggee by forcing target VM to exit
        binder> Ignore VMDisconnectedException while forcing debuggee VM to exit:
        com.sun.jdi.VMDisconnectedException: connection is closed
        Killing debugee VM process


        #>
        #> SUMMARY: Following errors occured
        #> during test execution:
        #>
        # ERROR: ##> debugger: ERROR: new event is not ThreadDeathEvent
        # ERROR: ##> debugger: ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadDeathEvent in thread thread5' IS NOT a breakpoint **
        # ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
        # ERROR: binder> Debugee VM has not exited correctly: trying to kill it

        Attachments

          Issue Links

            Activity

              People

                amenkov Alex Menkov
                amenkov Alex Menkov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: