← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1674557] Re: eventlet 0.20.x breaks functional tests due to missing select.poll()

 

Reviewed:  https://review.openstack.org/447817
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f48dbeda5c4f8f34fb0f56227254ea3b8f830005
Submitter: Jenkins
Branch:    master

commit f48dbeda5c4f8f34fb0f56227254ea3b8f830005
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Tue Mar 21 05:23:53 2017 +0000

    Switch RootHelperProcess from select.poll to select.select
    
    The new eventlet 0.20.x that the gate was recently bumped to [1] removed
    select.poll [2]. Instead, we should use select.select that is both
    supported by eventlet as well as available on all platforms.
    
    [1] I534b8d7d6c2fa00c1fa7d84b3438e6e2b2fcad9e
    [2] http://eventlet.net/doc/changelog.html#id2
    
    Change-Id: Ie649abf495e00e7e05de47520ed89bbcd28360db
    Closes-Bug: #1674557


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  eventlet 0.20.x breaks functional tests due to missing select.poll()

Status in neutron:
  Fix Released

Bug description:
  eventlet was bumped from 0.19.x to 0.20.1 in gate, and it broke
  functional job:

  http://logs.openstack.org/78/385178/18/check/gate-neutron-dsvm-
  functional-ubuntu-xenial/184b97c/testr_results.html.gz

  Traceback (most recent call last):
    File "neutron/tests/base.py", line 116, in func
      return f(self, *args, **kwargs)
    File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 155, in test_conntrack_disassociate_fip_legacy_router
      self._test_conntrack_disassociate_fip(ha=False)
    File "neutron/tests/functional/agent/l3/framework.py", line 159, in _test_conntrack_disassociate_fip
      self.assertTrue(netcat.test_connectivity())
    File "neutron/tests/common/net_helpers.py", line 505, in test_connectivity
      message = self.server_process.read_stdout(READ_TIMEOUT).strip()
    File "neutron/tests/common/net_helpers.py", line 287, in read_stdout
      return self._read_stream(self.stdout, timeout)
    File "neutron/tests/common/net_helpers.py", line 292, in _read_stream
      poller = select.poll()
  AttributeError: 'module' object has no attribute 'poll'

  That's because as per release notes for 0.20.0, select.poll was
  removed:

  http://eventlet.net/doc/changelog.html#id2

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1674557/+subscriptions


References