The following test failed in the JDK16 CI:
vmTestbase/nsk/jdi/stress/serial/heapwalking002/TestDescription.java
Here's a snippet from the log file:
Execute debugger: nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003@7b81b100
debugee.stderr> Debuggee: received the command: COMMAND_EXECUTE_DEBUGGEE:nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a : sending the command: ready
debugee.stderr> Debuggee: received the command: startThreads:15
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a : sending the command: ready
debugee.stderr> Debuggee: received the command: stopThreads
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a : sending the command: ready
# ERROR: Unexpected size of referenceType.instances(java.lang.Thread): 11, expected: 10
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Unexpected size of referenceType.instances(java.lang.Thread): 11, expected: 10
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
at nsk.share.Log.complain(Log.java:399)
at nsk.share.jdi.HeapwalkingDebugger.checkDebugeeAnswer_instances(HeapwalkingDebugger.java:116)
at nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003.doTest(referringObjects003.java:183)
at nsk.share.jdi.SerialExecutionDebugger.executeTests(SerialExecutionDebugger.java:294)
at nsk.share.jdi.SerialExecutionDebugger.doTest(SerialExecutionDebugger.java:233)
at nsk.share.jdi.TestDebuggerType2.runIt(TestDebuggerType2.java:214)
at nsk.share.jdi.SerialExecutionDebugger.main(SerialExecutionDebugger.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:102)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
debugee.stderr> Debuggee: received the command: forceGC
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a : sending the command: ready
debugee.stderr> Debuggee: received the command: forceGC
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a : sending the command: ready
# ERROR: Debugger nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003@7b81b100 finished with errors
debugee.stderr> Debuggee: received the command: quit
debugee.stderr> Debuggee: exiting
debugee.stderr> Debuggee nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003a@515f550a finished successfully
debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
debugee.stderr> Debuggee: received the command: COMMAND_CLEAR_DEBUGGEE
debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
debugee.stderr> Debuggee: received the command: quit
debugee.stderr> Debuggee: exiting
Debuggee's process finished with status: 95
TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Unexpected size of referenceType.instances(java.lang.Thread): 11, expected: 10
# ERROR: Debugger nsk.jdi.ObjectReference.referringObjects.referringObjects003.referringObjects003@7b81b100 finished with errors
----------System.err:(0/0)----------