← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1330763] Re: PostgrestSQLOpportunisticFixture fails with no attribute named _details

 

Proposed fix was merged and included to oslo.db 1.0.1

** Changed in: oslo.db
       Status: In Progress => Fix Released

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

Title:
  PostgrestSQLOpportunisticFixture fails with no attribute named
  _details

Status in OpenStack Compute (Nova):
  Invalid
Status in Oslo Database library:
  Fix Released

Bug description:
  2014-06-16 22:13:11.783 | ======================================================================
  2014-06-16 22:13:11.783 | FAIL: nova.tests.db.test_db_api.TestPostgreSQLSqlalchemyTypesRepr.test_cidr_repr
  2014-06-16 22:13:11.783 | tags: worker-7
  2014-06-16 22:13:11.784 | ----------------------------------------------------------------------
  2014-06-16 22:13:11.784 | Empty attachments:
  2014-06-16 22:13:11.784 |   stderr
  2014-06-16 22:13:11.784 |   stdout
  2014-06-16 22:13:11.784 | 
  2014-06-16 22:13:11.784 | Traceback (most recent call last):
  2014-06-16 22:13:11.784 |   File "nova/tests/db/test_db_api.py", line 7227, in setUp
  2014-06-16 22:13:11.784 |     super(TestSqlalchemyTypesRepr, self).setUp()
  2014-06-16 22:13:11.784 |   File "nova/openstack/common/db/sqlalchemy/test_base.py", line 149, in setUp
  2014-06-16 22:13:11.785 |     super(OpportunisticTestCase, self).setUp()
  2014-06-16 22:13:11.785 |   File "nova/openstack/common/db/sqlalchemy/test_base.py", line 68, in setUp
  2014-06-16 22:13:11.785 |     self.useFixture(self.FIXTURE(self))
  2014-06-16 22:13:11.785 |   File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 630, in useFixture
  2014-06-16 22:13:11.785 |     gather_details(fixture.getDetails(), self.getDetails())
  2014-06-16 22:13:11.785 |   File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/fixtures/fixture.py", line 148, in getDetails
  2014-06-16 22:13:11.785 |     result = dict(self._details)
  2014-06-16 22:13:11.785 | AttributeError: 'PostgreSQLOpportunisticFixture' object has no attribute '_details'

  http://logstash.openstack.org/#eyJzZWFyY2giOiJcIkF0dHJpYnV0ZUVycm9yOiAnUG9zdGdyZVNRTE9wcG9ydHVuaXN0aWNGaXh0dXJlJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnX2RldGFpbHMnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MDI5NjI5NTU0MTZ9

  This happens occasionally, but not super frequently.

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


References