← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585031] Re: osprofiler change broke out-of-tree unit tests

 

*** This bug is a duplicate of bug 1585075 ***
    https://bugs.launchpad.net/bugs/1585075

@Yamamoto, I'm sorry for inconvenience with changing duplicates, but "duplicate" was already merged.
This will allow to track place, where initial fix was done.

** This bug has been marked a duplicate of bug 1585075
   OSProfiler break decomposed unit tests

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

Title:
  osprofiler change broke out-of-tree unit tests

Status in neutron:
  In Progress

Bug description:
  the recently merged ofprofiler change [1] broke out-of-tree code.

  [1] I7fa2ad57dc5763ce72cba6945ebcadef2188e8bd

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%20%5C%22no%20such%20option%20in%20group%20DEFAULT%3A%20profiler%5C%22

  eg.
  http://logs.openstack.org/81/320181/2/check/gate-tap-as-a-service-python27/60fc1d1/testr_results.html.gz

  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
      self._setUp()
    File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/tests/unit/testlib_api.py", line 67, in _setUp
      engine = db_api.get_engine()
    File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/db/api.py", line 73, in get_engine
      facade = _create_facade_lazily()
    File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/db/api.py", line 63, in _create_facade_lazily
      if cfg.CONF.profiler.enabled and cfg.CONF.profiler.trace_sqlalchemy:
    File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2183, in __getattr__
      raise NoSuchOptError(name)
  oslo_config.cfg.NoSuchOptError: no such option in group DEFAULT: profiler

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


References