Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903621

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jtreg7.4
    • jtreg7.2
    • 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.

            jpai Jaikiran Pai
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: