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

JdwpListenTest.java and JdwpAttachTest.java getting bind failures on Windows 2016 hosts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 15
    • 14
    • core-svc
    • None
    • b10
    • x86_64
    • windows

    Description

      Only seeing these failures on Windows 2016

      com/sun/jdi/JdwpListenTest.java

      ----------System.err:(25/1562)----------
      [debuggee] ERROR: transport error 202: bind failed: Cannot 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 [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:153)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:125)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:128)
      at JdwpListenTest.listenTest(JdwpListenTest.java:100)
      at JdwpListenTest.main(JdwpListenTest.java:72)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.util.concurrent.TimeoutException
      at jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:205)
      at lib.jdb.Debuggee.<init>(Debuggee.java:138)
      ... 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:(51/5294)*----------

      com/sun/jdi/JdwpAttachTest.java

      ----------System.err:(64/7343)*----------
      ...
      java.net.BindException: Cannot assign requested address: bind
      at java.base/sun.nio.ch.Net.bind0(Native Method)
      at java.base/sun.nio.ch.Net.bind(Net.java:479)
      at java.base/sun.nio.ch.Net.bind(Net.java:468)
      at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
      at java.base/java.net.ServerSocket.bind(ServerSocket.java:367)
      at java.base/java.net.ServerSocket.bind(ServerSocket.java:321)
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.startListening(SocketTransportService.java:300)
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.startListening(SocketTransportService.java:310)
      at jdk.jdi/com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:116)
      at jdk.jdi/com.sun.tools.jdi.SocketListeningConnector.startListening(SocketListeningConnector.java:86)
      at JdwpAttachTest.attachTest(JdwpAttachTest.java:108)
      at JdwpAttachTest.main(JdwpAttachTest.java:75)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.net.BindException: Cannot assign requested address: bind
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.BindException: Cannot assign requested address: bind
      ----------rerun:(51/5294)*----------

      Attachments

        Activity

          People

            amenkov Alex Menkov
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: