Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258448

com/sun/jdi/JdwpListenTest.java failed with "ERROR: transport error 202: bind failed: Can't assign requested address"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: core-svc
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK16 CI:

      com/sun/jdi/JdwpListenTest.java

      Here's a snippet from the log file:

      Test: listen at 2606:b400:418:3240:8c9a:ebdc:da21:1a6f%6, attaching to 2606:b400:418:3240:8c9a:ebdc:da21:1a6f%6, expected: SUCCESS
      Starting listening debuggee at 2606:b400:418:3240:8c9a:ebdc:da21:1a6f%6
      Command line: [/mesos/work_dir/jib-master/install/jdk-16+28-2065/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/java -cp /mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/JdwpListenTest.d:/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/jdk/com/sun/jdi:/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -Xmx512m -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:-DoEscapeAnalysis -agentlib:jdwp=transport=dt_socket,address=2606:b400:418:3240:8c9a:ebdc:da21:1a6f%6:0,server=y,suspend=y HelloWorld ]
      [debuggee]:/mesos/work_dir/jib-master/install/jdk-16+28-2065/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/java -cp /mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/JdwpListenTest.d:/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/jdk/com/sun/jdi:/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib:/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar:/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar -Xmx512m -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S51836/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/120fb445-1feb-4ea9-adc2-159f7e7d925d/runs/635224ad-870b-49d4-a16f-15e4666fec03/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/tmp -ea -esa -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:-DoEscapeAnalysis -agentlib:jdwp=transport=dt_socket,address=2606:b400:418:3240:8c9a:ebdc:da21:1a6f%6:0,server=y,suspend=y HelloWorld
      Thread[Notification Thread,9,system] stack: (length = 0)

      Thread[main,5,main] stack: (length = 4)
      java.base@16-ea/java.lang.Object.wait(Native Method)
      java.base@16-ea/java.lang.Thread.join(Thread.java:1301)
      java.base@16-ea/java.lang.Thread.join(Thread.java:1369)
      app//com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      Thread[Common-Cleaner,8,InnocuousThreadGroup] stack: (length = 5)
      java.base@16-ea/java.lang.Object.wait(Native Method)
      java.base@16-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      java.base@16-ea/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
      java.base@16-ea/java.lang.Thread.run(Thread.java:831)
      java.base@16-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

      Thread[Reference Handler,10,system] stack: (length = 3)
      java.base@16-ea/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
      java.base@16-ea/java.lang.ref.Reference.processPendingReferences(Reference.java:243)
      java.base@16-ea/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)

      Thread[Signal Dispatcher,9,system] stack: (length = 0)

      Thread[Finalizer,8,system] stack: (length = 4)
      java.base@16-ea/java.lang.Object.wait(Native Method)
      java.base@16-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
      java.base@16-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
      java.base@16-ea/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:171)

      Thread[MainThread,5,MainThreadGroup] stack: (length = 14)
      java.base@16-ea/java.lang.Thread.dumpThreads(Native Method)
      java.base@16-ea/java.lang.Thread.getAllStackTraces(Thread.java:1647)
      app//jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:223)
      app//lib.jdb.Debuggee.<init>(Debuggee.java:131)
      app//lib.jdb.Debuggee$Launcher.launch(Debuggee.java:118)
      app//lib.jdb.Debuggee$Launcher.launch(Debuggee.java:121)
      app//JdwpListenTest.listenTest(JdwpListenTest.java:95)
      app//JdwpListenTest.main(JdwpListenTest.java:67)
      java.base@16-ea/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      java.base@16-ea/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      java.base@16-ea/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.base@16-ea/java.lang.reflect.Method.invoke(Method.java:567)
      app//com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      java.base@16-ea/java.lang.Thread.run(Thread.java:831)

      ----------System.err:(25/1813)----------
      [debuggee] ERROR: transport error 202: bind failed: Can't assign requested address
      [debuggee] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
      [debuggee] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [/Volumes/Mesos/mesos/work_dir/slaves/47535081-0322-4d83-bb78-f7e11abb86d0-S39539/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/be9118d1-ef52-495e-b1e4-6e7c90616bd1/runs/6035b33a-d670-443f-8b39-2e649a277779/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:734]
      Failed to start a process (thread dump follows)
      java.lang.RuntimeException: failed to launch debuggee
      at lib.jdb.Debuggee.<init>(Debuggee.java:146)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:118)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:121)
      at JdwpListenTest.listenTest(JdwpListenTest.java:95)
      at JdwpListenTest.main(JdwpListenTest.java:67)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: java.util.concurrent.TimeoutException
      at jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:217)
      at lib.jdb.Debuggee.<init>(Debuggee.java:131)
      ... 10 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: failed to launch debuggee
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: failed to launch debuggee
      ----------rerun:(49/6842)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: