RFR: 7904153: JTReg should include crash log data in the failure node for xml reports

William Kemper wkemper at openjdk.org
Tue Feb 17 00:12:05 UTC 2026


The system we use (AWS CodeBuild) for running JTReg understands Junit/testNG xml files. For failed tests, it makes the text from the `failure` node easy to access from the UI. I appreciate that these xml files already have `system.err` and `system.out` nodes, but the tooling we use doesn't expose the data here (and I cannot change that tooling). Also, the current implementation takes the first section of `stderr` or `stdout`, which is often empty and comes from the `javac` portion of the test run.

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

Commit messages:
 - Missed one
 - Fix whitespace
 - Add support for crashes written to stdout
 - Add more detail to failure message in xml files

Changes: https://git.openjdk.org/jtreg/pull/316/files
  Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=316&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904153
  Stats: 136 lines in 5 files changed: 134 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jtreg/pull/316.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/316/head:pull/316

PR: https://git.openjdk.org/jtreg/pull/316


More information about the jtreg-dev mailing list