← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213921] Re: test_postgresql_opportunistically failure - MismatchError: ('project_user_quotas_user_id_deleted_idx

 

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

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

-- 
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/1213921

Title:
  test_postgresql_opportunistically failure - MismatchError:
  ('project_user_quotas_user_id_deleted_idx

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Examples:

    http://logs.openstack.org/37/40237/8/check/gate-nova-python26/b2b2a0c/
    http://logs.openstack.org/77/41977/3/check/gate-nova-python26/7ed4f4b/
    http://logs.openstack.org/77/41977/3/check/gate-nova-python27/e70a958/

   Failed to migrate to version 210 on engine Engine(postgresql+psycopg2://openstack_citest:openstack_citest@localhost/openstack_citest)
   }}}

   Traceback (most recent call last):
     File "/home/jenkins/workspace/gate-nova-python26/nova/tests/db/test_migrations.py", line 175, in test_postgresql_opportunistically
       self._test_postgresql_opportunistically()
     File "/home/jenkins/workspace/gate-nova-python26/nova/tests/db/test_migrations.py", line 358, in _test_postgresql_opportunistically
       self._walk_versions(engine, False, False)
     File "/home/jenkins/workspace/gate-nova-python26/nova/tests/db/test_migrations.py", line 379, in _walk_versions
       self._migrate_up(engine, version, with_data=True)
     File "/home/jenkins/workspace/gate-nova-python26/nova/tests/db/test_migrations.py", line 444, in _migrate_up
       check(engine, data)
     File "/home/jenkins/workspace/gate-nova-python26/nova/tests/db/test_migrations.py", line 2677, in _check_210
       ['user_id', 'deleted']), index_data)
     File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 328, in assertIn
       self.assertThat(haystack, Contains(needle))
     File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 417, in assertThat
       raise MismatchError(matchee, matcher, mismatch, verbose)
   MismatchError: ('project_user_quotas_user_id_deleted_idx', ['user_id', 'deleted']) not in [(u'project_user_quotas_project_id_deleted_idx', [u'project_id', u'deleted']), (u'project_user_quotas_user_id_deleted_idx', [u'deleted', u'user_id']), (u'uniq_project_user_quotas0user_id0project_id0resource0deleted', [u'deleted', u'resource', u'project_id', u'user_id'])]

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