[
https://issues.apache.org/jira/browse/HADOOP-19707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved HADOOP-19707.
-------------------------------------
Fix Version/s: 3.5.0
Resolution: Fixed
> 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
> Fix For: 3.5.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]