-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Recent build failures for Godot Engine docs ("godot" project) #3555
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
Comments
@akien-mga I think all this problems are because OOM (which produces strange things) and/or build timeout. I just imported your project in my local instance and I ran the build with 1 hour as building time and 2gb of memory. Besides, this build passed on RTD platform: https://readthedocs.org/projects/godot/builds/6634320/ but it took 25 minutes... |
Yeah we have a lot of documentation and lots of hyperlinks to the class reference, so builds take a while. I'm not a Sphinx expert so I'd welcome feedback on how to improve build times as ~30 min is a lot. If possible, I would also request increase the build timeout for the "godot" project, since as mentioned above, our build times are around 25-35 minutes, 30 min being the current timeout (1800 s), so they can randomly fail: https://readthedocs.org/projects/godot/builds/ |
Additionally (as just mentioned on IRC), would it possible to increase the timeout of those new l10n projects to the same value? "godot-fr", "godot-es" and "godot-zh-cn". More will be coming but I'm starting with those three to define and test the translation workflow. |
I increased your build timeout to 4800s (1.5hrs) so hopefully that won't happen again. I'm syncing the docs now to try to figure out why they take so long and while I don't think I need to do anything on the translations, I'll double check. Edit: I'm bad at math... I'm changing it to 5400 |
Thanks a lot! |
Note that the translations currently build fast because I removed 98% of the documentation while testing. I'll soon be adding back all the normal Godot docs to the translation repo, and then builds will take as long as in the main project. |
Ahhh, that makes sense. I can go ahead and increase their time limit as well. |
In terms of the build, a local build took 20 full minutes on my local CPU (core i7 2.3ghz). CPU was maxed 99%+ on a single core for almost all of the time (Yay, GIL). Memory usage was less than 200MB. All but a small percentage of the time was spent on the This tells me a few things:
I think the immediate problem is done here so I'm going to close this. I created a separate issue #3870 to track improvements to build performance. Feel free to re-open this if you see any other issues. |
@davidfischer Could I ask you to increase the timeout to 5400 for the following new localization projects?
Thanks in advance. I might have another batch in the future, but for now I only created projects for locales with a good level of completion: https://hosted.weblate.org/projects/godot-engine/godot-docs/ |
@akien-mga These are done! |
Thanks! |
@davidfischer Could I bother you again with another batch of Godot projects in need of a timeout bump to 5400? I recently created:
Thanks in advance. |
No problem. It's done. |
@davidfischer Could you bump timeout again to 5400 for I recreated it today (deletion + new project) as the GitHub webhook was invalid after the |
Done! |
Details
ImportError: no module named debug
: https://readthedocs.org/projects/godot/builds/6631922/IOError: [Errno 2] No such file or directory: '/home/docs/checkouts/readthedocs.org/user_builds/godot/envs/latest/local/lib/python2.7/site-packages/readthedocs_ext/_templates/readthedocs-insert.html.tmpl'
: https://readthedocs.org/projects/godot/builds/6631962/Expected Result
Godot documentation should build successfully.
Actual Result
Godot has a pretty heavy documentation (GitHub repo) due to a very high number of pages (600-700 pages I think, including ~500 pages of API reference), many of those including images and hyperlinks to each other (especially in the API reference).
This seems to cause various issues, which are a bit hard to reproduce (at least each build seems to give me different errors today..):
ImportError: no module named debug
: https://readthedocs.org/projects/godot/builds/6631922/IOError: [Errno 2] No such file or directory: '/home/docs/checkouts/readthedocs.org/user_builds/godot/envs/latest/local/lib/python2.7/site-packages/readthedocs_ext/_templates/readthedocs-insert.html.tmpl'
: https://readthedocs.org/projects/godot/builds/6631962/So I'm a bit at a loss here, any help welcome :)
I'd gladly split the various issues mentioned above in separate tickets if relevant; as I had a hard time reproducing them I went for a bulk issue to start going further in debugging with your help.
The text was updated successfully, but these errors were encountered: