Quantum test suite leaks memory like a sieve
Bug #1065276 reported by
Kevin L. Mitchell
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Iryoung Jeong | ||
Folsom |
Fix Released
|
High
|
Gary Kotton | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have at least one test (and possibly others; can't tell for sure) which is failing because the Quantum test suite seems to leak memory like a sieve. The machine I'm testing Quantum on has 1G physical and 1G swap, and the exact failure is a "Cannot allocate memory" exception from os.fork(). I ran the test suite and kept an eye on it with top, and within a few minutes, all physical memory was in use by the Quantum test suite, with roughly half of my swap also consumed.
Related branches
lp://staging/~gandelman-a/ubuntu/quantal/quantum/2012.2.1
- Openstack Ubuntu Testers: Pending requested
-
Diff: 79 lines (+68/-0)1 file modifieddebian/changelog (+68/-0)
Changed in quantum: | |
status: | New → Confirmed |
Changed in quantum: | |
milestone: | none → grizzly-1 |
importance: | Undecided → High |
Changed in quantum: | |
assignee: | nobody → Gary Kotton (garyk) |
Changed in quantum: | |
assignee: | Gary Kotton (garyk) → Mark McClain (markmcclain) |
status: | Confirmed → In Progress |
Changed in quantum: | |
milestone: | grizzly-1 → grizzly-2 |
assignee: | Iryoung Jeong (iryoung) → Mark McClain (markmcclain) |
tags: | added: folsom-backport-potential |
tags: | removed: folsom-backport-potential |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
Changed in quantum (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-2 → 2013.1 |
To post a comment you must log in.
Hi Kevin,
some team members have already been investigating mem leaks in the unit tests and think they are due to sqlalchemy. A recent change was pushed to use an updated version of sqlalchemy, which they believe will address the issue, though I have not confirmed it myself: https:/ /review. openstack. org/#/c/ 14135/
Would be good to get your feedback as to whether this is the same issue you are seeing.