[openstack-dev] [Neutron] - python-neutronclient build failing for latest code reviews

Henry Gessau gessau at cisco.com
Sat Aug 17 14:38:44 UTC 2013


On Fri, Aug 16, at 10:34 pm, Dean Troyer <dtroyer at gmail.com> wrote:

> On Fri, Aug 16, 2013 at 8:26 PM, Henry Gessau <gessau at cisco.com> wrote:
> 
>     I asked on #openstack-infra and clarkb immediately identified it as a
>     problem with cliff, and saw that the cliff folks have apparently already
>     fixed it in cliff 1.4.3, which is now on the openstack.org
>     <http://openstack.org> pypi mirror so
>     new gate jobs should start passing now.
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> This occurs in our testing when OS_STDOUT_CAPTURE is not set.  I found it in
> python-openstackclient because the default setting as ised in the gate was
> to not capture stdout.  As Doug found out, cliff doesn't get an encoding in
> that state from the test runner.  I see OS_STDOUT_CAPTURE=1 in your
> .testr.conf but it looks like that is never used in the test setup.
> 
> If you add something similar
> to https://github.com/openstack/python-cinderclient/blob/master/cinderclient/tests/utils.py#L26
> the problem goes away when OS_STDOUT_CAPTURE=1.  As noted, cliff has been
> fixed but it may be that we should have this in the test setup.  Most
> projects already do.

Thanks Dean, I filed bug 1213384.



More information about the OpenStack-dev mailing list