The following test failed in the JDK20 CI:
vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod008/TestDescription.java
Here's a snippet from the log file:
#section:main
----------messages:(6/932)----------
command: main nsk.jdi.ClassType.invokeMethod.invokemethod008 -verbose -arch=mac-x64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations"
reason: User specified action: run main/othervm nsk.jdi.ClassType.invokeMethod.invokemethod008 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
elapsed time (seconds): 797.076
----------configuration:(0/0)----------
----------System.out:(51/2907)*----------
binder> VirtualMachineManager: version 20.0
binder> Finding connector: default
binder> LaunchingConnector:
binder> name: com.sun.jdi.CommandLineLaunch
binder> description: Launches target using Sun Java VM command line and attaches to it
binder> transport: com.sun.tools.jdi.SunCommandLineLauncher$2@9995dcb
binder> Connector arguments:
binder> main=nsk.share.MainWrapper Virtual nsk.jdi.ClassType.invokeMethod.invokemethod008a \u0000-verbose\u0000 \u0000-arch=mac-x64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations"\u0000 \u0000-pipe.port=63579\u0000
binder> includevirtualthreads=y
binder> quote=\u0000
binder> home=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+13-791/macosx-x64-debug.jdk/jdk-20/fastdebug
binder> vmexec=java
binder> suspend=true
binder> options=-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations --enable-preview
binder> Launching debugee
binder> Waiting for VM initialized
Initial VMStartEvent received: VMStartEvent in thread main
binder> Received expected signal from debugee: ready
TEST BEGINS
===========
waiting for signal "ready" from the invoked method
binder> Breakpoint set:
breakpoint request nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 (disabled)
binder> Waiting for event by request:
breakpoint request nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 (enabled)
binder> Got requested event:
BreakpointEvent@nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 in thread main
Invoking debugee's method : nsk.jdi.ClassType.invokeMethod.invokemethod008a.justMethod()
binder> Received expected signal from debugee: ready
justMethod has been invoked. Trying to dispose debugee's VM
debugee.stderr> invoked_method:: waiting response from debugger...
waiting VMDisconnectedException
!!!expected VMDisconnectedException
Virtual machine has been disposed
sending signal "finish" to the invoked method
=============
TEST FINISHES
debugee.stderr> invoked_method:: completed succesfully.
!!!out of wait time!!!
sending signal "abort" to the invoked method
Timeout refired 480 times
----------System.err:(17/1171)----------
nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
at nsk.share.jdi.Debugee.quit(Debugee.java:566)
at nsk.jdi.ClassType.invokeMethod.invokemethod008.run(invokemethod008.java:99)
at nsk.jdi.ClassType.invokeMethod.invokemethod008.main(invokemethod008.java:75)
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:1589)
nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
at nsk.share.jdi.Debugee.quit(Debugee.java:566)
at nsk.jdi.ClassType.invokeMethod.invokemethod008$AbortingThread.run(invokemethod008.java:239)
JavaTest Message: Test threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
JavaTest Message: shutting down test
STATUS:Failed.STATUS:Failed.`main' threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
`main' threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
----------rerun:(34/8480)*----------
vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod008/TestDescription.java
Here's a snippet from the log file:
#section:main
----------messages:(6/932)----------
command: main nsk.jdi.ClassType.invokeMethod.invokemethod008 -verbose -arch=mac-x64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations"
reason: User specified action: run main/othervm nsk.jdi.ClassType.invokeMethod.invokemethod008 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
elapsed time (seconds): 797.076
----------configuration:(0/0)----------
----------System.out:(51/2907)*----------
binder> VirtualMachineManager: version 20.0
binder> Finding connector: default
binder> LaunchingConnector:
binder> name: com.sun.jdi.CommandLineLaunch
binder> description: Launches target using Sun Java VM command line and attaches to it
binder> transport: com.sun.tools.jdi.SunCommandLineLauncher$2@9995dcb
binder> Connector arguments:
binder> main=nsk.share.MainWrapper Virtual nsk.jdi.ClassType.invokeMethod.invokemethod008a \u0000-verbose\u0000 \u0000-arch=mac-x64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations"\u0000 \u0000-pipe.port=63579\u0000
binder> includevirtualthreads=y
binder> quote=\u0000
binder> home=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+13-791/macosx-x64-debug.jdk/jdk-20/fastdebug
binder> vmexec=java
binder> suspend=true
binder> options=-XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S74693/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1722ca47-3408-411c-8f06-ea180c9262ed/runs/984ed351-1219-4392-90f4-a6049bba95cd/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dmain.wrapper=Virtual -XX:-VerifyContinuations --enable-preview
binder> Launching debugee
binder> Waiting for VM initialized
Initial VMStartEvent received: VMStartEvent in thread main
binder> Received expected signal from debugee: ready
TEST BEGINS
===========
waiting for signal "ready" from the invoked method
binder> Breakpoint set:
breakpoint request nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 (disabled)
binder> Waiting for event by request:
breakpoint request nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 (enabled)
binder> Got requested event:
BreakpointEvent@nsk.jdi.ClassType.invokeMethod.invokemethod008a:51 in thread main
Invoking debugee's method : nsk.jdi.ClassType.invokeMethod.invokemethod008a.justMethod()
binder> Received expected signal from debugee: ready
justMethod has been invoked. Trying to dispose debugee's VM
debugee.stderr> invoked_method:: waiting response from debugger...
waiting VMDisconnectedException
!!!expected VMDisconnectedException
Virtual machine has been disposed
sending signal "finish" to the invoked method
=============
TEST FINISHES
debugee.stderr> invoked_method:: completed succesfully.
!!!out of wait time!!!
sending signal "abort" to the invoked method
Timeout refired 480 times
----------System.err:(17/1171)----------
nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
at nsk.share.jdi.Debugee.quit(Debugee.java:566)
at nsk.jdi.ClassType.invokeMethod.invokemethod008.run(invokemethod008.java:99)
at nsk.jdi.ClassType.invokeMethod.invokemethod008.main(invokemethod008.java:75)
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:1589)
nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
at nsk.share.jdi.Debugee.quit(Debugee.java:566)
at nsk.jdi.ClassType.invokeMethod.invokemethod008$AbortingThread.run(invokemethod008.java:239)
JavaTest Message: Test threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
JavaTest Message: shutting down test
STATUS:Failed.STATUS:Failed.`main' threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
`main' threw exception: nsk.share.Failure: Got unexpected debugee VM exit status: 134 (not 95)
----------rerun:(34/8480)*----------
- relates to
-
JDK-8235422 JDI BScenarios/singlethrd/tc01x002 failed due to timeout
-
- Closed
-