I can't reproduce situation you mentioned in my local development environment. Please provide more information, like log, exception stack and etc.
lzy@dev-controller-master:~/workspace/openstack-org/glance$ tools/with_venv.sh python Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import psutil >>> psutil.__file__ '/home/lzy/workspace/openstack-org/glance/.venv/local/lib/python2.7/site-packages/psutil/__init__.pyc' >>> import pkg_resources >>> pkg_resources.get_distribution("psutil").version '2.0.0' >>> exit()
lzy@dev-controller-master:~/workspace/openstack-org/glance$ ./run_tests.sh glance.tests.functional.v1.test_multiprocessing Running `tools/with_venv.sh python -m glance.openstack.common.lockutils python setup.py testr --testr-args='--subunit --concurrency 1 glance.tests.functional.v1.test_multiprocessing'` glance.tests.functional.v1.test_multiprocessing.TestMultiprocessing test_interrupt_avoids_respawn_storm OK 5.14 test_multiprocessing OK 2.27
Slowest 2 tests took 7.41 secs: glance.tests.functional.v1.test_multiprocessing.TestMultiprocessing test_interrupt_avoids_respawn_storm 5.14 test_multiprocessing 2.27
Ran 2 tests in 10.933s
OK
I can't reproduce situation you mentioned in my local development environment. Please provide more information, like log, exception stack and etc.
lzy@dev- controller- master: ~/workspace/ openstack- org/glance$ tools/with_venv.sh python lzy/workspace/ openstack- org/glance/ .venv/local/ lib/python2. 7/site- packages/ psutil/ __init_ _.pyc' get_distributio n("psutil" ).version
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.__file__
'/home/
>>> import pkg_resources
>>> pkg_resources.
'2.0.0'
>>> exit()
lzy@dev- controller- master: ~/workspace/ openstack- org/glance$ ./run_tests.sh glance. tests.functiona l.v1.test_ multiprocessing openstack. common. lockutils python setup.py testr --testr- args='- -subunit --concurrency 1 glance. tests.functiona l.v1.test_ multiprocessing '` tests.functiona l.v1.test_ multiprocessing .TestMultiproce ssing interrupt_ avoids_ respawn_ storm OK 5.14 multiprocessing OK 2.27
Running `tools/with_venv.sh python -m glance.
glance.
test_
test_
Slowest 2 tests took 7.41 secs: tests.functiona l.v1.test_ multiprocessing .TestMultiproce ssing interrupt_ avoids_ respawn_ storm 5.14 multiprocessing 2.27
glance.
test_
test_
Ran 2 tests in 10.933s
OK