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

Details

    • Bug
    • Resolution: Fixed
    • P2
    • jtreg7.4
    • jtreg7.2
    • tools
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: