RFR: 8323637: Capture hotspot replay files in GHA [v3]

Magnus Ihse Bursie ihse at openjdk.org
Fri Jan 12 15:33:37 UTC 2024


> From the bug report:
> 
> jdk/.github/scripts/gen-test-results.sh is capable of capture hs_err_* file for erroneous and failed tests. They are also exposed under tag `<details><summary>View HotSpot error log</summary>`.
> 
> I think we can do the same thing for replay files. A replay file is automatically generated when compiler threads encounter a fatal error. sometimes, we can only trigger the compilation error on GHA. attached replay file is invaluable. 
> 
> ---
> 
> I have not figured out how to provoke a replay file on GHA, so this is untested, but since it is based on the hs_err logic I'm pretty confident that it works. If it turns out to be problematic, let's fix it in a follow up.

Magnus Ihse Bursie has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains two commits:

 - Trigger GHA with empty commit
 - 8323637: Capture hotspot replay files in GHA

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17392/files
  - new: https://git.openjdk.org/jdk/pull/17392/files/375a2fd1..a19a333d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17392&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17392&range=01-02

  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17392.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17392/head:pull/17392

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


More information about the build-dev mailing list