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

Fix travis log doesn't produce any output for more than 10 minutes #1821

Merged
merged 2 commits into from
May 20, 2019

Conversation

opacam
Copy link
Member

@opacam opacam commented May 19, 2019

I saw this in the following situations:

So, in order to fix the above mentioned situations, this pr will run a background process which will print a message in travis log each 9 minutes. This background process will be killed after we make our tests.

Also we enable the opencv recipe for rebuild_updated_recipes in order to demonstrate that the background process introduced in here works as expected.

As a side note: we also could use the travis command travis_wait to do a similar thing as we do in this pr, but the problem of this command is that we will not get any log until we finish all the tests...

Also see: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

opacam added 2 commits May 19, 2019 13:39
…es in CI tests

So we can avoid our tests to fail in case that the travis log doesn't produce any output for more than 10 minutes (this is a travis limitation)

See also: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
Also, we slightly modify the opencv recipe to force build the opencv recipe in CI tests so this way we will make sure that the recently applied fix works as expected for a recipe which requires a long compilation time
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

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

Nice work, as usual, thanks!

@AndreMiras AndreMiras merged commit de49335 into kivy:master May 20, 2019
@opacam opacam deleted the ci-fix-no-output branch May 20, 2019 08:52
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.

2 participants