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

Aleksey Shipilev shade at openjdk.org
Wed Oct 9 17:33:10 UTC 2024


On Wed, 2 Oct 2024 14:45:52 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 3ab519f1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3ab519f16381ab49353e67db8480ed13f52ca3e8
Stats:     81 lines in 3 files changed: 67 ins; 14 del; 0 mod

8341424: GHA: Collect hs_errs from build time failures

Reviewed-by: ihse, jwaters

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

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


More information about the build-dev mailing list