Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-4122] Tune Gradle resource usage on Jenkins #5171

Merged
merged 4 commits into from
Apr 19, 2018

Conversation

swegner
Copy link
Contributor

@swegner swegner commented Apr 18, 2018

The new Gradle build seems to be exhausting memory on the Jenkins machines, causing them to lose their connection and die. This has made our tests extremely flaky.

We need to tune the Gradle build such that it does not exhaust Jenkins machine resources.

See BEAM-4122 JIRA for more details.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand:
    • What the pull request does
    • Why it does it
    • How it does it
    • Why this approach
  • Each commit in the pull request should have a meaningful subject line and body.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

This still needs evaluation, but our Jenkins environment is so flaky right now that anything will be an improvement.

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

Run Seed Job

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

retest this please

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

Run Seed Job

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

retest this please

Our Gradle builds are frequently exhausting memory on the Jenkins lab
machines. We have capped the number of workers at 2 across all jobs to
limit the total memory usage per job.
@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

Run Seed Job

@swegner
Copy link
Contributor Author

swegner commented Apr 18, 2018

Run Java PreCommit

@swegner
Copy link
Contributor Author

swegner commented Apr 19, 2018

retest this please

@swegner
Copy link
Contributor Author

swegner commented Apr 19, 2018

I'm not able to get a good validation of this because #5180 is also working on Jenkins jobs and we're both running Seed Job. I don't know if this configuration is perfect, but it's an improvement over the current state. Can we get these merged so that they can be incorporated into #5180 as well?

R: @aaltay

@aaltay aaltay merged commit c929703 into apache:master Apr 19, 2018
@swegner
Copy link
Contributor Author

swegner commented Apr 19, 2018

Run Seed Job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants