← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1561121] [NEW] Keystone unit test failure with oslo.* from master

 

Public bug reported:

from http://logs.openstack.org/periodic/periodic-keystone-py27-with-
oslo-master/0665198/console.html#_2016-03-23_06_21_06_074

2016-03-23 06:21:06.073 | ==============================
2016-03-23 06:21:06.073 | Failed 1 tests - output below:
2016-03-23 06:21:06.073 | ==============================
2016-03-23 06:21:06.073 | 
2016-03-23 06:21:06.073 | keystone.tests.unit.common.test_manager.TestCreateLegacyDriver.test_class_is_properly_deprecated
2016-03-23 06:21:06.073 | ------------------------------------------------------------------------------------------------
2016-03-23 06:21:06.074 | 
2016-03-23 06:21:06.074 | Captured traceback:
2016-03-23 06:21:06.074 | ~~~~~~~~~~~~~~~~~~~
2016-03-23 06:21:06.074 |     Traceback (most recent call last):
2016-03-23 06:21:06.074 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
2016-03-23 06:21:06.074 |         return func(*args, **keywargs)
2016-03-23 06:21:06.074 |       File "keystone/tests/unit/common/test_manager.py", line 37, in test_class_is_properly_deprecated
2016-03-23 06:21:06.075 |         mock_reporter.assert_called_with(mock.ANY, mock.ANY, details)
2016-03-23 06:21:06.075 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
2016-03-23 06:21:06.075 |         six.raise_from(AssertionError(_error_message(cause)), cause)
2016-03-23 06:21:06.075 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/six.py", line 718, in raise_from
2016-03-23 06:21:06.075 |         raise value
2016-03-23 06:21:06.075 |     AssertionError: Expected call: report_deprecated_feature(<ANY>, <ANY>, {'in_favor_of': 'keystone.catalog.core.CatalogDriverV8', 'as_of': 'Liberty', 'what': 'keystone.catalog.core.Driver', 'remove_in': 'N'})
2016-03-23 06:21:06.076 |     Actual call: report_deprecated_feature(<logging.Logger object at 0x7ff437f1b8d0>, u'%(what)s is deprecated as of %(as_of)s in favor of %(in_favor_of)s and may be removed in %(remove_in)s.', {'in_favor_of': 'keystone.catalog.core.CatalogDriverV8', 'as_of': 'Liberty', 'what': 'keystone.catalog.core.Driver', 'remove_in': 'Newton'})

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1561121

Title:
  Keystone unit test failure with oslo.* from master

Status in OpenStack Identity (keystone):
  New

Bug description:
  from http://logs.openstack.org/periodic/periodic-keystone-py27-with-
  oslo-master/0665198/console.html#_2016-03-23_06_21_06_074

  2016-03-23 06:21:06.073 | ==============================
  2016-03-23 06:21:06.073 | Failed 1 tests - output below:
  2016-03-23 06:21:06.073 | ==============================
  2016-03-23 06:21:06.073 | 
  2016-03-23 06:21:06.073 | keystone.tests.unit.common.test_manager.TestCreateLegacyDriver.test_class_is_properly_deprecated
  2016-03-23 06:21:06.073 | ------------------------------------------------------------------------------------------------
  2016-03-23 06:21:06.074 | 
  2016-03-23 06:21:06.074 | Captured traceback:
  2016-03-23 06:21:06.074 | ~~~~~~~~~~~~~~~~~~~
  2016-03-23 06:21:06.074 |     Traceback (most recent call last):
  2016-03-23 06:21:06.074 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
  2016-03-23 06:21:06.074 |         return func(*args, **keywargs)
  2016-03-23 06:21:06.074 |       File "keystone/tests/unit/common/test_manager.py", line 37, in test_class_is_properly_deprecated
  2016-03-23 06:21:06.075 |         mock_reporter.assert_called_with(mock.ANY, mock.ANY, details)
  2016-03-23 06:21:06.075 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
  2016-03-23 06:21:06.075 |         six.raise_from(AssertionError(_error_message(cause)), cause)
  2016-03-23 06:21:06.075 |       File "/home/jenkins/workspace/periodic-keystone-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/six.py", line 718, in raise_from
  2016-03-23 06:21:06.075 |         raise value
  2016-03-23 06:21:06.075 |     AssertionError: Expected call: report_deprecated_feature(<ANY>, <ANY>, {'in_favor_of': 'keystone.catalog.core.CatalogDriverV8', 'as_of': 'Liberty', 'what': 'keystone.catalog.core.Driver', 'remove_in': 'N'})
  2016-03-23 06:21:06.076 |     Actual call: report_deprecated_feature(<logging.Logger object at 0x7ff437f1b8d0>, u'%(what)s is deprecated as of %(as_of)s in favor of %(in_favor_of)s and may be removed in %(remove_in)s.', {'in_favor_of': 'keystone.catalog.core.CatalogDriverV8', 'as_of': 'Liberty', 'what': 'keystone.catalog.core.Driver', 'remove_in': 'Newton'})

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


Follow ups