Skip to content

Split the puppet versions in hopes the tests don't timeout #178

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

Merged
merged 15 commits into from
Feb 14, 2018

Conversation

kpaulisse
Copy link
Contributor

@kpaulisse kpaulisse commented Feb 14, 2018

Some of the jobs were timing out when a single job ran the test suite for multiple puppet versions. The underlying cause seems to be that certain travis containers are much slower than others, and there was too much work to be done to finish in time on a slower container. Another thing I observed was that some tests seemed to get stuck. This PR attempts to address this to make the CI suites more reliable.

General improvements are made:

  • Splits up the Travis CI tests so one job runs per ruby version + puppet version. This reduces by (approximately) a factor of 3 the amount of processing any specific job must do.

  • Splits up the integration tests to run one at a time, with a timeout per test set. Occasionally tests would seem to get stuck, so this will kill and retry those tests.

  • Added a coverage report for the rspec unit tests. (Also fixed one item that was showing as uncovered in coverage tests that were run on Travis, but not those run on my own system.) This is currently informational only, i.e. it does not fail the build.

@kpaulisse kpaulisse force-pushed the kpaulisse-split-tests branch from d3c8d06 to 76283cf Compare February 14, 2018 03:51
@kpaulisse kpaulisse mentioned this pull request Feb 14, 2018
2 tasks
Copy link

@jameswhite jameswhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kpaulisse kpaulisse merged commit 2e94eda into master Feb 14, 2018
@kpaulisse kpaulisse deleted the kpaulisse-split-tests branch February 14, 2018 15:16
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.

3 participants