Public bug reported:

Eventlet 0.20.x added support for green version of subprocess, which
however causes an issue with glance tests:

glance.tests.functional.db.test_registry.TestRegistryDriver.test_image_create_bad_property
------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "glance/tests/functional/db/test_registry.py", line 74, in setUp
        super(TestRegistryDriver, self).setUp()
      File "glance/tests/functional/db/base.py", line 95, in setUp
        super(TestDriver, self).setUp()
      File "glance/tests/functional/db/test_registry.py", line 62, in setUp
        api_version=2)
      File "glance/tests/functional/__init__.py", line 765, in start_with_retry
        **kwargs)
      File "glance/tests/functional/__init__.py", line 148, in start
        self.create_database()
      File "glance/tests/functional/__init__.py", line 230, in create_database
        expect_exit=True)
      File "glance/tests/utils.py", line 318, in execute
        result = process.communicate()
      File "/usr/lib64/python2.7/subprocess.py", line 800, in communicate
        return self._communicate(input)
      File "/usr/lib64/python2.7/subprocess.py", line 1417, in _communicate
        stdout, stderr = self._communicate_with_poll(input)
      File "/usr/lib64/python2.7/subprocess.py", line 1447, in 
_communicate_with_poll
        poller = select.poll()
    AttributeError: 'module' object has no attribute 'poll'

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  Improve compatibility with eventlet 0.20.1

Status in Glance:
  New

Bug description:
  Eventlet 0.20.x added support for green version of subprocess, which
  however causes an issue with glance tests:

  
glance.tests.functional.db.test_registry.TestRegistryDriver.test_image_create_bad_property
  
------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "glance/tests/functional/db/test_registry.py", line 74, in setUp
          super(TestRegistryDriver, self).setUp()
        File "glance/tests/functional/db/base.py", line 95, in setUp
          super(TestDriver, self).setUp()
        File "glance/tests/functional/db/test_registry.py", line 62, in setUp
          api_version=2)
        File "glance/tests/functional/__init__.py", line 765, in 
start_with_retry
          **kwargs)
        File "glance/tests/functional/__init__.py", line 148, in start
          self.create_database()
        File "glance/tests/functional/__init__.py", line 230, in create_database
          expect_exit=True)
        File "glance/tests/utils.py", line 318, in execute
          result = process.communicate()
        File "/usr/lib64/python2.7/subprocess.py", line 800, in communicate
          return self._communicate(input)
        File "/usr/lib64/python2.7/subprocess.py", line 1417, in _communicate
          stdout, stderr = self._communicate_with_poll(input)
        File "/usr/lib64/python2.7/subprocess.py", line 1447, in 
_communicate_with_poll
          poller = select.poll()
      AttributeError: 'module' object has no attribute 'poll'

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1655727/+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