Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Python docs build fails and hangs in CI #16624

Closed
ptrendx opened this issue Oct 25, 2019 · 3 comments · Fixed by #16630
Closed

Python docs build fails and hangs in CI #16624

ptrendx opened this issue Oct 25, 2019 · 3 comments · Fixed by #16630

Comments

@ptrendx
Copy link
Member

ptrendx commented Oct 25, 2019

Description

Python docs step fails with error

Sphinx parallel build error:
nbsphinx.NotebookError: TemplateNotFound in tutorials/deploy/export/onnx.ipynb:
rst.tpl

and then hangs (job is killed after 3 hours time out). The commit to master branch that started failing did not touch documentation at all.

@aaronmarkham

Occurrences

From current master: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwebsite/detail/v1.6.x/3/pipeline/85
From several PRs:
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwebsite/detail/PR-16615/7/pipeline
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwebsite/detail/PR-16619/3/pipeline

@aaronmarkham
Copy link
Contributor

Most recent change to onnx.md:
06ce371#diff-e8d28d7ac094c6a300e2f0ec574ea2c5
It's a broken link fix and I don't see how this would be the issue.

However, I did see the parallel build issue come up when I was building locally. I added a patch to detect the number of processors.
#16512

@ThomasDelteil suggested that there was probably some other issue (maybe related to the tutorial conversion from md to ipynb) and that all I did was kick the can. Yes, I found and fixed an issue where the build had a fixed number of procs, but the Sphinx errors were probably something else.

But, I don't know what it is. Pinging Thomas to see if he has ideas.

@ThomasDelteil
Copy link
Contributor

I'm on holiday but I can check Monday. Try adding -vvv to the sphinx opts in the makefile you'll have more detailed logs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants