Unit tests mocks on sysinv conductor manager causing an infinite recursion

Bug #1932355 reported by Joao Soubihe
6
This bug affects 1 person
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_multiple_runtime_config test failing.

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://review.opendev.org/c/starlingx/config/+/795612

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://zuul.opendev.org/t/openstack/build/ff90914a490a45a195663000697dbbca

Test Activity
-------------
Developer Testing

Tags: stx.zuul
Revision history for this message
Joao Soubihe (jsoubihe) wrote :
Ghada Khalil (gkhalil)
tags: added: stx.zuul
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
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.