run_tests.sh & testr causing HTTPError: (407, 'Proxy Authentication Required')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Federico Ressi |
Bug Description
I have setup devstack (stable/kilo) with enabled services - keystone, horizon, nova, neutron, glance, rabbitmq on Ubuntu 14.04
And installed latest tempest (master branch)
Successfully generated tempest.conf using tox.
Modified & configured tempest.conf accordingly. Have a look @ http://
I set environment variables as below for http proxy -
export http_proxy="http://
export https_proxy="https:/
export no_proxy=
export HTTP_PROXY="http://
export HTTPS_PROXY="https:/
export NO_PROXY=
I set environment variables as below for tempest -
export TEMPEST_
export OS_TOP_
export OS_TEST_
When I executed "./run_tests.sh" or "testr run --parallel", it ended with below error -
tempest.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/root/
"error on import %s" % ids)
File "/root/
File "/root/
raise mismatch_error
testtools.
OS_
OS_
OS_
${PYTHON:
--- import errors ---
Failed to call load_tests:
Traceback (most recent call last):
File "/root/
return load_tests(self, tests, pattern)
File "/root/
File "/root/
File "/root/
File "/root/
File "/root/
File "/root/
**params)
File "/root/
creds = auth_provider.
File "/root/
auth_data = self.get_auth()
File "/root/
File "/root/
self.cache = self._get_auth()
File "/root/
token, auth_data = auth_func(
File "/root/
body = self.auth(user, password, tenant)
File "/root/
resp, body = self.post(
File "/root/
return self.request(
File "/root/
File "/root/
File "/root/
return super(ClosingHttp, self).request(
File "/root/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/root/
(response, content) = self._conn_
File "/root/
File "/root/
File "/root/
File "/root/
raise HTTPError(
HTTPError: (407, 'Proxy Authentication Required')
description: | updated |
summary: |
- testr run causing ImportError: Start directory is not importable + run_tests.sh causing HTTPError: (407, 'Proxy Authentication Required') |
description: | updated |
summary: |
- run_tests.sh causing HTTPError: (407, 'Proxy Authentication Required') + run_tests.sh & testr causing HTTPError: (407, 'Proxy Authentication + Required') |
description: | updated |
Changed in tempest: | |
importance: | Undecided → Medium |
Changed in tempest: | |
assignee: | Matthew Treinish (treinish) → Antoine Eiche (lewo-c) |
Changed in tempest: | |
assignee: | Antoine Eiche (lewo-c) → Matthew Treinish (treinish) |
Changed in tempest: | |
status: | Confirmed → In Progress |
assignee: | nobody → Matthew Treinish (treinish) |
Changed in tempest: | |
assignee: | Matthew Treinish (treinish) → Ken'ichi Ohmichi (oomichi) |
Problem is, urllib3 doesn't honor the proxy configuration.