Comment 1 for bug 1298039

Revision history for this message
Zhi Yan Liu (lzy-dev) wrote :

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