Bug 1073480

Summary: tempest volume metadata test failing against the XML interface
Product: [Community] RDO Reporter: Giulio Fidente <gfidente>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: eharney, lars, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 19:13:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Giulio Fidente 2014-03-06 14:01:34 UTC
Description of problem:
the tempest volume metadata test at:

https://github.com/openstack/tempest/blob/master/tempest/api/volume/test_volume_metadata.py#L42

is failing with:

Traceback (most recent call last):
  File "/var/lib/tempest/tempest/api/volume/test_volume_metadata.py", line 55, in test_create_get_delete_volume_metadata
    self.assertThat(body.items(), matchers.ContainsAll(metadata.items()))
  File "/var/lib/tempest/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: Differences: [
('key4', '<value&special_chars>') not in [('key3', 'value3'), ('key2', 'value2'), ('key1', 'value1'), ('key4', None)]
]

note key4 should contain the string "<value&special_chars>" but it seems to be empty.



Version-Release number of selected component (if applicable):
openstack-cinder-2014.1-0.2.b1.LIO.el7.noarch.rpm



Additional info:
this is *not* failing in gate upstream so there is no matching LP bug.

Comment 1 Lars Kellogg-Stedman 2015-03-26 19:13:13 UTC
This test passes with the RDO Juno packages.

# sh run_tempest.sh -- tempest.api.volume.test_volume_metadata
[...]
tempest.api.volume.test_volume_metadata.VolumesV1MetadataTest
    test_create_get_delete_volume_metadata[gate,id-6f5b125b-f664-44bf-910f-751591fe5769]OK  0.46