Glance Tests Will Fail With psutil 2.0.0
Bug #1298039 reported by
Solly Ross
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
psutil recently released a new version in which the majorly broke API backwards-
Changed in glance: | |
milestone: | none → icehouse-rc1 |
Changed in glance: | |
milestone: | icehouse-rc1 → none |
Changed in glance: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
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