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

Build now failing w/ requirements.txt that does a pip install from GitHub repo #1718

Closed
jonathansick opened this issue Oct 1, 2015 · 5 comments

Comments

@jonathansick
Copy link

There is a new build issue related to installing dependencies from a requirements.txt file that in turn installs a repo from GitHub. (https://github.com/lsst/LDM-129/blob/master/requirements.txt)

This worked last week (September 23) but is now failing without any changes on my part. I wonder if this is related to the new containerized infrastructure?

Specifically, this is my build error log:

Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.11 in /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/envs/tickets-dm-3836/lib/python2.7/site-packages (from -r /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/checkouts/tickets-dm-3836/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Sphinx>=1.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/envs/tickets-dm-3836/lib/python2.7/site-packages (from -r /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/checkouts/tickets-dm-3836/requirements.txt (line 2))
Obtaining lsst-dd-rtd-theme from git+git://github.com/lsst-sqre/lsst_dd_rtd_theme.git@master#egg=lsst_dd_rtd_theme (from -r /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/checkouts/tickets-dm-3836/requirements.txt (line 3))
  Cloning git://github.com/lsst-sqre/lsst_dd_rtd_theme.git (to master) to /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/envs/tickets-dm-3836/src/lsst-dd-rtd-theme
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=Connection timed out

  Complete output from command git clone -q git://github.com/lsst-sqre/lsst_dd_rtd_theme.git /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/envs/tickets-dm-3836/src/lsst-dd-rtd-theme:

  ----------------------------------------
Command "git clone -q git://github.com/lsst-sqre/lsst_dd_rtd_theme.git /home/docs/checkouts/readthedocs.org/user_builds/ldm-129/envs/tickets-dm-3836/src/lsst-dd-rtd-theme" failed with error code 128 in None

In summary, a git clone -q git://github.com/lsst-sqre/lsst_dd_rtd_theme.git is timing out because it can't reach GitHub's servers. The command works normally outside the RTD build container.

@agjohnson
Copy link
Contributor

I'm guessing this is a firewalling issue between the build containers and the git protocol port. We'll get a fix in on the port today

@jonathansick
Copy link
Author

Thanks @agjohnson!

@agjohnson
Copy link
Contributor

I pushed out a change to allow access to the port, which should address this issue.

@jonathansick
Copy link
Author

It works! Much thanks for the quick fix.

@anthokalel
Copy link

How did you do that @agjohnson ?

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

No branches or pull requests

3 participants