The following test failed in the JDK22 CI:
vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java
Here's a snippet from the log file:
#section:main
----------messages:(8/1260)----------
command: main nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002 -arch=linux-aarch64 -verbose -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp -Duse.JTREG_TEST_THREAD_FACTORY=Virtual -XX:+UseZGC -XX:+ZGenerational -XX:-VerifyContinuations"
reason: User specified action: run main/othervm/native nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002 -arch=${os.family}-${os.simpleArch} -verbose -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Thu Aug 31 21:24:05 UTC 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Thu Aug 31 21:38:01 UTC 2023
elapsed time (seconds): 835.49
----------configuration:(0/0)----------
----------System.out:(340/14325)----------
>>> Preparing debugee for testing
Launching debugee
transport> port == 0, disabling SO_REUSEADDR
Debugee> Starting java process:
"/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+14-966/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/java" "-XX:MaxRAMPercentage=6.25" "-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20" "-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp" "-Duse.JTREG_TEST_THREAD_FACTORY=Virtual" "-XX:+UseZGC" "-XX:+ZGenerational" "-XX:-VerifyContinuations" "-Xrunjdwp:server=n,transport=dt_socket,address=localhost:37871,includevirtualthreads=y" "nsk.share.MainWrapper" "Virtual" "nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a" "-arch=linux-aarch64" "-verbose" "-waittime=5" "-debugee.vmkind=java" "-transport.address=dynamic" "-debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp -Duse.JTREG_TEST_THREAD_FACTORY=Virtual -XX:+UseZGC -XX:+ZGenerational -XX:-VerifyContinuations"" "-pipe.port=43471"
Debugee> Establishing JDWP socket connection
Debugee> Listening from debugee
Waiting for VM_INIT event
Querying for IDSizes
Resuming debugee VM
Waiting for signal from debugee: ready
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = -1
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000003 (3)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 03 00 0b 0e ff ff ff ff ff ................
0010: ff ff ff 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000003 (3)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0014 (20)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 03 80 00 14 ...........
Packet end
Expected error: 20
debugee.stderr> Debuggee: received the command: createStateTestThread
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000018 (24)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 18 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000018 (24)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 18 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
Received signal from debugee: ready
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000019 (25)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 19 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000019 (25)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 19 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001a (26)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1a 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001a (26)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1a 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001b (27)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1b 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001b (27)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1b 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001c (28)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1c 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001c (28)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000a (10)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1c 80 00 0a ...........
Packet end
Expected error: 10
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001e (30)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1e 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001e (30)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000a (10)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1e 80 00 0a ...........
Packet end
Expected error: 10
debugee.stderr> Debuggee: received the command: stopInNative
debugee.stderr> Enter native method
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 20
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000033 (51)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 33 00 0b 0e 00 00 00 00 00 .......3........
0010: 00 00 14 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000033 (51)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 33 80 00 0d .......3...
Packet end
Expected error: 13
Create command: ThreadReference.ForceEarlyReturn
threadID = 20
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000035 (53)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 35 00 0b 0e 00 00 00 00 00 .......5........
0010: 00 00 14 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000035 (53)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0020 (32)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 35 80 00 20 .......5..
Packet end
Expected error: 32
Waiting for reply packet
debugee.stderr> Debuggee: received the command: exitInNative
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000f (15)
0004 (id) : 0x00000036 (54)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0000 (0)
Entire packet (15 bytes):
0000: 00 00 00 0f 00 00 00 36 80 00 00 00 00 00 02 .......6.......
Packet end
Checking reply packet header
Parsing reply packet:
debugee.stderr> Debuggee: received the command: startNewThread
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 21
Value = (VOID)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000014 (20)
0004 (id) : 0x00000037 (55)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (20 bytes):
0000: 00 00 00 14 00 00 00 37 00 0b 0e 00 00 00 00 00 .......7........
0010: 00 00 15 56 ...V
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000037 (55)
0008 (flags) : 0x80 (-128)
000a (error) : 0x001f (31)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 37 80 00 1f .......7...
Packet end
Expected error: 31
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000038 (56)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0000 (0)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 38 80 00 00 .......8...
Packet end
Checking reply packet header
Parsing reply packet:
Received signal from debugee: ready
Sending signal to debugee: quit
Waiting for debugee exits
Timeout signalled after 480 seconds
# ERROR: Debugee FAILED with exit code: 134
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Debugee FAILED with exit code: 134
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.share.jdwp.TestDebuggerType1.quitDebugee(TestDebuggerType1.java:191)
at nsk.share.jdwp.TestDebuggerType1.runIt(TestDebuggerType1.java:131)
at nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002.run(forceEarlyReturn002.java:103)
at nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002.main(forceEarlyReturn002.java:99)
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.VirtualThread.run(VirtualThread.java:309)
TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Debugee FAILED with exit code: 134
----------System.err:(0/0)----------
----------rerun:(42/11323)*----------
<snip>
result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+14-966/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 835480ms).
The test timed out, but it appears to have happened because
the debuggee failed with "exit code: 134". I don't see any
hs_err_pid files in the artifacts for this test run.
vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java
Here's a snippet from the log file:
#section:main
----------messages:(8/1260)----------
command: main nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002 -arch=linux-aarch64 -verbose -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp -Duse.JTREG_TEST_THREAD_FACTORY=Virtual -XX:+UseZGC -XX:+ZGenerational -XX:-VerifyContinuations"
reason: User specified action: run main/othervm/native nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002 -arch=${os.family}-${os.simpleArch} -verbose -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Thu Aug 31 21:24:05 UTC 2023
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Thu Aug 31 21:38:01 UTC 2023
elapsed time (seconds): 835.49
----------configuration:(0/0)----------
----------System.out:(340/14325)----------
>>> Preparing debugee for testing
Launching debugee
transport> port == 0, disabling SO_REUSEADDR
Debugee> Starting java process:
"/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+14-966/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/java" "-XX:MaxRAMPercentage=6.25" "-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20" "-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp" "-Duse.JTREG_TEST_THREAD_FACTORY=Virtual" "-XX:+UseZGC" "-XX:+ZGenerational" "-XX:-VerifyContinuations" "-Xrunjdwp:server=n,transport=dt_socket,address=localhost:37871,includevirtualthreads=y" "nsk.share.MainWrapper" "Virtual" "nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a" "-arch=linux-aarch64" "-verbose" "-waittime=5" "-debugee.vmkind=java" "-transport.address=dynamic" "-debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152533/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8611eaf9-de0a-4f95-baa6-82686a11fbb6/runs/61ff66a5-0237-488a-a072-83c1b0bd38d9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdwp/tmp -Duse.JTREG_TEST_THREAD_FACTORY=Virtual -XX:+UseZGC -XX:+ZGenerational -XX:-VerifyContinuations"" "-pipe.port=43471"
Debugee> Establishing JDWP socket connection
Debugee> Listening from debugee
Waiting for VM_INIT event
Querying for IDSizes
Resuming debugee VM
Waiting for signal from debugee: ready
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = -1
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000003 (3)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 03 00 0b 0e ff ff ff ff ff ................
0010: ff ff ff 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000003 (3)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0014 (20)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 03 80 00 14 ...........
Packet end
Expected error: 20
debugee.stderr> Debuggee: received the command: createStateTestThread
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000018 (24)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 18 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000018 (24)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 18 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
Received signal from debugee: ready
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000019 (25)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 19 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000019 (25)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 19 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001a (26)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1a 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001a (26)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1a 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001b (27)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1b 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001b (27)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1b 80 00 0d ...........
Packet end
Expected error: 13
debugee.stderr> Debuggee: received the command: stateTestThreadNextState
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001c (28)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1c 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001c (28)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000a (10)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1c 80 00 0a ...........
Packet end
Expected error: 10
Create command: ThreadReference.ForceEarlyReturn
threadID = 19
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x0000001e (30)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 1e 00 0b 0e 00 00 00 00 00 ................
0010: 00 00 13 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x0000001e (30)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000a (10)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 1e 80 00 0a ...........
Packet end
Expected error: 10
debugee.stderr> Debuggee: received the command: stopInNative
debugee.stderr> Enter native method
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Received signal from debugee: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 20
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000033 (51)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 33 00 0b 0e 00 00 00 00 00 .......3........
0010: 00 00 14 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000033 (51)
0008 (flags) : 0x80 (-128)
000a (error) : 0x000d (13)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 33 80 00 0d .......3...
Packet end
Expected error: 13
Create command: ThreadReference.ForceEarlyReturn
threadID = 20
Value = (INT)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000018 (24)
0004 (id) : 0x00000035 (53)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (24 bytes):
0000: 00 00 00 18 00 00 00 35 00 0b 0e 00 00 00 00 00 .......5........
0010: 00 00 14 49 00 00 00 00 ...I....
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000035 (53)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0020 (32)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 35 80 00 20 .......5..
Packet end
Expected error: 32
Waiting for reply packet
debugee.stderr> Debuggee: received the command: exitInNative
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000f (15)
0004 (id) : 0x00000036 (54)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0000 (0)
Entire packet (15 bytes):
0000: 00 00 00 0f 00 00 00 36 80 00 00 00 00 00 02 .......6.......
Packet end
Checking reply packet header
Parsing reply packet:
debugee.stderr> Debuggee: received the command: startNewThread
debugee.stderr> Debuggee nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a : sending the command: ready
Create command: ThreadReference.ForceEarlyReturn
threadID = 21
Value = (VOID)0
Sending command packet:
Packet header (11 bytes):
0000 (length) : 0x00000014 (20)
0004 (id) : 0x00000037 (55)
0008 (flags) : 0x00 (0)
0009 (cmd set): 0x0b (11)
000a (command): 0x0e (14)
Entire packet (20 bytes):
0000: 00 00 00 14 00 00 00 37 00 0b 0e 00 00 00 00 00 .......7........
0010: 00 00 15 56 ...V
Packet end
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000037 (55)
0008 (flags) : 0x80 (-128)
000a (error) : 0x001f (31)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 37 80 00 1f .......7...
Packet end
Expected error: 31
Waiting for reply packet
Reply packet received:
Packet header (11 bytes):
0000 (length) : 0x0000000b (11)
0004 (id) : 0x00000038 (56)
0008 (flags) : 0x80 (-128)
000a (error) : 0x0000 (0)
Entire packet (11 bytes):
0000: 00 00 00 0b 00 00 00 38 80 00 00 .......8...
Packet end
Checking reply packet header
Parsing reply packet:
Received signal from debugee: ready
Sending signal to debugee: quit
Waiting for debugee exits
Timeout signalled after 480 seconds
# ERROR: Debugee FAILED with exit code: 134
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Debugee FAILED with exit code: 134
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
at nsk.share.Log.complain(Log.java:402)
at nsk.share.jdwp.TestDebuggerType1.quitDebugee(TestDebuggerType1.java:191)
at nsk.share.jdwp.TestDebuggerType1.runIt(TestDebuggerType1.java:131)
at nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002.run(forceEarlyReturn002.java:103)
at nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002.main(forceEarlyReturn002.java:99)
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.VirtualThread.run(VirtualThread.java:309)
TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Debugee FAILED with exit code: 134
----------System.err:(0/0)----------
----------rerun:(42/11323)*----------
<snip>
result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+14-966/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 835480ms).
The test timed out, but it appears to have happened because
the debuggee failed with "exit code: 134". I don't see any
hs_err_pid files in the artifacts for this test run.
- relates to
-
JDK-8286789 Test forceEarlyReturn002.java timed out
- Resolved