yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47738
[Bug 1555304] [NEW] test_evnetlet_no_dnspython fails to import glance.cmd
Public bug reported:
The following test is failing during ubuntu package builds for mitaka
b3:
======================================================================
FAIL: glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython
self.assertEqual(0, rc)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1
The mismatch error results when the import of glance.cmd fails and an
ImportError is raised. If I comment out the following line, then the
import of glance.cmd is successful but I'm not sure why:
os.environ['EVENTLET_NO_GREENDNS'] = '%s'
** Affects: glance
Importance: Undecided
Status: New
** Description changed:
The following test is failing during ubuntu package builds for mitaka
b3:
======================================================================
FAIL: glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
- File "/<<PKGBUILDDIR>>/glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython
- self.assertEqual(0, rc)
- File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
- self.assertThat(observed, matcher, message)
- File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
- raise mismatch_error
+ File "/<<PKGBUILDDIR>>/glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython
+ self.assertEqual(0, rc)
+ File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
+ self.assertThat(observed, matcher, message)
+ File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
+ raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1
The mismatch error results when the import of glance.cmd fails and an
ImportError is raised. If I comment out the following line, then the
- import of glance.cmd is successful:
+ import of glance.cmd is successful but I'm not sure why:
os.environ['EVENTLET_NO_GREENDNS'] = '%s'
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1555304
Title:
test_evnetlet_no_dnspython fails to import glance.cmd
Status in Glance:
New
Bug description:
The following test is failing during ubuntu package builds for mitaka
b3:
======================================================================
FAIL: glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython
self.assertEqual(0, rc)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1
The mismatch error results when the import of glance.cmd fails and an
ImportError is raised. If I comment out the following line, then the
import of glance.cmd is successful but I'm not sure why:
os.environ['EVENTLET_NO_GREENDNS'] = '%s'
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1555304/+subscriptions
Follow ups