← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474490] Re: keystone.tests.unit.common.test_notifications.NotificationsTestCase fails in isolation

 

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

** Changed in: keystone
    Milestone: None => liberty-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1474490

Title:
  keystone.tests.unit.common.test_notifications.NotificationsTestCase
  fails in isolation

Status in Keystone:
  Fix Released

Bug description:
  While investigating bug 1474069, I discovered this test fails when run
  in isolation as well.

  $ tox -e py27 keystone.tests.unit.common.test_notifications.NotificationsTestCase
  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/tmpARu0Eo
  ======================================================================
  FAIL: keystone.tests.unit.common.test_notifications.NotificationsTestCase.test_send_notification
  tags: worker-0
  ----------------------------------------------------------------------
  Empty attachments:
    pythonlogging:''
    stderr
    stdout

  Traceback (most recent call last):
    File "keystone/tests/unit/common/test_notifications.py", line 182, in setUp
      fixture.config(rpc_backend='fake', notification_driver=['fake'])
    File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/fixture.py", line 65, in config
      self.conf.set_override(k, v, group)
    File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1824, in __inner
      result = f(self, *args, **kwargs)
    File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2103, in set_override
      opt_info = self._get_opt_info(name, group)
    File "/home/dolph/venv/os/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2421, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  oslo_config.cfg.NoSuchOptError: no such option: notification_driver
  Ran 1 tests in 0.005s (-0.431s)
  FAILED (id=7051, failures=1 (+1))

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


References