oom while executing unit tests

Bug #1054387 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Salvatore Orlando

Bug Description

oom have been observed frequently while running quantum unit tests.

This is having a serious impact on jenkins gate.

Root cause is the use of in memory sqllite database.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/13508

Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/13508
Committed: http://github.com/openstack/quantum/commit/b6185c43385b8cf2d8890671dba3aaa5d3dd2139
Submitter: Jenkins
Branch: master

commit b6185c43385b8cf2d8890671dba3aaa5d3dd2139
Author: Salvatore Orlando <email address hidden>
Date: Fri Sep 21 17:06:47 2012 -0700

    Use sqlite db on file for unit tests

    bug 1054387

    So far unit tests were executed using an in-memory database.
    Memory was not being freed thus causing oom frequently due to
    the increased number of unit tests.
    Since sqlite in memory db do not work very well anyway with nose,
    we are moving to file-based databases; slower, but safer.

    Also, this patch removes a bunch of unit tests which do not add
    anything to code coverage or number or test cases exercised.

    Change-Id: Ib853727a5268643fbe8a99f6ebd0fc10aca6a43a

Changed in quantum:
status: In Progress → Fix Committed
dan wendlandt (danwent)
tags: added: folsom-rc-potential
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Any reason for why I cannot target anymore to RC2?

Revision history for this message
dan wendlandt (danwent) wrote :

RC2 is shipped, so you can't target new bugs. I already added the folsom-rc-potential tag, so this will get into a new RC, or the folsom-stable branch.

Thierry Carrez (ttx)
no longer affects: quantum/folsom
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-rc3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/13654

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (milestone-proposed)

Reviewed: https://review.openstack.org/13654
Committed: http://github.com/openstack/quantum/commit/19999580d8383d3e383801f23832be0926b4fe65
Submitter: Jenkins
Branch: milestone-proposed

commit 19999580d8383d3e383801f23832be0926b4fe65
Author: Salvatore Orlando <email address hidden>
Date: Fri Sep 21 17:06:47 2012 -0700

    Use sqlite db on file for unit tests

    bug 1054387

    So far unit tests were executed using an in-memory database.
    Memory was not being freed thus causing oom frequently due to
    the increased number of unit tests.
    Since sqlite in memory db do not work very well anyway with nose,
    we are moving to file-based databases; slower, but safer.

    Also, this patch removes a bunch of unit tests which do not add
    anything to code coverage or number or test cases exercised.

    Change-Id: Ib853727a5268643fbe8a99f6ebd0fc10aca6a43a

Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc3 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.