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

GHA: Generic jtreg errors are not reported

    XMLWordPrintable

Details

    • b08

    Backports

      Description

        When looking at JDK-8324647, I was surprised to see that GHA has this output:

        ```
        Running test 'jtreg:test/lib-test:tier1'
        /home/runner/work/jdk/jdk/test/lib-test/TEST.groups: group all: group includes itself
        Error: One or more groups are invalid
        Finished running test 'jtreg:test/lib-test:tier1'
        Test report is stored in build/run-test-prebuilt/test-results/jtreg_test_lib_test_tier1

        ==============================
        Test summary
        ==============================
           TEST TOTAL PASS FAIL ERROR
        >> jtreg:test/lib-test:tier1 1 0 0 1 <<
        ==============================
        TEST FAILURE
        ```

        ...and yet, the tests are recorded as "green"! I think this is because our error reporting code eats the exit code, and never reports this failure.

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: