← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291926] Re: MismatchError test_update_all_quota_resources_for_tenant

 

*** This bug is a duplicate of bug 1291162 ***
    https://bugs.launchpad.net/bugs/1291162

Reviewed:  https://review.openstack.org/81503
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=27a8c5641d4d419e6e67ed22333a159527356760
Submitter: Jenkins
Branch:    master

commit 27a8c5641d4d419e6e67ed22333a159527356760
Author: Sean Dague <sean.dague@xxxxxxxxxxx>
Date:   Wed Mar 19 07:46:42 2014 -0400

    fix cinder quota equality
    
    The cinder quota test was of bad quality, and assumed that all
    the functions in the class ran in linear order to work. If they
    run in a different order the tenant could have additional quota
    values beyond the strict defaults.
    
    We can fix this by testing the returned quota contains the values
    we're attempting to update.
    
    Closes-Bug: #1291926
    
    Change-Id: I53a154aac61368b7c20ac5703f3877fcf42f9781


** Changed in: tempest
       Status: In Progress => Fix Released

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

Title:
  MismatchError test_update_all_quota_resources_for_tenant

Status in Cinder:
  Invalid
Status in OpenStack Neutron (virtual network service):
  Invalid
Status in Tempest:
  Fix Released

Bug description:
  Observed in the Neutron full job

  2014-03-13 02:08:54.390 | Traceback (most recent call last):
  2014-03-13 02:08:54.390 |   File "tempest/api/volume/admin/test_volume_quotas.py", line 67, in test_update_all_quota_resources_for_tenant
  2014-03-13 02:08:54.390 |     self.assertEqual(new_quota_set, quota_set)
  2014-03-13 02:08:54.391 |   File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual
  2014-03-13 02:08:54.391 |     self.assertThat(observed, matcher, message)
  2014-03-13 02:08:54.391 |   File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
  2014-03-13 02:08:54.392 |     raise mismatch_error
  2014-03-13 02:08:54.392 | MismatchError: !=:
  2014-03-13 02:08:54.392 | reference = {'gigabytes': 1009, 'snapshots': 11, 'volumes': 11}
  2014-03-13 02:08:54.393 | actual    = {'gigabytes': 1009,
  2014-03-13 02:08:54.393 |  'gigabytes_volume-type--928001277': -1,
  2014-03-13 02:08:54.393 |  'snapshots': 11,
  2014-03-13 02:08:54.394 |  'snapshots_volume-type--928001277': -1,
  2014-03-13 02:08:54.394 |  'volumes': 11,
  2014-03-13 02:08:54.394 |  'volumes_volume-type--928001277': -1}

  Example here http://logs.openstack.org/82/67382/3/check/check-tempest-
  dsvm-neutron-full/8ffd266/console.html

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


References