Remove mox from testing infrastructure (partial)
Mox does not support python 3. We have a shim module 'mox3' that was built a couple of years ago, is unmaintained, and as it gets tested more heavily is showing race conditions under python3.
It's time to get rid of mox completely. This blueprint is for tracking any patches that reduce our reliance on mox.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Sean Dague
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for mitaka
- Implementation:
- Implemented
- Milestone target:
- mitaka-3
- Started by
- John Garbutt
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Approved as a split out from the already approved python3 spec. --johnthetubaguy 17th Dec 2015
Gerrit topic: https:/
Addressed by: https:/
introduce ``patch`` method to base test class
Addressed by: https:/
Remove mox and Stubs from tests/unit/
Addressed by: https:/
Remove mox usage of test_quota
Addressed by: https:/
Replace stubs.Set with stub_out
Addressed by: https:/
Remove mox usage of versions, utils, wsgi
Addressed by: https:/
Convert nova.tests.
Addressed by: https:/
Use stub_out and mock to remove mox:part 3
Addressed by: https:/
Replace stubs.Set with stub_out (fakes)
Addressed by: https:/
Stop using mox stubs in nova.tests.
Addressed by: https:/
Stop using mox stubs in nova.tests.
Addressed by: https:/
change set_stubs to use stub_out in vmwareapi/stubs.py
Addressed by: https:/
Stop using mox stubs in nova.tests.
Addressed by: https:/
Not using mox stubs in nova.tests.
Addressed by: https:/
Remove almost all mox from tests/unit/
Addressed by: https:/
Replace stubs.Set with stub_out (db)
Addressed by: https:/
Replace stubs.Set with stub_out (os)
Addressed by: https:/
Replace stubs.Set with stub_out (utils)
Addressed by: https:/
Not using mox stubs in nova.tests.
Addressed by: https:/
Replace stubs.Set with stub_out (api)
Addressed by: https:/
Replace stubs.Set with stub_out (compute api)
Addressed by: https:/
Stop using mox (scheduler)
Addressed by: https:/
remove mox from vmwareapi/
Addressed by: https:/
Remove last instance of mox from unit/objects/
Addressed by: https:/
WIP - remove mox from vmwareapi/
Addressed by: https:/
not use mox for conductor/
Addressed by: https:/
Stop using stubs.Set in vmwareapi unit tests
Addressed by: https:/
Remove mox from tests/unit/
Addressed by: https:/
Remove mox from objects/
Addressed by: https:/
Remove mox from tests/unit/
Addressed by: https:/
Remove mox from tests/unit/
Addressed by: https:/
Remove mox from tests/unit/
Addressed by: https:/
not use mox for conductor.tasks
Addressed by: https:/
Remove mox used in test_server_
Now we have hit feature freeze, we should probably stop adding new patches for this BP, marking as NeedsCodeReview. --johnthetubaguy 2016.01.31
Addressed by: https:/
Simple mox removals from objects/
Marked as partially complete, while we finish up for mitaka and hit FF. --johnthetubaguy 2016.02.19
Continue this work for newton in https:/
Addressed by: https:/
Fix wrong patch of unittest in unit/test_
Addressed by: https:/
Replace mox.ContainsKey
Addressed by: https:/
Stop using mox stubs in nova.tests.
Work Items
Dependency tree
* Blueprints in grey have been implemented.