Unit tests mocks on sysinv conductor manager causing an infinite recursion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
Unit tests on py27 environment related to ManagerTestCase class are failing in tox tun by Zuul. As locally this is an intermittent error, this seems to be consistent in ubuntu-xenial tests triggered by Zuul after post review on Tox.
Severity
--------
Minor
Steps to Reproduce
------------------
With latest code from StarlingX master branch, try to add a unit test at ManagerTestCase class in test_manager.py test file and submit a review on Gerrit with tox py27 tests as a gate job.
Expected Behavior
------------------
Unit tests should pass successfully without errors
Actual Behavior
----------------
Recursion limit exceeded;
test_deferred_
Reproducibility
---------------
Reproducible intermittently running tox locally. When submitting review this issue is reproduced all the times that we try to add a new unit test to ManagerTestCase class.
Branch/Pull Time/Commit
-------
An experimental review I opened can be seen below
https:/
Last Pass
---------
Just remove any unit test on the class and the tests should pass.
Timestamp/Logs
--------------
Logs attached. We can also explore Zuul execution on the link below
https:/
Test Activity
-------------
Developer Testing
tags: | added: stx.zuul |
Changed in starlingx: | |
importance: | Undecided → Low |
status: | New → Triaged |