← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1228969] Re: fix logic in NvpApiException

 

** Also affects: vmware-nsx
   Importance: Undecided
       Status: New

** No longer affects: neutron

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

Title:
  fix logic in NvpApiException

Status in vmware-nsx:
  New

Bug description:
  ERROR: neutron.tests.unit.nicira.test_nvplib.TestNvplibLogicalRouters.test_update_lrouter_port_ips_nvp_exception_raises
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:''

  Traceback (most recent call last):
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/tests/unit/nicira/test_nvplib.py", line 884, in test_update_lrouter_port_ips_nvp_exception_raises
      lrouter_port['uuid'], [], [])
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 394, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
      mismatch = matcher.match(matchee)
    File "/usr/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 99, in match
      mismatch = self.exception_matcher.match(exc_info)
    File "/usr/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 61, in match
      mismatch = matcher.match(matchee)
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 386, in match
      reraise(*matchee)
    File "/usr/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 92, in match
      result = matchee()
    File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 867, in __call__
      return self._callable_object(*self._args, **self._kwargs)
    File "/home/smccully/projects/launchpad-workflow/neutron/neutron/plugins/nicira/nvplib.py", line 1343, in update_lrouter_port_ips
      "router logical port:%s") % str(e)
  TypeError: __str__ returned non-string (type Message)

  
  This is sometimes failing and sometimes not!!!!!

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmware-nsx/+bug/1228969/+subscriptions