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

[LOOM] 6 nsk JDI and JDB tests sometimes failing with vthread wrapper due to running out of carrier threads

    XMLWordPrintable

Details

    • b05
    • x86
    • os_x

    Description

      vmTestbase/nsk/jdi/EventRequestManager/stepRequests/stepreq001/TestDescription.java is sometimes failing with the vthread wrapper. This only seems to happen on macOS. The failures date back to 2021-12-02. There have been about 40 so far. The failure is:

      binder> Launching debugee
      binder> Waiting for VM initialized
      Initial VMStartEvent received: VMStartEvent in thread main
      debugee.stdout> Debuggee: starting thread #1 "thr1"
      debugee.stdout> Debuggee: the thread #1 "thr1" started
      debugee.stdout> Debuggee: starting thread #2 "thr2"
      debugee.stdout> Debuggee: the thread #2 "thr2" started
      debugee.stdout> Debuggee: starting thread #3 "thr3"
      debugee.stdout> Debuggee: the thread #3 "thr3" started
      debugee.stdout> Debuggee: starting thread #4 "thr4"
      debugee.stdout> Debuggee: the thread #4 "thr4" started
      debugee.stdout> Debuggee: starting thread #5 "thr5"
      debugee.stdout> Debuggee: the thread #5 "thr5" started
      debugee.stdout> Debuggee: starting thread #6 "thr6"
      debugee.stdout> Debuggee: the thread #6 "thr6" started
      debugee.stdout> Debuggee's thread "thr1": going to be blocked
      debugee.stdout> Debuggee's thread "thr5": going to be blocked
      debugee.stdout> Debuggee: starting thread #7 "thr7"
      debugee.stdout> Debuggee's thread "thr7": going to be blocked
      debugee.stdout> Debuggee's thread "thr2": going to be blocked
      debugee.stdout> Debuggee's thread "thr3": going to be blocked
      debugee.stdout> Debuggee's thread "thr4": going to be blocked
      IOPipe> Caught InterruptedIOException. Wait start time: 1645771754258, exception was thrown at: 1645772054387, wait time: 300129, actual timeout: 300000
      # ERROR: IOPipe> Caught InterruptedIOException while listening for PipeIO Listener Thread connection at port 64281:
      # ERROR: java.net.SocketTimeoutException: Accept timed out
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: IOPipe> Caught InterruptedIOException while listening for PipeIO Listener Thread connection at port 64281: java.net.SocketTimeoutException: Accept timed out
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at nsk.share.Log$Logger.complain(Log.java:736)
      at nsk.share.jpda.BasicSocketConnection.accept(SocketConnection.java:173)
      at nsk.share.jpda.SocketConnection.accept(SocketConnection.java:453)
      at nsk.share.jpda.SocketIOPipe$ListenerThread.run(SocketIOPipe.java:225)

      Current list of tests covered by this CR:

      vmTestbase/nsk/jdb/kill/kill001/kill001.java
      vmTestbase/nsk/jdi/LocatableEvent/thread/thread001/TestDescription.java
      vmTestbase/nsk/jdi/EventRequestManager/stepRequests/stepreq001/TestDescription.java
      vmTestbase/nsk/jdi/EventIterator/nextEvent/nextevent001/TestDescription.java
      vmTestbase/nsk/jdi/Event/request/request001/TestDescription.java
      vmTestbase/nsk/jdi/ObjectReference/waitingThreads/waitingthreads002/TestDescription.java

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: