← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158826] Re: MiscellaneousXMLUtilTests.test_safe_parse_xml fails on RHEL6

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1158826

Title:
  MiscellaneousXMLUtilTests.test_safe_parse_xml fails on RHEL6

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The following unit test appears to be failing on RHEL6:

  2013-03-22 14:43:56.358 | Traceback (most recent call last):
  2013-03-22 14:43:56.358 |   File "/home/jenkins/workspace/gate-nova-python26-rhel6/nova/tests/api/openstack/test_xmlutil.py", line 738, in test_safe_parse_xml
  2013-03-22 14:43:56.358 |     self.assertEqual(normal_body, str(dom.toxml()))
  2013-03-22 14:43:56.359 | MismatchError: !=:
  2013-03-22 14:43:56.360 | reference = '''\
  2013-03-22 14:43:56.361 | <?xml version="1.0" ?><foo>
  2013-03-22 14:43:56.362 |                     <bar>
  2013-03-22 14:43:56.363 |                         <v1>hey</v1>
  2013-03-22 14:43:56.365 |                         <v2>there</v2>
  2013-03-22 14:43:56.365 |                     </bar>
  2013-03-22 14:43:56.366 |                 </foo>'''
  2013-03-22 14:43:56.367 | actual    = '''\
  2013-03-22 14:43:56.367 | <?xml version="1.0" ?>
  2013-03-22 14:43:56.368 | <foo>
  2013-03-22 14:43:56.369 |                     <bar>
  2013-03-22 14:43:56.370 |                         <v1>hey</v1>
  2013-03-22 14:43:56.371 |                         <v2>there</v2>
  2013-03-22 14:43:56.372 |                     </bar>
  2013-03-22 14:43:56.373 |                 </foo>'''

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