-
Bug
-
Resolution: Fixed
-
P4
-
21, 22
-
b07
-
x86_64, aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312956 | 21.0.1 | Chris Plummer | P4 | Resolved | Fixed | b04 |
JDK-8312413 | 21 | Chris Plummer | P4 | Resolved | Fixed | b32 |
JDK-8312614 | 17.0.9-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b04 |
JDK-8314178 | 17.0.9 | Martin Doerr | P4 | Resolved | Fixed | b03 |
JDK-8323109 | 11.0.23 | Andrew Lu | P4 | Resolved | Fixed | b01 |
JDK-8312962 | 11.0.22-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 |
JDK-8313255 | 8u401 | PAWAN CHAWDHARY | P4 | Resolved | Fixed | b01 |
vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java
Here's a snippet from the log file:
#section:main
----------messages:(6/1956)----------
command: main nsk.jdb.interrupt.interrupt001.interrupt001 -arch=linux-x64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=/opt/mach5/mesos/work_dir/jib-master/install/jdk-21+28-2370/linux-x64-debug.jdk/jdk-21/fastdebug/bin/jdb -java.options="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24786/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7017c33b-e64b-4be6-9c80-dd90f1817134/runs/94477d99-63d4-48b7-9576-5f84f27a68c5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdb/tmp -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation" -workdir=. -debugee.vmkeys="-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24786/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7017c33b-e64b-4be6-9c80-dd90f1817134/runs/94477d99-63d4-48b7-9576-5f84f27a68c5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdb/tmp -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation"
reason: User specified action: run main/othervm nsk.jdb.interrupt.interrupt001.interrupt001 -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -jdb=${test.jdk}/bin/jdb -java.options="${test.vm.opts} ${test.java.opts}" -workdir=. -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Wed Jun 21 11:39:31 UTC 2023
Mode: othervm [/othervm specified]
finished: Wed Jun 21 11:50:55 UTC 2023
elapsed time (seconds): 683.638
----------configuration:(0/0)----------
----------System.out:(173/11140)----------
Launching process by array of args:
args[0]: >/opt/mach5/mesos/work_dir/jib-master/install/jdk-21+28-2370/linux-x64-debug.jdk/jdk-21/fastdebug/bin/jdb<
args[1]: >-J-XX:MaxRAMPercentage=4.16667<
args[2]: >-J-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20<
args[3]: >-J-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24786/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7017c33b-e64b-4be6-9c80-dd90f1817134/runs/94477d99-63d4-48b7-9576-5f84f27a68c5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdb/tmp<
args[4]: >-J-Xcomp<
args[5]: >-J-XX:+CreateCoredumpOnCrash<
args[6]: >-J-ea<
args[7]: >-J-esa<
args[8]: >-J-XX:CompileThreshold=100<
args[9]: >-J-XX:+UnlockExperimentalVMOptions<
args[10]: >-J-server<
args[11]: >-J-XX:-TieredCompilation<
args[12]: >-connect<
args[13]: >com.sun.jdi.CommandLineLaunch:vmexec=java,options= "-XX:MaxRAMPercentage=4.16667" "-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20" "-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24786/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7017c33b-e64b-4be6-9c80-dd90f1817134/runs/94477d99-63d4-48b7-9576-5f84f27a68c5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdb/tmp" "-Xcomp" "-XX:+CreateCoredumpOnCrash" "-ea" "-esa" "-XX:CompileThreshold=100" "-XX:+UnlockExperimentalVMOptions" "-server" "-XX:-TieredCompilation",main=nsk.jdb.interrupt.interrupt001.interrupt001a -waittime 5<
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
launcher > Starting jdb launching local debuggee
Creating file for jdb stdout stream: ./jdb.stdout
Creating file for jdb session: ./jdb.session
Creating file for jdb stderr stream: ./jdb.stderr
Setting first breakpoint
Sending command: stop in nsk.jdb.interrupt.interrupt001.interrupt001a.main
reply[0]: Deferring breakpoint nsk.jdb.interrupt.interrupt001.interrupt001a.main.
reply[1]: It will be set after the class is loaded.
reply[2]: >
Starting debuggee class
Sending command: run
reply[0]: run nsk.jdb.interrupt.interrupt001.interrupt001a -waittime 5
reply[1]: Set uncaught java.lang.Throwable
reply[2]: Set deferred uncaught java.lang.Throwable
reply[3]: >
reply[4]: VM Started: Set deferred breakpoint nsk.jdb.interrupt.interrupt001.interrupt001a.main
reply[5]:
reply[6]: Breakpoint hit: "thread=main", nsk.jdb.interrupt.interrupt001.interrupt001a.main(), line=69 bci=0
reply[7]: 69 interrupt001a _interrupt001a = new interrupt001a();
reply[8]:
reply[9]: main[1]
Test cases starts.
Sending command: stop in nsk.jdb.interrupt.interrupt001.interrupt001a.breakHere
reply[0]: Set breakpoint nsk.jdb.interrupt.interrupt001.interrupt001a.breakHere
reply[1]: main[1]
Sending command: cont
reply[0]: >
reply[1]: Breakpoint hit: "thread=main", nsk.jdb.interrupt.interrupt001.interrupt001a.breakHere(), line=73 bci=0
reply[2]: 73 static void breakHere () {}
reply[3]:
reply[4]: main[1]
Sending command: threads
reply[0]: Group system:
reply[1]: (java.lang.ref.Reference$ReferenceHandler)498 Reference Handler running
reply[2]: (java.lang.ref.Finalizer$FinalizerThread)499 Finalizer cond. waiting
reply[3]: (java.lang.Thread)500 Signal Dispatcher running
reply[4]: (java.lang.Thread)497 Notification Thread running
reply[5]: Group main:
reply[6]: (java.lang.Thread)1 main running (at breakpoint)
reply[7]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)728 Thread-0 cond. waiting
reply[8]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)729 Thread-1 cond. waiting
reply[9]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)730 Thread-2 cond. waiting
reply[10]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)731 Thread-3 cond. waiting
reply[11]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)732 Thread-4 cond. waiting
reply[12]: Group InnocuousThreadGroup:
reply[13]: (jdk.internal.misc.InnocuousThread)526 Common-Cleaner cond. waiting
reply[14]: (jdk.internal.misc.InnocuousThread)716 Cleaner-0 cond. waiting
reply[15]: main[1]
Sending command: threads
reply[0]: Group system:
reply[1]: (java.lang.ref.Reference$ReferenceHandler)498 Reference Handler running
reply[2]: (java.lang.ref.Finalizer$FinalizerThread)499 Finalizer cond. waiting
reply[3]: (java.lang.Thread)500 Signal Dispatcher running
reply[4]: (java.lang.Thread)497 Notification Thread running
reply[5]: Group main:
reply[6]: (java.lang.Thread)1 main running (at breakpoint)
reply[7]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)728 Thread-0 cond. waiting
reply[8]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)729 Thread-1 cond. waiting
reply[9]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)730 Thread-2 cond. waiting
reply[10]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)731 Thread-3 cond. waiting
reply[11]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)732 Thread-4 cond. waiting
reply[12]: Group InnocuousThreadGroup:
reply[13]: (jdk.internal.misc.InnocuousThread)526 Common-Cleaner cond. waiting
reply[14]: (jdk.internal.misc.InnocuousThread)716 Cleaner-0 cond. waiting
reply[15]: main[1]
Sending command: set nsk.jdb.interrupt.interrupt001.interrupt001a.allWorkersAreWaiting=true
reply[0]: nsk.jdb.interrupt.interrupt001.interrupt001a.allWorkersAreWaiting=true = true
reply[1]: main[1]
Sending command: interrupt 728
reply[0]: main[1]
Sending command: interrupt 729
reply[0]: main[1]
Sending command: interrupt 730
reply[0]: main[1]
Sending command: interrupt 731
reply[0]: main[1]
Sending command: interrupt 732
reply[0]: main[1]
Sending command: threads
reply[0]: Group system:
reply[1]: (java.lang.ref.Reference$ReferenceHandler)498 Reference Handler running
reply[2]: (java.lang.ref.Finalizer$FinalizerThread)499 Finalizer cond. waiting
reply[3]: (java.lang.Thread)500 Signal Dispatcher running
reply[4]: (java.lang.Thread)497 Notification Thread running
reply[5]: Group main:
reply[6]: (java.lang.Thread)1 main running (at breakpoint)
reply[7]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)728 Thread-0 cond. waiting
reply[8]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)729 Thread-1 cond. waiting
reply[9]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)730 Thread-2 cond. waiting
reply[10]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)731 Thread-3 cond. waiting
reply[11]: (nsk.jdb.interrupt.interrupt001.interrupt001a$MyThread)732 Thread-4 cond. waiting
reply[12]: Group InnocuousThreadGroup:
reply[13]: (jdk.internal.misc.InnocuousThread)526 Common-Cleaner cond. waiting
reply[14]: (jdk.internal.misc.InnocuousThread)716 Cleaner-0 cond. waiting
reply[15]: main[1]
Sending command: cont
receiveReply FAILED due to "nsk.share.Failure: Prompt is not received during 300200 milliseconds.".
Pending reply output follows:
reply[0]: >
reply[1]: Breakpoint hit: "thread=main", nsk.jdb.interrupt.interrupt001.interrupt001a.breakHere(), line=73 bci=0
reply[2]: 73 static void breakHere () {}
reply[3]:
reply[4]: main[1]
# ERROR: Caught unexpected exception while executing the test: nsk.share.Failure: Prompt is not received during 300200 milliseconds.
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Caught unexpected exception while executing the test: nsk.share.Failure: Prompt is not received during 300200 milliseconds.
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.share.jdb.JdbTest.failure(JdbTest.java:74)
at nsk.share.jdb.JdbTest.runTest(JdbTest.java:158)
at nsk.jdb.interrupt.interrupt001.interrupt001.run(interrupt001.java:82)
at nsk.jdb.interrupt.interrupt001.interrupt001.main(interrupt001.java:76)
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.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
nsk.share.Failure: Prompt is not received during 300200 milliseconds.
at nsk.share.jdb.Jdb.waitForPrompt(Jdb.java:503)
at nsk.share.jdb.Jdb.receiveReply(Jdb.java:404)
at nsk.share.jdb.Jdb.receiveReplyFor(Jdb.java:351)
at nsk.share.jdb.Jdb.receiveReplyFor(Jdb.java:333)
at nsk.jdb.interrupt.interrupt001.interrupt001.runCases(interrupt001.java:128)
at nsk.share.jdb.JdbTest.runTest(JdbTest.java:149)
at nsk.jdb.interrupt.interrupt001.interrupt001.run(interrupt001.java:82)
at nsk.jdb.interrupt.interrupt001.interrupt001.main(interrupt001.java:76)
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.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
Waiting for jdb exits
# ERROR: jdb did not exit after timeout.
Sending quit command to jdb.
Sending command: quit
# ERROR: TEST FAILED
The following stacktrace is for failure analysis.
nsk.share.TestFailure: TEST FAILED
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.share.jdb.JdbTest.runTest(JdbTest.java:225)
at nsk.jdb.interrupt.interrupt001.interrupt001.run(interrupt001.java:82)
at nsk.jdb.interrupt.interrupt001.interrupt001.main(interrupt001.java:76)
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.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Caught unexpected exception while executing the test: nsk.share.Failure: Prompt is not received during 300200 milliseconds.
# ERROR: jdb did not exit after timeout.
# ERROR: TEST FAILED
----------System.err:(0/0)----------
----------rerun:(43/10266)*----------
- backported by
-
JDK-8312413 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8312614 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8312956 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8312962 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8313255 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8314178 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
-
JDK-8323109 vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
- Resolved
- relates to
-
JDK-8308232 nsk/jdb tests don't pass -verbose flag to the debuggee
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/9a16bee4
-
Commit openjdk/jdk17u-dev/d7b3306b
-
Commit openjdk/jdk21/fde53fc7
-
Commit openjdk/jdk/c84866ac
-
Review openjdk/jdk11u-dev/2431
-
Review openjdk/jdk17u-dev/1654
-
Review openjdk/jdk21/133
-
Review openjdk/jdk/14817