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

vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker

XMLWordPrintable

    • b02
    • generic
    • generic

        => nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002 TESTING BEGINS
        --> debugger: breakpointForCommunication
        debugee.stderr> **> debuggee: debuggee started!

        => nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002 :::::: case: # 0
        --> debugger: ......creating ThreadDeathRequests
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......checking up on returned List after creating new ThreadDeathRequest
        --> debugger: enabling created ThreadDeathRequest
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: ......deleting ThreadDeathRequests
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: removing item from the List; UnsupportedOperationException is expected
        --> debugger: UnsupportedOperationException
        --> debugger: breakpointForCommunication
        # ERROR: ##> debugger: ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadDeathEvent in thread UsageTracker' IS NOT a breakpoint **
        The following stacktrace is for failure analysis.
        nsk.share.TestFailure: ##> debugger: ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadDeathEvent in thread UsageTracker' IS NOT a breakpoint **
        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.EventRequestManager.threadDeathRequests.thrdeathreq002.runTest(thrdeathreq002.java:214)
        at nsk.jdi.EventRequestManager.threadDeathRequests.thrdeathreq002.runThis(thrdeathreq002.java:144)
        at nsk.jdi.EventRequestManager.threadDeathRequests.thrdeathreq002.run(thrdeathreq002.java:90)
        at nsk.jdi.EventRequestManager.threadDeathRequests.thrdeathreq002.main(thrdeathreq002.java:83)
        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)
        # 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: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadDeathEvent in thread UsageTracker' 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

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

                Created:
                Updated:
                Resolved: