-
Bug
-
Resolution: Unresolved
-
P4
-
23, 24
-
x86_64
-
linux
The following test timed out:
vmTestbase/nsk/jdi/ThreadDeathEvent/thread/thread001/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(12/1601)----------
command: driver nsk.jdi.ThreadDeathEvent.thread.thread001 -verbose -arch=linux-x64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg "
reason: User specified action: run driver nsk.jdi.ThreadDeathEvent.thread.thread001 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Mon Apr 15 06:04:07 UTC 2024
Mode: agentvm
Agent id: 15
Additional exports to unnamed modules from @modules: java.base/jdk.internal.misc
Additional opens to unnamed modules from @modules: java.base/jdk.internal.misc
Timeout signalled after 480 seconds
Timeout information:
--- Timeout information end.
finished: Mon Apr 15 06:21:00 UTC 2024
elapsed time (seconds): 1012.926
----------configuration:(17/2159)----------
<snip>
----------System.out:(89/6932)*----------
Connecting to debuggee
binder> VirtualMachineManager: version 23.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@1b0a6d1c
binder> Connector arguments:
binder> main=nsk.jdi.ThreadDeathEvent.thread.thread001a \u0000-verbose\u0000 \u0000-arch=linux-x64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg "\u0000 \u0000-pipe.port=49579\u0000
binder> includevirtualthreads=y
binder> quote=\u0000
binder> home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+19-1505/linux-x64-debug.jdk/jdk-23/fastdebug
binder> vmexec=java
binder> suspend=true
binder> options=-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg -classpath \u0000/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/vmTestbase/nsk/jdi/ThreadDeathEvent/thread/thread001/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/vmTestbase:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/test/lib\u0000
binder> Launching debugee
binder> Waiting for VM initialized
Initial VMStartEvent received: VMStartEvent in thread main
Resuming debuggee
Waiting for command: ready
debugee.stderr> innerThread thread started
debugee.stderr> outerThread thread started
debugee.stderr> outerDaemon thread started
debugee.stderr> All checked threads started in debuggee.
debugee.stderr> innerDaemon thread started
Creating request for ClassPrepareEvent
Starting eventHandler
Sending command: go
debugee.stderr> outerThread thread completed
debugee.stderr> innerDaemon thread completed
debugee.stderr> outerDaemon thread completed
debugee.stderr> innerThread thread completed
Event received:
ThreadDeathEvent in thread outerThread
ThreadDeathEvent received
Expected ThreadDeathEvent was received for outerThread
Event received:
ThreadDeathEvent in thread innerDaemon
ThreadDeathEvent received
Expected ThreadDeathEvent was received for innerDaemon
Event received:
ThreadDeathEvent in thread innerThread
ThreadDeathEvent received
Expected ThreadDeathEvent was received for innerThread
Event received:
ThreadDeathEvent in thread outerDaemon
ThreadDeathEvent received
Expected ThreadDeathEvent was received for outerDaemon
Disabling event request
eventHandler completed
java.io.EOFException
at java.base/java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:3228)
at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1701)
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:528)
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:486)
at nsk.share.jpda.SocketConnection.doReadObject(SocketConnection.java:583)
at nsk.share.jpda.SocketConnection.readObject(SocketConnection.java:518)
at nsk.share.jpda.SocketIOPipe.readln(SocketIOPipe.java:195)
at nsk.jdi.ThreadDeathEvent.thread.thread001.run(thread001.java:225)
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
# ERROR: TEST FAILURE: Caught EOFException while reading an object from PipeIO Listener Thread connection. Check if debuggee process exited prematurely (crashed or killed).
# ERROR:
The following stacktrace is for failure analysis.
nsk.share.TestFailure: TEST FAILURE: Caught EOFException while reading an object from PipeIO Listener Thread connection. Check if debuggee process exited prematurely (crashed or killed).
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.jdi.ThreadDeathEvent.thread.thread001.run(thread001.java:255)
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
Sending command: quit
Waiting for debuggee terminating
# ERROR: Debuggee FAILED with exit code: 134
# ERROR: TEST FAILED
----------System.err:(10/551)----------
java.lang.RuntimeException: TEST FAILED with result 2
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:80)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details
vmTestbase/nsk/jdi/ThreadDeathEvent/thread/thread001/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(12/1601)----------
command: driver nsk.jdi.ThreadDeathEvent.thread.thread001 -verbose -arch=linux-x64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg "
reason: User specified action: run driver nsk.jdi.ThreadDeathEvent.thread.thread001 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Mon Apr 15 06:04:07 UTC 2024
Mode: agentvm
Agent id: 15
Additional exports to unnamed modules from @modules: java.base/jdk.internal.misc
Additional opens to unnamed modules from @modules: java.base/jdk.internal.misc
Timeout signalled after 480 seconds
Timeout information:
--- Timeout information end.
finished: Mon Apr 15 06:21:00 UTC 2024
elapsed time (seconds): 1012.926
----------configuration:(17/2159)----------
<snip>
----------System.out:(89/6932)*----------
Connecting to debuggee
binder> VirtualMachineManager: version 23.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@1b0a6d1c
binder> Connector arguments:
binder> main=nsk.jdi.ThreadDeathEvent.thread.thread001a \u0000-verbose\u0000 \u0000-arch=linux-x64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg "\u0000 \u0000-pipe.port=49579\u0000
binder> includevirtualthreads=y
binder> quote=\u0000
binder> home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+19-1505/linux-x64-debug.jdk/jdk-23/fastdebug
binder> vmexec=java
binder> suspend=true
binder> options=-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp -Dcom.oracle.usagetracker.config.file=/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/./testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/usage-tracker.cfg -classpath \u0000/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/vmTestbase/nsk/jdi/ThreadDeathEvent/thread/thread001/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/vmTestbase:/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9672/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52cd45bd-8dc2-4e2c-8771-39753510ecb0/runs/e34c1542-ef20-4734-b73f-c42e62769c9f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/5/test/lib\u0000
binder> Launching debugee
binder> Waiting for VM initialized
Initial VMStartEvent received: VMStartEvent in thread main
Resuming debuggee
Waiting for command: ready
debugee.stderr> innerThread thread started
debugee.stderr> outerThread thread started
debugee.stderr> outerDaemon thread started
debugee.stderr> All checked threads started in debuggee.
debugee.stderr> innerDaemon thread started
Creating request for ClassPrepareEvent
Starting eventHandler
Sending command: go
debugee.stderr> outerThread thread completed
debugee.stderr> innerDaemon thread completed
debugee.stderr> outerDaemon thread completed
debugee.stderr> innerThread thread completed
Event received:
ThreadDeathEvent in thread outerThread
ThreadDeathEvent received
Expected ThreadDeathEvent was received for outerThread
Event received:
ThreadDeathEvent in thread innerDaemon
ThreadDeathEvent received
Expected ThreadDeathEvent was received for innerDaemon
Event received:
ThreadDeathEvent in thread innerThread
ThreadDeathEvent received
Expected ThreadDeathEvent was received for innerThread
Event received:
ThreadDeathEvent in thread outerDaemon
ThreadDeathEvent received
Expected ThreadDeathEvent was received for outerDaemon
Disabling event request
eventHandler completed
java.io.EOFException
at java.base/java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:3228)
at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1701)
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:528)
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:486)
at nsk.share.jpda.SocketConnection.doReadObject(SocketConnection.java:583)
at nsk.share.jpda.SocketConnection.readObject(SocketConnection.java:518)
at nsk.share.jpda.SocketIOPipe.readln(SocketIOPipe.java:195)
at nsk.jdi.ThreadDeathEvent.thread.thread001.run(thread001.java:225)
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
# ERROR: TEST FAILURE: Caught EOFException while reading an object from PipeIO Listener Thread connection. Check if debuggee process exited prematurely (crashed or killed).
# ERROR:
The following stacktrace is for failure analysis.
nsk.share.TestFailure: TEST FAILURE: Caught EOFException while reading an object from PipeIO Listener Thread connection. Check if debuggee process exited prematurely (crashed or killed).
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.jdi.ThreadDeathEvent.thread.thread001.run(thread001.java:255)
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
Sending command: quit
Waiting for debuggee terminating
# ERROR: Debuggee FAILED with exit code: 134
# ERROR: TEST FAILED
----------System.err:(10/551)----------
java.lang.RuntimeException: TEST FAILED with result 2
at nsk.jdi.ThreadDeathEvent.thread.thread001.main(thread001.java:80)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details
- relates to
-
JDK-8328303 3 JDI tests timed out with UT enabled
- Resolved