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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org