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

TestJstatdPort.java failed due to "ExportException: Port already in use:"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      x86_64
    • OS:
      os_x

      Backports

        Description

        The following test failed in the JDK15 CI:

        sun/tools/jstatd/TestJstatdPort.java

        Here's a snippet from the log file:

        ----------System.out:(10/1024)----------

        Start jstatd:
        [/scratch/mesos/jib-master/install/jdk-15+14-522/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/jstatd -J-XX:+UsePerfData -J-Djava.security.policy=/scratch/mesos/jib-master/install/jdk-15+14-522/src.full/open/test/jdk/sun/tools/jstatd/all.policy -p 52473]
        [Jstatd-Thread]:/scratch/mesos/jib-master/install/jdk-15+14-522/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/jstatd -J-XX:+UsePerfData -J-Djava.security.policy=/scratch/mesos/jib-master/install/jdk-15+14-522/src.full/open/test/jdk/sun/tools/jstatd/all.policy -p 52473
        [Jstatd-Thread] Could not bind //:52473/JStatRemoteHost to RMI Registry
        [Jstatd-Thread] java.rmi.server.ExportException: Port already in use: 52473; nested exception is:
        [Jstatd-Thread] java.net.BindException: Address already in use
        [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:346)
        [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:243)
        [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.e
        result: Error. Agent error: java.lang.Exception: Agent 2 timed out with a timeout of 240 seconds; check console log for any additional details


        test result: Error. Agent error: java.lang.Exception: Agent 2 timed out with a timeout of 240 seconds; check console log for any additional details

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dtitov Daniil Titov (Inactive)
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: