jtreg ignores VM exit code when test process reports status with "STATUS: " line

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • jtreg7.4
    • Affects Version/s: jtreg7.2
    • Component/s: tools
    • None

      jtreg tries to get test result from logStatus and exitCode.
      See: https://github.com/openjdk/jtreg/blob/master/src/share/classes/com/sun/javatest/regtest/exec/ProcessCommand.java#L393

      The logStatus is read from the log by finding "STATUS:..." line and parsing it.

      So, the test might be reported as passed if failure happens after test completed during exiting.

            Assignee:
            Jaikiran Pai
            Reporter:
            Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: