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

make exploded-test-gtest doesn't report failure when JVM crashes

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:

      Description

      I ran make exploded-test-gtest and got a crash in one of the tests. Many tests succeeded before the crash, but the make files reported:

      /bin/bash: line 1: 45045 Abort trap: 6 /Users/stefan/hg/jdk/jdk/build/fastdebug/images/test/hotspot/gtest/server/gtestLauncher -jdk /Users/stefan/hg/jdk/jdk/build/fastdebug/jdk --gtest_output=xml:/Users/stefan/hg/jdk/jdk/build/fastdebug/test-results/gtest_all_server/gtest.xml > >(/usr/bin/tee /Users/stefan/hg/jdk/jdk/build/fastdebug/test-results/gtest_all_server/gtest.txt)
      Finished running test 'gtest:all/server'
      Test report is stored in /Users/stefan/hg/jdk/jdk/build/fastdebug/test-results/gtest_all_server
      RunTest teardown starting
      RunTest teardown done
      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
         gtest:all/server 0 0 0 0
      ==============================
      TEST SUCCESS
      Finished building target 'exploded-test-gtest' in configuration 'fastdebug'

      The exit code was 0.

      If I run the gtestLauncher:
      /Users/stefan/hg/jdk/jdk/build/fastdebug/images/test/hotspot/gtest/server/gtestLauncher -jdk /Users/stefan/hg/jdk/jdk/build/fastdebug/jdk --gtest_output=xml:/Users/stefan/hg/jdk/jdk/build/fastdebug/test-results/gtest_all_server/gtest.xml

      The reported exit code is 134.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: