> 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.
Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision: - Yank the cord - Newline changes - Merge branch 'master' into JDK-8341424-gha-collect-build-hs-err - Attempt to share truncation code - Gaaaaaaah - Stylistic touchups - Fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/21308/files - new: https://git.openjdk.org/jdk/pull/21308/files/1ae90b20..cc1770f6 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=21308&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21308&range=02-03 Stats: 28437 lines in 499 files changed: 23896 ins; 2745 del; 1796 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