MismatchError in test_cinder_volumes_list

Bug #1338997 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Invalid
Undecided
Emilien Macchi

Bug Description

Running Icehouse with python-cinderclient 1.0.8-1

================================================================
FAIL: tempest.cli.simple_read_only.test_cinder.SimpleReadOnlyCinderClientTest.test_cinder_volumes_list
tempest.cli.simple_read_only.test_cinder.SimpleReadOnlyCinderClientTest.test_cinder_volumes_list
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/home/jenkins/build_tempest/tempest/tempest/cli/simple_read_only/test_cinder.py", line 66, in test_cinder_volumes_list
    'Attached to'])
  File "/home/jenkins/build_tempest/tempest/tempest/cli/__init__.py", line 142, in assertTableStruct
    self.assertIn(field, item)
  File "/home/jenkins/build_tempest/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 327, in assertIn
    self.assertThat(haystack, Contains(needle))
  File "/home/jenkins/build_tempest/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: 'Name' not in {'Status': 'in-use', 'Bootable': 'false', 'Attached to': 'f06479ee-225d-4306-8cd5-e172d8ca0352', 'Display Name': 'vol-ci', 'Volume Type': 'ceph', 'ID': 'f2e68043-0f92-4d8e-b43f-1800afda19a1', 'Size': '1'}

The tempest test is looking for "Display Name" and not "Name".

Tags: volumes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/105434

Changed in tempest:
assignee: nobody → Emilien Macchi (emilienm)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/105434

Rushi Agrawal (rushiagr)
Changed in tempest:
status: In Progress → New
tags: added: volumes
Revision history for this message
Mauro S M Rodrigues (maurorodrigues) wrote :

I didn't see this happening lately.
@Emilien Macchi you mentioned in the abandoned patch that you found the underlying reason. Can you share it? Can we consider this closed?

Changed in tempest:
status: New → Incomplete
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

This issue was related to CLI tests that were moved from Tempest to corresponding clients. Now this bug has nothing to do with Tempest. Moving the bug status to "Invalid".

Changed in tempest:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.