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

vmTestbase/nsk/jdi/ClassPrepareRequest/addClassExclusionFilter test did not receive a breakpoint event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • core-svc

      (sub) tests spotted (only on macosx-aarch64-debug so far) are:

      vmTestbase/nsk/jdi/ClassPrepareRequest/addClassExclusionFilter/filter001/TestDescription.java
      vmTestbase/nsk/jdi/ClassPrepareRequest/addClassExclusionFilter/filter002/TestDescription.java

      Test log:

      [20:2:19.555] binder> Launching debugee
      [20:2:19.814] binder> Waiting for VM initialized
      [20:2:19.815] Initial VMStartEvent received: VMStartEvent in thread main
      [20:2:19.816] EventHandler> Adding listener nsk.share.jdi.EventHandler$2@f4be3f9
      [20:2:19.816] EventHandler> Adding listener nsk.share.jdi.EventHandler$3@3fad3339
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$4@632ad733
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$5@43c3080f
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$6@30f988aa
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$1@70307f43
      [20:2:19.817] EventHandler> waitForRequestedEventCommon: enabling remove of listener nsk.share.jdi.EventHandler$7@1c3e792e
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$7@1c3e792e
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$1@6f87c78d
      [20:2:19.817] EventHandler> Adding listener nsk.share.jdi.EventHandler$8@10947c19
      [20:2:19.817] EventHandler> waitForRequestedEventCommon: vm.resume called
      [20:2:20.75] EventHandler> Received event set with policy = SUSPEND_EVENT_THREAD
      [20:2:20.76] EventHandler> waitForRequestedEventCommon: Received event set: event set, policy:1, count:1 = {ClassPrepareEvent in thread main}
      [20:2:20.76] EventHandler> Event: ClassPrepareEventImpl req class prepare request (enabled)
      [20:2:20.76] EventHandler> waitForRequestedEventCommon: Received event(ClassPrepareEvent in thread main) for request(class prepare request (enabled))
      [20:2:20.76] EventHandler> Removing listener nsk.share.jdi.EventHandler$7@1c3e792e
      [20:2:20.76] EventHandler> Removing listener nsk.share.jdi.EventHandler$1@6f87c78d
      [20:2:20.76] EventHandler> Removing listener nsk.share.jdi.EventHandler$8@10947c19
      [20:2:20.76] debugger> Received ClassPrepareEvent for debuggee class: nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001a
      [20:2:20.77] binder> Breakpoint set:
      breakpoint request nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001a:71 (disabled)
      [20:2:20.78] EventHandler> Adding listener nsk.share.jdi.TestDebuggerType1$1@2e669bef
      [20:2:20.78] debugger> TESTING BEGINS
      [20:2:20.78] debugger> RESUME DEBUGGEE VM
      [20:2:20.78] debugger> shouldRunAfterBreakpoint: entered
      [20:2:20.78] debugger> shouldRunAfterBreakpoint: waiting for breakpoint event during 1 sec.
      [20:7:20.324] # ERROR: debugger> shouldRunAfterBreakpoint: had not received breakpoint event during waitTime.
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: debugger> shouldRunAfterBreakpoint: had not received breakpoint event during waitTime.
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
      at nsk.share.Log.complain(Log.java:280)
      at nsk.share.jdi.TestDebuggerType1.complain(TestDebuggerType1.java:81)
      at nsk.share.jdi.TestDebuggerType1.setFailedStatus(TestDebuggerType1.java:88)
      at nsk.share.jdi.TestDebuggerType1.shouldRunAfterBreakpoint(TestDebuggerType1.java:248)
      at nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001.testRun(filter001.java:89)
      at nsk.share.jdi.TestDebuggerType1.runThis(TestDebuggerType1.java:122)
      at nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001.run(filter001.java:73)
      at nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001.main(filter001.java:65)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1447)
      [20:7:20.325] debugger> shouldRunAfterBreakpoint: exited with false.
      [20:7:20.325] debugger> TESTING ENDS
      [20:7:20.325] debugger> Waiting for debuggee's exit...
      [20:7:20.325] EventHandler> waitForVMDisconnect
      [20:7:21.166] debugee.stderr> [20:7:21.31] **> debuggee: debuggee started!
      [20:7:21.172] debugee.stderr> [20:7:21.169] **> debuggee: methodForCommunication();
      [20:7:21.172] EventHandler> Received event set with policy = SUSPEND_ALL
      [20:7:21.172] EventHandler> Event: BreakpointEventImpl req breakpoint request nsk.jdi.ClassPrepareRequest.addClassExclusionFilter.filter001a:71 (enabled)
      [20:7:21.172] debugger> Received communication breakpoint event.
      [21:0:15.123] EventHandler> Received event set with policy = SUSPEND_NONE
      [21:0:15.124] EventHandler> Event: VMDisconnectEventImpl req null
      [21:0:15.124] EventHandler> receieved VMDisconnect
      [21:0:15.124] EventHandler> Removing listener nsk.share.jdi.EventHandler$5@43c3080f
      [21:0:15.124] EventHandler> finished
      [21:0:15.124] EventHandler> waitForVMDisconnect: done
      [21:0:15.124] debugger> Event handler thread exited.
      [21:0:15.125] # ERROR: debugger> Debuggee returned unexpected exit status: 134

      Additional VM options:
      -XX:+UseParallelGC -Xcomp -XX:-TieredCompilation -XX:+UseNUMA



            Unassigned Unassigned
            enikitin Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: