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

Failure handler doesn't handle errors on Windows when gathering process information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      Seen when examining process information for timed out tests:

      WARNING: can't parse child pid No Instance(s) Available. : For input string: "No Instance(s) Available."
      java.lang.NumberFormatException: For input string: "No Instance(s) Available."
      at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
      at java.base/java.lang.Long.parseLong(Long.java:618)
      at java.base/java.lang.Long.valueOf(Long.java:974)
      at jdk.test.failurehandler.action.ActionHelper.getChildren(ActionHelper.java:107)
      at jdk.test.failurehandler.ToolKit.gatherProcessInfo(ToolKit.java:92)
      at jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler.runGatherer(GatherProcessInfoTimeoutHandler.java:113)
      at jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler.runActions(GatherProcessInfoTimeoutHandler.java:88)
      at com.sun.javatest.regtest.TimeoutHandler.handleTimeout(TimeoutHandler.java:132)
      at com.sun.javatest.regtest.exec.ProcessCommand$2.run(ProcessCommand.java:317)

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: