You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/10/02 19:02:00 UTC

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

    [ https://issues.apache.org/jira/browse/HADOOP-19707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024332#comment-18024332 ] 

ASF GitHub Bot commented on HADOOP-19707:
-----------------------------------------

steveloughran merged PR #7998:
URL: https://github.com/apache/hadoop/pull/7998




> 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
>            Assignee: Michael Smith
>            Priority: Major
>              Labels: pull-request-available
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org