-
Bug
-
Resolution: Fixed
-
P4
-
repo-loom
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359786 | 17.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
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
=> 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
- backported by
-
JDK-8359786 vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy008/ fails with "eventSet.suspendPolicy() != policyExpected"
-
- Resolved
-
- links to
-
Commit openjdk/jdk/5c093493
-
Commit(master) openjdk/jdk17u-dev/89770f2e
-
Review openjdk/jdk/8350
-
Review(master) openjdk/jdk17u-dev/3644