You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2025/09/25 23:38:00 UTC

[jira] [Created] (HADOOP-19707) Surefire upgrade leads to increased report output, can cause Jenkins OOM

Michael Smith created HADOOP-19707:
--------------------------------------

             Summary: Surefire upgrade leads to increased report output, can cause Jenkins OOM
                 Key: HADOOP-19707
                 URL: https://issues.apache.org/jira/browse/HADOOP-19707
             Project: Hadoop Common
          Issue Type: Improvement
          Components: test
    Affects Versions: 3.5.0
            Reporter: Michael Smith


The Surefire upgrade to 3.3+ added enableOutErrElements which defaults to true and includes system-out and system-err in the xml artifacts. This significantly increases their size: ~45KB to ~1MB in many cases. In my test environment, that leads to
{code}
Recording test results
ERROR: Step ‘Publish JUnit test result report’ aborted due to exception: 
java.lang.OutOfMemoryError: Java heap space
{code}

Capturing stdout seems useful when doing ad-hoc testing or smaller test runs. I'd propose adding a profile to set enableOutErrElements=false for CI environments where that extra output can cause problems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org