OSProfiler break decomposed unit tests

Bug #1585075 reported by Gary Kotton
14
This bug affects 6 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Ihar Hrachyshka

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: {}

Gary Kotton (garyk)
Changed in neutron:
importance: Undecided → High
summary: - OSProfiler break deocmposed unit tests
+ OSProfiler break decomposed unit tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/320242

Changed in neutron:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Changed in neutron:
assignee: Gary Kotton (garyk) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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 <email address hidden>
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
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.