Skip to content

Conversation

@realark
Copy link
Contributor

@realark realark commented Nov 28, 2017

So far there have been two problems identified.

  1. Cassandra integration tests run out of memory. New project dependencies cause gradle to use too much memory.

Pulling in new dependencies was increasing gradle's memory usage to the point where CI was forcefully killing it (exit 137). Fixed by creating a separate step for building. This guarantees the test step will use the cached dependencies instead of fetching new ones.

  1. ApacheHttpClient byteman instrumentation does not always apply.

The byteman bug is alarming, as it suggests that there are certain configurations our byteman instrumentation will not apply on. However, this instrumentation is currently being replaced by an entirely different strategy, so a workaround in the test should be acceptable for now.

https://trello.com/c/NdTKWrUU/201-improve-byteman-or-find-a-good-replacement

Latest changes to this branch have passed all CI runs (three runs total, one with caching disabled).

@realark realark added the tag: do not merge Do not merge changes label Nov 28, 2017
Gradle was using too much memory when testing and building in the same
step, causing CI to kill the process forcefully. Separating them out
resolves the problem.
@realark realark added comp: testing Testing and removed tag: do not merge Do not merge changes labels Nov 29, 2017
@tylerbenson tylerbenson self-requested a review November 29, 2017 00:53
@realark realark merged commit 37f70db into master Nov 29, 2017
@realark realark deleted the ark/fix_ci branch November 29, 2017 00:58
@tylerbenson tylerbenson mentioned this pull request Nov 29, 2017
@realark realark added this to the 0.2.10 milestone Dec 1, 2017
jpbempel pushed a commit that referenced this pull request May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants