-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Git submodules intermittently failing to clone resulting in failed builds #2929
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
I have a similar issue but in my case the submodule is private and no attempt should be made to clone it. |
This is still occurring for us on this project, pretty much all the time. Every merge we make into master is almost guaranteed to result in a failed readthedocs build that we go in and manually rebuild in hopes of eventually succeeding. It would be helpful to get a response on this issue. Thanks |
Same for me. If you happen to solve the issue, please, let me know how. |
I think this issue is already solved, I was able to build your docs successfully. And your repository url must be |
Yep. Thanks. I gave it another try yesterday and it worked. |
Great! |
Trigger happy. @tannerjfco - can you confirm this works? |
I had to set the |
@RichardLitt unfortunately this does not appear to be resolved. While the error message has changed, it looks to be the same problem, with the same behavior. I can attempt rebuilds and eventually get a success, but the issue will turn up again later. Updated error message: I have tested the repo URL both with '.git' at the end and without, and can't discern any difference between the two. The repo being cloned it public. |
Does not seems to be resolved for me neither. I've tried @barseghyanartur tip (changing Programming Language from python to Only words), bu with no success. I alos got a public repository. Error is :
When i try to build manually, it works about 1 time out of 3 or 4. |
How I finally solved it (what works now) - I have a mirror repository on BitBucket (without git sub-module). The docs are built from there with no problems. For BitBucket I use Mercurial. Thus, I commit twice (to both GitHub and BitBucket). I'm quite please with the way it works now. |
@barseghyanartur Thanks for the feedback, we will try this. |
The original problem seems to be solved. I'm closing this one in favor of #4043 that mention a possible error with the submodule URLs and relates to other issues on how to select the submodules to check out. We have a temporal flag now that we can use to skip all the submodule checkout. In case anyone want to enable that, just ping me here and I will do it. I'm closing this one.
|
Details
Expected Result
The project consistently clones and builds successfully.
Actual Result
The project intermittently fails to build. The error on these failed builds is the following:
The submodule repositories for this project are all public, so there is no reason why a permission denied error should occur. If i manually rebuild the project in the UI, it will usually end up succeeding after 1-2 attempts. There does not seem to be any discernible pattern to the failures.
The text was updated successfully, but these errors were encountered: