Skip to content

Intermittent failures for time or memory usage #4251

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

Closed
arthall opened this issue Jun 15, 2018 · 7 comments
Closed

Intermittent failures for time or memory usage #4251

arthall opened this issue Jun 15, 2018 · 7 comments
Labels
Support Support question

Comments

@arthall
Copy link

arthall commented Jun 15, 2018

Details

Expected Result

Project would build without issues, or all builds would fail for the same reason.

Actual Result

The build intermittently fails. Sometimes it times out and other times it runs out of memory.

This build failed due to a time out: https://readthedocs.org/projects/oracle-cloud-infrastructure-python-sdk/builds/7276429/

But the next build of the docs succeed in only 580 seconds: https://readthedocs.org/projects/oracle-cloud-infrastructure-python-sdk/builds/7276494/

This one failed due to memory consumption: https://readthedocs.org/projects/oracle-cloud-infrastructure-python-sdk/builds/7208386/

The next one passed: https://readthedocs.org/projects/oracle-cloud-infrastructure-python-sdk/builds/7208465/

@stsewd
Copy link
Member

stsewd commented Jun 15, 2018

@stsewd stsewd added the Support Support question label Jun 15, 2018
@arthall
Copy link
Author

arthall commented Jun 26, 2018

I have added a .readthedocs.yml file which turns off the downloadable docs and points to a simplified docs requirements file. Seem to address the resource issue. I'm still not sure why some builds didn't seem to be hitting the resource limits while other were, but the docs are building again.

If I see failures again in the future, I'll reopen this issue.

@arthall arthall closed this as completed Jun 26, 2018
@arthall
Copy link
Author

arthall commented Jun 29, 2018

Our last builds for the docs failed 3 times, one for latest and twice for stable, before they passed.

https://readthedocs.org/projects/oracle-cloud-infrastructure-python-sdk/builds/

I've implemented the suggestions here: https://docs.readthedocs.io/en/latest/guides/build-using-too-many-resources.html. The successful builds are much quicker than they used to be, but they still sometimes fail due to constraints. Are there any other things we can do to get the builds to succeed regularly? The concern is that we will add a new service to the docs and that will cause the builds to always fail.

Here is my .readthedocs.yml

# Read The Docs config
# - http://docs.readthedocs.io/en/latest/yaml-config.html

# python version
python:
    version: 3.5
    setup_py_install: true
   
# Just the HTML and indexing
formats:
    - none

# Limit the requirements to building the docs
requirements_file: docs/requirements.txt

https://github.com/oracle/oci-python-sdk/blob/v1.4.4/.readthedocs.yml

and the contents of docs/requirements.txt

sphinx-rtd-theme==0.2.5b2
sphinx==1.6.4

https://github.com/oracle/oci-python-sdk/blob/v1.4.4/docs/requirements.txt

@arthall arthall reopened this Jun 29, 2018
@stsewd
Copy link
Member

stsewd commented Jun 29, 2018

Nothing else can be done I think, someone from the core team needs to increase the limits for your project.

@humitos
Copy link
Member

humitos commented Jul 18, 2018

@arthall I saw that your latest build are passing. Anyways, I just increased your CPU time in case of more resources are needed in the following builds.

I'm closing this issue, but feel free to reopen if you consider that's not fixed yet.

@humitos humitos closed this as completed Jul 18, 2018
@arthall
Copy link
Author

arthall commented Jul 31, 2018

A new services was added to our docs with the last release and there were no issues building the expanded docs. Thank you @stsewd and @humitos.

@RichardLitt
Copy link
Member

Glad to hear it, @arthall!

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

No branches or pull requests

4 participants