yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48505
[Bug 1561121] Re: Keystone unit test failure with oslo.* from master
Reviewed: https://review.openstack.org/291207
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=8556437ee02de028ec5de3b867abaab82533cb91
Submitter: Jenkins
Branch: master
commit 8556437ee02de028ec5de3b867abaab82533cb91
Author: Brant Knudson <bknudson@xxxxxxxxxx>
Date: Thu Mar 10 08:35:13 2016 -0600
Correct test to support changing N release name
oslo.log is going to change to use Newton rather than N so this test
should not make an assumption about the way that
versionutils.deprecated is calling report_deprecated_feature.
Change-Id: I06aa6d085232376811f73597b2d84b5174bc7a8d
Closes-Bug: 1561121
** Changed in: keystone
Status: In Progress => Fix Released
--
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):
Fix Released
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
References