test_quota unit tests failing with UnicodeError from oslo gettextutils
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Matt Riedemann | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm seeing something like this in many unrelated changes:
2014-06-26 15:55:57.452 | FAIL: glance.
2014-06-26 15:55:57.452 | tags: worker-0
2014-06-26 15:55:57.452 | -------
2014-06-26 15:55:57.452 | Traceback (most recent call last):
2014-06-26 15:55:57.452 | File "glance/
2014-06-26 15:55:57.452 | self.assertIn(
2014-06-26 15:55:57.452 | File "glance/
2014-06-26 15:55:57.452 | raise UnicodeError(msg)
2014-06-26 15:55:57.452 | UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
http://
There is a gettextutils sync here: https:/
But that didn't hit this in the check queue, but hit it after being approved.
Changed in glance: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-2 → 2014.2 |
Here:
http:// logs.openstack. org/63/ 102863/ 1/check/ gate-glance- python27/ 6ad16a3/ console. html#_2014- 06-26_15_ 57_12_262
Introduced here:
https:/ /github. com/openstack/ glance/ commit/ 86dd9ff66c0f2b7 ded9d94aa8fb266 3c28196e23
Blows up because of this check when on python 2.*:
http:// git.openstack. org/cgit/ openstack/ oslo-incubator/ tree/openstack/ common/ gettextutils. py#n326
https:/ /github. com/openstack/ glance/ blame/master/ glance/ api/v1/ upload_ utils.py# L176