← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585075] Re: OSProfiler break decomposed unit tests

 

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

Reviewed:  https://review.openstack.org/320242
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=cd445fefdefc94e64aedb0d1fd40052b442e16c3
Submitter: Jenkins
Branch:    master

commit cd445fefdefc94e64aedb0d1fd40052b442e16c3
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date:   Mon May 23 23:49:06 2016 -0700

    OSProfiler imports break decomposed plugins
    
    Ensure that the profile configuration is imported.
    
    Change-Id: I9e40a59391c2bdf526d7e3262de924722acd3560
    Closes-bug: #1585075


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  OSProfiler break decomposed unit tests

Status in neutron:
  Fix Released

Bug description:
  running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./vmware_nsx/tests/unit}  --load-list /tmp/tmp.FZwlpEExbg/tmpMkIDeW
  2016-05-24 05:46:28.751 | {1} vmware_nsx.tests.unit.dvs.test_utils.DvsUtilsTestCase.test_dvs_set [0.776316s] ... ok
  2016-05-24 05:46:28.805 | {5} vmware_nsx.tests.unit.dvs.test_plugin.NeutronSimpleDvsTest.test_create_and_delete_dvs_network_tag [1.197120s] ... FAILED
  2016-05-24 05:46:28.805 | 
  2016-05-24 05:46:28.806 | Captured traceback-1:
  2016-05-24 05:46:28.806 | ~~~~~~~~~~~~~~~~~~~~~
  2016-05-24 05:46:28.806 |     Traceback (most recent call last):
  2016-05-24 05:46:28.806 |       File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 208, in setUp
  2016-05-24 05:46:28.806 |         raise SetupError(details)
  2016-05-24 05:46:28.806 |     fixtures.fixture.SetupError: {}
  2016-05-24 05:46:28.806 |     
  2016-05-24 05:46:28.806 | 
  2016-05-24 05:46:28.806 | Captured traceback:
  2016-05-24 05:46:28.806 | ~~~~~~~~~~~~~~~~~~~
  2016-05-24 05:46:28.806 |     Traceback (most recent call last):
  2016-05-24 05:46:28.807 |       File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
  2016-05-24 05:46:28.807 |         self._setUp()
  2016-05-24 05:46:28.807 |       File "/tmp/openstack/neutron/neutron/tests/unit/testlib_api.py", line 67, in _setUp
  2016-05-24 05:46:28.807 |         engine = db_api.get_engine()
  2016-05-24 05:46:28.807 |       File "/tmp/openstack/neutron/neutron/db/api.py", line 73, in get_engine
  2016-05-24 05:46:28.807 |         facade = _create_facade_lazily()
  2016-05-24 05:46:28.807 |       File "/tmp/openstack/neutron/neutron/db/api.py", line 63, in _create_facade_lazily
  2016-05-24 05:46:28.807 |         if cfg.CONF.profiler.enabled and cfg.CONF.profiler.trace_sqlalchemy:
  2016-05-24 05:46:28.807 |       File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2183, in __getattr__
  2016-05-24 05:46:28.807 |         raise NoSuchOptError(name)
  2016-05-24 05:46:28.807 |     oslo_config.cfg.NoSuchOptError: no such option in group DEFAULT: profiler
  2016-05-24 05:46:28.807 |     
  2016-05-24 05:46:28.845 | {2} vmware_nsx.tests.unit.dvs.test_plugin.NeutronSimpleDvsTest.test_create_router_only_dvs_backend [0.965711s] ... FAILED
  2016-05-24 05:46:28.845 | 
  2016-05-24 05:46:28.845 | Captured traceback-1:
  2016-05-24 05:46:28.845 | ~~~~~~~~~~~~~~~~~~~~~
  2016-05-24 05:46:28.845 |     Traceback (most recent call last):
  2016-05-24 05:46:28.845 |       File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 208, in setUp
  2016-05-24 05:46:28.846 |         raise SetupError(details)
  2016-05-24 05:46:28.846 |     fixtures.fixture.SetupError: {}

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


References