Details
-
Bug
-
Resolution: Unresolved
-
P4
-
20
-
x86_64
-
os_x_10.15
Description
The following test failed in the JDK20 CI:
com/sun/jdi/CatchAllTest.java
Here's a snippet from the log file:
#section:main
----------messages:(5/211)----------
command: main CatchAllTest
reason: User specified action: run main/othervm CatchAllTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jdi
elapsed time (seconds): 64.445
----------configuration:(3/35)----------
Boot Layer
add modules: jdk.jdi
----------System.out:(19/4586)*----------
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/macosx-x64-debug.jdk/jdk-20/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/CatchAllTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar --enable-preview -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Dmain.wrapper=Virtual -XX:-VerifyContinuations -agentlib:jdwp=transport=dt_socket,server=y,suspend=y jdk.test.lib.process.ProcessTools Virtual CatchAllTestTarg ]
[debuggee]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/macosx-x64-debug.jdk/jdk-20/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/CatchAllTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar --enable-preview -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Dmain.wrapper=Virtual -XX:-VerifyContinuations -agentlib:jdwp=transport=dt_socket,server=y,suspend=y jdk.test.lib.process.ProcessTools Virtual CatchAllTestTarg
[debuggee] Listening for transport dt_socket at address: 65520
[jdb] java.io.IOException: handshake failed - connection prematurally closed
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketTransportService.handshake(SocketTransportService.java:139)
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:273)
[jdb] at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:563)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:369)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.Env.init(Env.java:63)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.TTY.main(TTY.java:1176)
[jdb]
[jdb] Fatal error:
[jdb] Unable to attach to target VM.
[jdb]
=======================================
Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
=======================================
----------System.err:(16/1123)*----------
[debuggee] Debugger failed to attach: timeout during handshake
java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
at lib.jdb.Jdb.waitForPrompt(Jdb.java:212)
at lib.jdb.Jdb.waitForPrompt(Jdb.java:162)
at lib.jdb.JdbTest.setup(JdbTest.java:129)
at lib.jdb.JdbTest.run(JdbTest.java:95)
at CatchAllTest.main(CatchAllTest.java:52)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
com/sun/jdi/CatchAllTest.java
Here's a snippet from the log file:
#section:main
----------messages:(5/211)----------
command: main CatchAllTest
reason: User specified action: run main/othervm CatchAllTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jdi
elapsed time (seconds): 64.445
----------configuration:(3/35)----------
Boot Layer
add modules: jdk.jdi
----------System.out:(19/4586)*----------
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/macosx-x64-debug.jdk/jdk-20/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/CatchAllTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar --enable-preview -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Dmain.wrapper=Virtual -XX:-VerifyContinuations -agentlib:jdwp=transport=dt_socket,server=y,suspend=y jdk.test.lib.process.ProcessTools Virtual CatchAllTestTarg ]
[debuggee]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/macosx-x64-debug.jdk/jdk-20/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/CatchAllTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+14-902/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar --enable-preview -Xmx768m -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S77106/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc5c4d2d-e0df-4b8b-ba85-185a7fa5592f/runs/7bf43ca6-d2a9-4174-b6bc-2fa49d0f9bfe/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Dmain.wrapper=Virtual -XX:-VerifyContinuations -agentlib:jdwp=transport=dt_socket,server=y,suspend=y jdk.test.lib.process.ProcessTools Virtual CatchAllTestTarg
[debuggee] Listening for transport dt_socket at address: 65520
[jdb] java.io.IOException: handshake failed - connection prematurally closed
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketTransportService.handshake(SocketTransportService.java:139)
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:273)
[jdb] at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
[jdb] at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:563)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:369)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.Env.init(Env.java:63)
[jdb] at jdk.jdi/com.sun.tools.example.debug.tty.TTY.main(TTY.java:1176)
[jdb]
[jdb] Fatal error:
[jdb] Unable to attach to target VM.
[jdb]
=======================================
Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
=======================================
----------System.err:(16/1123)*----------
[debuggee] Debugger failed to attach: timeout during handshake
java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
at lib.jdb.Jdb.waitForPrompt(Jdb.java:212)
at lib.jdb.Jdb.waitForPrompt(Jdb.java:162)
at lib.jdb.JdbTest.setup(JdbTest.java:129)
at lib.jdb.JdbTest.run(JdbTest.java:95)
at CatchAllTest.main(CatchAllTest.java:52)
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)
JavaTest Message: Test threw exception: java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
Attachments
Issue Links
- relates to
-
JDK-8282712 VMConnection.open() does not detect if VM failed to be created, resulting in NPE
- Resolved