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

Dean Troyer dtroyer at gmail.com
Sat Aug 17 02:34:58 UTC 2013


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 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#L26the
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.

dt

-- 

Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130816/24763c36/attachment.html>


More information about the OpenStack-dev mailing list