Public bug reported: While investigating bug 1474069, I discovered this test fails when run in isolation as well.
$ tox -e py27 keystone.tests.unit.test_config running= OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} --list running= OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} --load-list /tmp/tmpXPUxi4 ====================================================================== FAIL: keystone.tests.unit.test_config.DeprecatedOverrideTestCase.test_sql tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:''-1 stderr stdout pythonlogging:'': {{{Adding cache-proxy 'keystone.tests.unit.test_cache.CacheIsolatingProxy' to backend.}}} Traceback (most recent call last): File "keystone/tests/unit/test_config.py", line 81, in test_sql self.assertEqual('sqlite://new', CONF.database.connection) File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1902, in __getattr__ raise NoSuchOptError(name) oslo_config.cfg.NoSuchOptError: no such option: database ====================================================================== FAIL: keystone.tests.unit.test_config.DeprecatedTestCase.test_sql tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:''-1 stderr stdout pythonlogging:'': {{{Adding cache-proxy 'keystone.tests.unit.test_cache.CacheIsolatingProxy' to backend.}}} Traceback (most recent call last): File "keystone/tests/unit/test_config.py", line 65, in test_sql self.assertEqual('sqlite://deprecated', CONF.database.connection) File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1902, in __getattr__ raise NoSuchOptError(name) oslo_config.cfg.NoSuchOptError: no such option: database Ran 4 (+3) tests in 0.032s (-0.357s) FAILED (id=5988, failures=2 (+2)) The individual tests fail when run in isolation as well. For example: $ tox -e py27 keystone.tests.unit.test_config.DeprecatedOverrideTestCase.test_sql $ tox -e py27 keystone.tests.unit.test_config.DeprecatedTestCase.test_sql ** Affects: keystone Importance: Low Status: Triaged ** Tags: low-hanging-fruit test-improvement -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1474491 Title: keystone.tests.unit.test_config fails in isolation Status in Keystone: Triaged Bug description: While investigating bug 1474069, I discovered this test fails when run in isolation as well. $ tox -e py27 keystone.tests.unit.test_config running= OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} --list running= OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} --load-list /tmp/tmpXPUxi4 ====================================================================== FAIL: keystone.tests.unit.test_config.DeprecatedOverrideTestCase.test_sql tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:''-1 stderr stdout pythonlogging:'': {{{Adding cache-proxy 'keystone.tests.unit.test_cache.CacheIsolatingProxy' to backend.}}} Traceback (most recent call last): File "keystone/tests/unit/test_config.py", line 81, in test_sql self.assertEqual('sqlite://new', CONF.database.connection) File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1902, in __getattr__ raise NoSuchOptError(name) oslo_config.cfg.NoSuchOptError: no such option: database ====================================================================== FAIL: keystone.tests.unit.test_config.DeprecatedTestCase.test_sql tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:''-1 stderr stdout pythonlogging:'': {{{Adding cache-proxy 'keystone.tests.unit.test_cache.CacheIsolatingProxy' to backend.}}} Traceback (most recent call last): File "keystone/tests/unit/test_config.py", line 65, in test_sql self.assertEqual('sqlite://deprecated', CONF.database.connection) File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1902, in __getattr__ raise NoSuchOptError(name) oslo_config.cfg.NoSuchOptError: no such option: database Ran 4 (+3) tests in 0.032s (-0.357s) FAILED (id=5988, failures=2 (+2)) The individual tests fail when run in isolation as well. For example: $ tox -e py27 keystone.tests.unit.test_config.DeprecatedOverrideTestCase.test_sql $ tox -e py27 keystone.tests.unit.test_config.DeprecatedTestCase.test_sql To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1474491/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp