yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66122
[Bug 1706545] [NEW] functional test fails with RuntimeError: http_proxy or https_proxy set in environment, please unset
Public bug reported:
In an environment where http proxy is needed to create a python virtual
env for the test run the functional tests fail with the similar stack
traces:
Traceback (most recent call last):
File "nova/tests/functional/notification_sample_tests/test_instance.py", line 91, in setUp
super(TestInstanceNotificationSample, self).setUp()
File "nova/tests/functional/notification_sample_tests/notification_sample_base.py", line 86, in setUp
self.useFixture(nova_fixtures.PlacementFixture())
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "nova/tests/fixtures.py", line 1403, in setUp
intercept.install_intercept()
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/wsgi_intercept/interceptor.py", line 89, in install_intercept
self._module.install()
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/wsgi_intercept/_urllib3.py", line 34, in install
'http_proxy or https_proxy set in environment, please unset')
RuntimeError: http_proxy or https_proxy set in environment, please unset
This is because passenv config of tox.ini contains the http_proxy and
https_proxy env variables and therefore tox passing them into the test
executor.
** Affects: nova
Importance: Undecided
Status: New
** Tags: testing
** Tags added: testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1706545
Title:
functional test fails with RuntimeError: http_proxy or https_proxy
set in environment, please unset
Status in OpenStack Compute (nova):
New
Bug description:
In an environment where http proxy is needed to create a python
virtual env for the test run the functional tests fail with the
similar stack traces:
Traceback (most recent call last):
File "nova/tests/functional/notification_sample_tests/test_instance.py", line 91, in setUp
super(TestInstanceNotificationSample, self).setUp()
File "nova/tests/functional/notification_sample_tests/notification_sample_base.py", line 86, in setUp
self.useFixture(nova_fixtures.PlacementFixture())
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "nova/tests/fixtures.py", line 1403, in setUp
intercept.install_intercept()
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/wsgi_intercept/interceptor.py", line 89, in install_intercept
self._module.install()
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/wsgi_intercept/_urllib3.py", line 34, in install
'http_proxy or https_proxy set in environment, please unset')
RuntimeError: http_proxy or https_proxy set in environment, please unset
This is because passenv config of tox.ini contains the http_proxy and
https_proxy env variables and therefore tox passing them into the test
executor.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1706545/+subscriptions
Follow ups