** Also affects: senlin
Importance: Undecided
Status: New
** Changed in: senlin
Assignee: (unassigned) => lvdongbing (dbcocle)
--
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:
In Progress
Status in Gnocchi:
In Progress
Status in Magnum:
Fix Released
Status in neutron:
In Progress
Status in python-magnumclient:
Fix Released
Status in senlin:
In Progress
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 : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp