** No longer affects: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1465086

Title:
  tox doesn't work under proxy

Status in Barbican:
  In Progress
Status in Ceilometer:
  Won't Fix
Status in cloudkitty:
  Won't Fix
Status in Designate:
  Fix Committed
Status in Gnocchi:
  Won't Fix
Status in Magnum:
  Fix Released
Status in python-designateclient:
  Fix Committed
Status in python-magnumclient:
  Fix Released
Status in senlin:
  Fix Committed

Bug description:
  When a development environment is under a proxy, tox fails like this:
  (even if environment variables of the proxy are set.)

  $ tox -epep8
  pep8 create: /home/system/magnum/.tox/pep8
  pep8 installdeps: -r/home/system/magnum/requirements.txt, 
-r/home/system/magnum/test-requirements.txt
  ERROR: invocation failed (exit code 1), logfile: 
/home/system/magnum/.tox/pep8/log/pep8-1.log
  ERROR: actionid: pep8
  msg: getenv
  cmdargs: [local('/home/system/magnum/.tox/pep8/bin/pip'), 'install', '-U', 
'-r/home/system/magnum/requirements.txt', 
'-r/home/system/magnum/test-requirements.txt']
  env: {'PATH': 
'/home/system/magnum/.tox/pep8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games',
 'VIRTUAL_ENV': '/home/system/magnum/.tox/pep8', 'PYTHONHASHSEED': '2857363521'}

  Collecting Babel>=1.3 (from -r /home/system/magnum/requirements.txt (line 1))
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after 
connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name 
or service not known'))': /simple/babel/
    Could not find a version that satisfies the requirement Babel>=1.3 (from -r 
/home/system/magnum/requirements.txt (line 1)) (from versions: )
  No matching distribution found for Babel>=1.3 (from -r 
/home/system/magnum/requirements.txt (line 1))

  ERROR: could not install deps [-r/home/system/magnum/requirements.txt, 
-r/home/system/magnum/test-requirements.txt]; v = 
InvocationError('/home/system/magnum/.tox/pep8/bin/pip install -U 
-r/home/system/magnum/requirements.txt 
-r/home/system/magnum/test-requirements.txt (see 
/home/system/magnum/.tox/pep8/log/pep8-1.log)', 1)
  ___________________________________ summary 
____________________________________
  ERROR:   pep8: could not install deps 
[-r/home/system/magnum/requirements.txt, 
-r/home/system/magnum/test-requirements.txt]; v = 
InvocationError('/home/system/magnum/.tox/pep8/bin/pip install -U 
-r/home/system/magnum/requirements.txt 
-r/home/system/magnum/test-requirements.txt (see 
/home/system/magnum/.tox/pep8/log/pep8-1.log)', 1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/barbican/+bug/1465086/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to