← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1273301] [NEW] Unit test failure: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.

 

Public bug reported:

FAIL: neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase.test_multiple_plugins_specified_for_service_type
tags: worker-3
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-01-17 09:03:30,605     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
2014-01-17 09:03:30,698     INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
2014-01-17 09:03:30,698     INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
}}}

Traceback (most recent call last):
  File "neutron/tests/unit/test_neutron_manager.py", line 100, in test_multiple_plugins_specified_for_service_type
    NeutronManager.get_instance()
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 866, in __exit__
    mismatch = matcher.match((exc_type, exc_value, traceback))
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 64, in match
    return self.value_re.match(other[1])
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 206, in match
    after = self.preprocessor(value)
  File "neutron/openstack/common/gettextutils.py", line 264, in __str__
    raise UnicodeError(msg)
UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1273301

Title:
  Unit test failure: Message objects do not support str() because they
  may contain non-ascii characters. Please use unicode() or translate()
  instead.

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  FAIL: neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase.test_multiple_plugins_specified_for_service_type
  tags: worker-3
  ----------------------------------------------------------------------
  Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2014-01-17 09:03:30,605     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
  2014-01-17 09:03:30,698     INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
  2014-01-17 09:03:30,698     INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
  }}}

  Traceback (most recent call last):
    File "neutron/tests/unit/test_neutron_manager.py", line 100, in test_multiple_plugins_specified_for_service_type
      NeutronManager.get_instance()
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 866, in __exit__
      mismatch = matcher.match((exc_type, exc_value, traceback))
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 64, in match
      return self.value_re.match(other[1])
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 206, in match
      after = self.preprocessor(value)
    File "neutron/openstack/common/gettextutils.py", line 264, in __str__
      raise UnicodeError(msg)
  UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1273301/+subscriptions


Follow ups

References