[openstack-dev] Who owns the centos gate for oslo?

Mark McLoughlin markmc at redhat.com
Thu May 2 09:11:28 UTC 2013


Hey Michael,

On Thu, 2013-05-02 at 17:36 +1000, Michael Still wrote:
> Who owns the centos gate for oslo? Its failing on one of my changes,
> and it looks to me like a centos bug...
> 
> http://logs.openstack.org/28014/1/check/gate-oslo-incubator-python26-centos6/15/console.html
> 
> One of the failures looks like this:
> 
> 2013-05-02 07:28:03.563 |
> ======================================================================
> 2013-05-02 07:28:03.563 | ERROR:
> tests.unit.test_processutils.ProcessExecutionErrorTest.test_check_exit_code_boolean
> 2013-05-02 07:28:03.563 |
> ----------------------------------------------------------------------
> 2013-05-02 07:28:03.563 | _StringException: Empty attachments:
> 2013-05-02 07:28:03.563 |   pythonlogging:'openstack.common'
> 2013-05-02 07:28:03.563 |
> 2013-05-02 07:28:03.563 | Traceback (most recent call last):
> 2013-05-02 07:28:03.563 |   File
> "/home/jenkins/workspace/gate-oslo-incubator-python26-centos6/tests/unit/test_processutils.py",
> line 140, in test_check_exit_code_boolean
> 2013-05-02 07:28:03.563 |     processutils.execute('/usr/bin/env',
> 'false', check_exit_code=False)
> 2013-05-02 07:28:03.563 |   File
> "/home/jenkins/workspace/gate-oslo-incubator-python26-centos6/openstack/common/processutils.py",
> line 149, in execute
> 2013-05-02 07:28:03.563 |     result = obj.communicate()
> 2013-05-02 07:28:03.563 |   File "/usr/lib64/python2.6/subprocess.py",
> line 729, in communicate
> 2013-05-02 07:28:03.563 |     stdout, stderr = self._communicate(input, endtime)
> 2013-05-02 07:28:03.563 |   File "/usr/lib64/python2.6/subprocess.py",
> line 1330, in _communicate
> 2013-05-02 07:28:03.564 |     self.wait(timeout=self._remaining_time(endtime))
> 2013-05-02 07:28:03.564 | TypeError: wait() got an unexpected keyword
> argument 'timeout'
> 
> Note that argument is coming from python2.6, not my code. According to
> http://blog.dynamichosting.biz/2013/01/10/issues-with-nova-services-and-timeout-from-python-eventlet-w-centos-and-rhel/
> it might be an eventlet versioning issue?

The eventlet on PyPI basically doesn't work on RHEL6 right now because
we (Red Hat) screwed up by not taking monkey patching into account when
backporting an API from python 3. Nova has a hack to workaround this and
I've just proposed that we add this to oslo-incubator. The commit
message has all the gory details:

  https://review.openstack.org/28020

Cheers,
Mark.




More information about the OpenStack-dev mailing list