[jdk18] RFR: 8279379: GHA: Print tests that are in error

Aleksey Shipilev shade at openjdk.java.net
Mon Jan 3 11:41:32 UTC 2022


Current GHA workflow only prints `newfailures.txt` when tests fail. But the tests can also "ERROR" out. In which case, we want to print `other_errors.txt` as well. In current mainline GHA, we have a x86_32 langtools_tier1 failure like this:


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
>> jtreg:test/langtools:tier1                         4282  4281     0     1 <<
==============================
TEST FAILURE

# newfailures.txt
<empty>

# other_errors.txt
jdk/javadoc/doclet/testLinkPlatform/TestLinkPlatform.java


I would like to get it in JDK 18 as well, to make GHA better during stabilization.

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk18/pull/75/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=75&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279379
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/75.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/75/head:pull/75

PR: https://git.openjdk.java.net/jdk18/pull/75



More information about the build-dev mailing list