Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14256

buildout builder:cannot download zc.buildout from behind a firewall from pypi.python.org

XMLWordPrintable

      When using a buildout builder in shiningpanda plugin, one of the steps which is executed is downloading zc.buildout from pypi.python.org.
      Unfortunately when this is executed from behind a firewall which expects authentification, this does not work (see below)

      The bootstrap.py script used in setting up the environment seem to provide several parameter (e.g. --download-base) for changing the download server to a local pypi server. Making these available as configuration parameter would help to solve the problem

      Building in workspace /var/hudson/8282/work/jobs/FrontARENA/workspace
      [workspace] $ /bin/ksh -xe /var/tmp/hudson2537037190294754109.sh
      + echo /var/hudson/8282/work/jobs/FrontARENA/workspace,
      /var/hudson/8282/work/jobs/FrontARENA/workspace,
      [workspace] $ /nfs/seu_tools/sol/python/2.6.7-64bit/bin/python /var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py --distribute /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89
      PYTHONHOME is set. You must activate the virtualenv before using it
      New python executable in /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/bin/python
      Installing distribute.............................................................................................................................................................................................done.
      Installing pip...............done.
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libhistory.so /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libhistory.so
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libhistory.so.6 /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libhistory.so.6
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libreadline.so /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libreadline.so
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libreadline.so.6 /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libreadline.so.6
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libsqlite3.so /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libsqlite3.so
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libsqlite3.so.0 /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libsqlite3.so.0
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libsqlite3.so.0.8.6 /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libsqlite3.so.0.8.6
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libtcl8.5.so /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libtcl8.5.so
      $ ln -s /nfs/seu_tools/sol/python/2.6.7-64bit/lib/libtk8.5.so /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/lib/libtk8.5.so
      [workspace] $ /var/hudson/8282/work/shiningpanda/jobs/7613aa0d/buildouts/5868ae89/bin/python /var/hudson/8282/work/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/bootstrap.py -c buildout.cfg --distribute
      Download error on http://pypi.python.org/simple/zc.buildout/: [Errno 128] Network is unreachable – Some packages may not be found!
      Download error on http://pypi.python.org/simple/zc.buildout/: [Errno 128] Network is unreachable – Some packages may not be found!
      Couldn't find index page for 'zc.buildout' (maybe misspelled?)
      Download error on http://pypi.python.org/simple/: [Errno 128] Network is unreachable – Some packages may not be found!
      Download error on http://pypi.python.org/simple/zc.buildout/: [Errno 128] Network is unreachable – Some packages may not be found!
      Download error on http://pypi.python.org/simple/zc.buildout/: [Errno 128] Network is unreachable – Some packages may not be found!
      Couldn't find index page for 'zc.buildout' (maybe misspelled?)
      Download error on http://pypi.python.org/simple/: [Errno 128] Network is unreachable – Some packages may not be found!
      No local packages or download links found for zc.buildout
      error: Could not find suitable distribution for Requirement.parse('zc.buildout')
      An error occurred when trying to install zc.buildout. Look above this message for any errors that were output by easy_install.
      Build step 'Buildout Builder' marked build as failure
      Recording test results
      Finished: FAILURE

            mansion Olivier Mansion
            karstens Karsten Schwarz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: