RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1073480 - tempest volume metadata test failing against the XML interface
Summary: tempest volume metadata test failing against the XML interface
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Eric Harney
QA Contact: Dafna Ron
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-06 14:01 UTC by Giulio Fidente
Modified: 2016-04-26 18:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-26 19:13:13 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.