Silent traceback in unittests

Bug #1423189 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Sergey Kraynev

Bug Description

Currently Heat has stable traceback in uittests output:

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 467, in format
    s = self._fmt % record.__dict__
  File "/home/skr/heat/.tox/py27/local/lib/python2.7/site-packages/oslo_i18n/_message.py", line 167, in __str__
    raise UnicodeError(msg)

Note, that this traceback does not break heat test.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/157003

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/157003
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=d6ed31c05d9766949181d17ebd5a5f4d8a9fc436
Submitter: Jenkins
Branch: master

commit d6ed31c05d9766949181d17ebd5a5f4d8a9fc436
Author: Sergey Kraynev <email address hidden>
Date: Wed Feb 18 09:03:08 2015 -0500

    Translate exception in the right way

    - Add lazy translation for some missed messages
    - Fix traceback in unittest due to wrong logging

    Change-Id: I4a499309bea8a1e4d9b7ff9bcc84e3a76e16c329
    Closes-Bug: #1423189

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-3 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.