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

vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy008/ fails with "eventSet.suspendPolicy() != policyExpected"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • repo-loom
    • core-svc
    • b21

      The following failure happened with the vthread wrapper:

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

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

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

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

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

      => nsk/jdi/EventSet/suspendPolicy/suspendpolicy008 :::::: case: # 4
      debugee.stderr> **> debuggee: 'run': exit :: threadName == thread3
      --> debugger: ......got : instanceof ThreadStartEvent
      # ERROR: ##> debugger: ERROR: eventSet.suspendPolicy() != policyExpected
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: ##> debugger: ERROR: eventSet.suspendPolicy() != policyExpected
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at nsk.share.jdi.JDIBase.log3(JDIBase.java:70)
      at nsk.jdi.EventSet.suspendPolicy.suspendpolicy008.testRun(suspendpolicy008.java:383)
      at nsk.jdi.EventSet.suspendPolicy.suspendpolicy008.runTest(suspendpolicy008.java:208)
      at nsk.jdi.EventSet.suspendPolicy.suspendpolicy008.runThis(suspendpolicy008.java:151)
      at nsk.jdi.EventSet.suspendPolicy.suspendpolicy008.run(suspendpolicy008.java:94)
      at nsk.jdi.EventSet.suspendPolicy.suspendpolicy008.main(suspendpolicy008.java:87)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1555)
      # ERROR: ##> debugger: eventSet.suspendPolicy() == 0
      # ERROR: ##> debugger: policyExpected == 2
      --> debugger: breakpointForCommunication
      # ERROR: ##> debugger: ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event 'ThreadStartEvent in thread thread4' IS NOT a breakpoint **
      # ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
      --> debugger: ......forcing: vm.exit();
      TEST FAILED

            cjplummer Chris Plummer
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: