RFR: 8341424: GHA: Collect hs_errs from build time failures

Aleksey Shipilev shade at openjdk.org
Wed Oct 2 14:53:09 UTC 2024


GHA conveniently collects hs_errs from the test job runs. However, when we have a failure during the build, e.g. javac, CDS, jmod, jlink crashes the VM, we don't have these automatically collected. This is annoying when VM crashes on a particular platform, and not on others.

We can add the hooks for these as well. This PR adapts what we already have for test result collectors here: https://github.com/openjdk/jdk/blob/master/.github/scripts/gen-test-results.sh

I added a deliberate failure point in CDS to demonstrate how it would look like in test summary.

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/21308/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21308&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341424
  Stats: 34 lines in 2 files changed: 34 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/21308.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21308/head:pull/21308

PR: https://git.openjdk.org/jdk/pull/21308


More information about the build-dev mailing list