yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39719
[Bug 1503501] [NEW] oslo.db no longer requires testresources and testscenarios packages
Public bug reported:
As of https://review.openstack.org/#/c/217347/ oslo.db no longer has
testresources or testscenarios in its requirements, So next release of
oslo.db will break several projects. These project that use fixtures
from oslo.db should add these to their requirements if they need it.
Example from Nova:
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --list
---Non-zero exit code (2) from test listing.
error: testr failed (3)
import errors ---
Failed to import test module: nova.tests.unit.db.test_db_api
Traceback (most recent call last):
File "/home/travis/build/dims/nova/.tox/py27/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/home/travis/build/dims/nova/.tox/py27/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "nova/tests/unit/db/test_db_api.py", line 31, in <module>
from oslo_db.sqlalchemy import test_base
File "/home/travis/build/dims/nova/.tox/py27/src/oslo.db/oslo_db/sqlalchemy/test_base.py", line 17, in <module>
import testresources
ImportError: No module named testresources
https://travis-ci.org/dims/nova/jobs/83992423
** Affects: cinder
Importance: Undecided
Assignee: Davanum Srinivas (DIMS) (dims-v)
Status: In Progress
** Affects: heat
Importance: Undecided
Status: New
** Affects: neutron
Importance: Undecided
Status: New
** Affects: nova
Importance: Undecided
Status: New
** Also affects: cinder
Importance: Undecided
Status: New
** Also affects: heat
Importance: Undecided
Status: New
** Also affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1503501
Title:
oslo.db no longer requires testresources and testscenarios packages
Status in Cinder:
In Progress
Status in heat:
New
Status in neutron:
New
Status in OpenStack Compute (nova):
New
Bug description:
As of https://review.openstack.org/#/c/217347/ oslo.db no longer has
testresources or testscenarios in its requirements, So next release of
oslo.db will break several projects. These project that use fixtures
from oslo.db should add these to their requirements if they need it.
Example from Nova:
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --list
---Non-zero exit code (2) from test listing.
error: testr failed (3)
import errors ---
Failed to import test module: nova.tests.unit.db.test_db_api
Traceback (most recent call last):
File "/home/travis/build/dims/nova/.tox/py27/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/home/travis/build/dims/nova/.tox/py27/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "nova/tests/unit/db/test_db_api.py", line 31, in <module>
from oslo_db.sqlalchemy import test_base
File "/home/travis/build/dims/nova/.tox/py27/src/oslo.db/oslo_db/sqlalchemy/test_base.py", line 17, in <module>
import testresources
ImportError: No module named testresources
https://travis-ci.org/dims/nova/jobs/83992423
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1503501/+subscriptions
Follow ups
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Vitaly Gridnev, 2016-06-08
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Thomas Herve, 2016-05-25
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Doug Hellmann, 2015-12-04
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Doug Hellmann, 2015-12-03
-
[Bug 1503501] Fix included in openstack/sahara 4.0.0.0b1
From: Doug Hellmann, 2015-12-03
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Steven Hardy, 2015-10-19
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Sergey Lukjanov, 2015-10-15
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Thierry Carrez, 2015-10-14
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Thierry Carrez, 2015-10-13
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Michael McCune, 2015-10-13
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Thierry Carrez, 2015-10-13
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Mike Fedosin, 2015-10-12
-
[Bug 1503501] Re: oslo.db no longer requires testresources and testscenarios packages
From: Davanum Srinivas (DIMS), 2015-10-12