The following test failed in the JDK24 CI:
com/sun/jdi/JdwpNetProps.java
Here's a snippet from the log file:
Test: listen at localhost, attaching to localhost/127.0.0.1, preferIPv4Stack = false, preferIPv6Addresses = system, expectedResult = Success
Starting listening debuggee at localhost
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/macosx-x64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/JdwpNetProps.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -agentlib:jdwp=transport=dt_socket,address=localhost:0,server=y,suspend=y -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=system HelloWorld ]
[debuggee]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/macosx-x64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/JdwpNetProps.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -agentlib:jdwp=transport=dt_socket,address=localhost:0,server=y,suspend=y -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=system HelloWorld
[debuggee] Listening for transport dt_socket at address: 57889
Debuggee is listening on localhost:57889
Connecting from 127.0.0.1, expected: Success
----------System.err:(25/1490)----------
java.lang.RuntimeException: ERROR: failed to attach
at JdwpNetProps$ListenTest.run(JdwpNetProps.java:215)
at JdwpNetProps.main(JdwpNetProps.java:124)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:589)
at java.base/sun.nio.ch.Net.connect(Net.java:578)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:762)
at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:263)
at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
at JdwpNetProps.attach(JdwpNetProps.java:243)
at JdwpNetProps$ListenTest.run(JdwpNetProps.java:204)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: ERROR: failed to attach
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: ERROR: failed to attach
----------rerun:(41/7226)*----------
com/sun/jdi/JdwpNetProps.java
Here's a snippet from the log file:
Test: listen at localhost, attaching to localhost/127.0.0.1, preferIPv4Stack = false, preferIPv6Addresses = system, expectedResult = Success
Starting listening debuggee at localhost
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/macosx-x64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/JdwpNetProps.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -agentlib:jdwp=transport=dt_socket,address=localhost:0,server=y,suspend=y -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=system HelloWorld ]
[debuggee]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/macosx-x64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/com/sun/jdi/JdwpNetProps.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/3/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+14-1517/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/22/36/bundles/macos-x64/jdk-22_macos-x64_bin.tar.gz/jdk-22.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a20696e7-ae7d-4d37-8e9c-83f99ef002cb-S14424/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eaed025d-4aae-46b9-8596-ea6f0f053cd4/runs/02d30acd-8b39-4973-961d-d1ff32a016b0/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -XX:+UseZGC -agentlib:jdwp=transport=dt_socket,address=localhost:0,server=y,suspend=y -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=system HelloWorld
[debuggee] Listening for transport dt_socket at address: 57889
Debuggee is listening on localhost:57889
Connecting from 127.0.0.1, expected: Success
----------System.err:(25/1490)----------
java.lang.RuntimeException: ERROR: failed to attach
at JdwpNetProps$ListenTest.run(JdwpNetProps.java:215)
at JdwpNetProps.main(JdwpNetProps.java:124)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:589)
at java.base/sun.nio.ch.Net.connect(Net.java:578)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:762)
at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:263)
at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
at JdwpNetProps.attach(JdwpNetProps.java:243)
at JdwpNetProps$ListenTest.run(JdwpNetProps.java:204)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: ERROR: failed to attach
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: ERROR: failed to attach
----------rerun:(41/7226)*----------
- relates to
-
JDK-8311990 Two JDI tests may interfere with each other
- Resolved