Skip to content

Commit 998edc9

Browse files
committed
Archive all log and dump files when running build on GitHub actions
When the JVM crashes while running forked tests, the java crash handler writes to stdout/stderr which corrupts the communication channel back to surefire. This can be seen with an exception such as the following in the log. ` org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? ` and/or ` Warning: Corrupted channel by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/runner/work/eclipse.platform.swt/eclipse.platform.swt/tests/org.eclipse.swt.tests/target/surefire-reports/2025-11-08T13-28-47_617-jvmRun1.dumpstream ` Information about the crash can end up in various log and dump files. Therefore, same all these files to enable easier diagnosing of errors. Because of enabling GTK4 and wayland testing we are exposing a number of these crashes on the GitHub action runners. Part of #2714
1 parent d601189 commit 998edc9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,6 @@ jobs:
9898
if-no-files-found: warn
9999
path: |
100100
${{ github.workspace }}/**/target/surefire-reports/*.xml
101-
${{ github.workspace }}/**/hs_err_pid*.log
101+
${{ github.workspace }}/**/*.log
102+
${{ github.workspace }}/**/*.dump
103+
${{ github.workspace }}/**/*.dumpstream

0 commit comments

Comments
 (0)