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

misc test failures on macOS due to "Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u381, 17.0.10-oracle, 20, 21, 22, 23
    • hotspot
    • x86_64, aarch64
    • os_x

      This bug is currently about sightings of the following failure mode
      on macosx-aarch64 and macosx-x64 machines only:

          Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out

      The windows-x64 version of this bug is here:

              JDK-8232179 misc test failures on windows-x64 due to "Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out"


      Below is the original sighting information:

      The following test failed in the JDK20 CI:

      java/time/test/java/util/TestFormatter.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(4/175)----------
      command: testng test.java.util.TestFormatter
      reason: Assumed action based on file name: run testng test.java.util.TestFormatter
      Mode: agentvm
      elapsed time (seconds): 240.006
      ----------configuration:(0/0)----------
      ----------rerun:(28/7323)*----------

      <snip>

      result: Error. Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out


      The error msg is coming from JTREG itself and has nothing to
      do with the test we're trying to execute. I'm starting this bug in
      hotspot/runtime simply as a place to start tracking these strange
      failures.

        1. agent.trace
          5.34 MB
          Mark Sheppard

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: